/openbmc/qemu/tests/qemu-iotests/ |
H A D | 300 | 6 # Tests for dirty bitmaps migration with node aliases 68 for name in ('dirty-bitmaps', 'events')] 127 'bitmaps': [{ 166 assert isinstance(node['bitmaps'], list) 167 for bitmap in node['bitmaps']: 261 Note that mapping nodes or bitmaps that do not exist is not an error. 269 'bitmaps': [{ 277 'bitmaps': [{ 292 'bitmaps': [ 314 'bitmaps': [{ [all …]
|
H A D | 257 | 231 bitmaps = drive.vm.query_bitmaps() 232 log({'bitmaps': bitmaps}, indent=2) 234 return bitmaps 258 - on-success: This is the "incremental" style mode. Bitmaps are 262 Bitmaps are never synchronized. 264 Bitmaps are always synchronized, regardless of failure. 344 bitmaps = perform_writes(drive0, 1) 346 bitmap = vm.get_bitmap(drive0.node, 'bitmap0', bitmaps=bitmaps) 362 bitmaps = perform_writes(drive0, 2, filter_node_name='backup-top') 365 bitmaps=bitmaps)) [all …]
|
H A D | 178.out.qcow2 | 40 bitmaps size: 0 49 bitmaps size: 0 58 bitmaps size: 0 66 bitmaps size: 0 74 bitmaps size: 0 80 bitmaps size: 0 86 bitmaps size: 0 97 bitmaps size: 0 184 "bitmaps": 0, 195 "bitmaps": 0, [all …]
|
H A D | 190.out | 2 == Huge file without bitmaps == 9 bitmaps size: 0 12 bitmaps size: 0 14 == Huge file with bitmaps == 28 bitmaps size: 537198592 32 "bitmaps": 545259520,
|
H A D | 246.out | 6 --- Adding bitmaps Small, Medium, Large, and Transient --- 16 --- Forcing flush of bitmaps to disk --- 19 "bitmaps": { 59 "bitmaps": { 96 "bitmaps": { 141 --- Forcing flush of bitmaps to disk --- 146 "bitmaps": { 205 --- Forcing flush of bitmaps to disk --- 210 "bitmaps": { 255 --- Removing all Bitmaps --- [all …]
|
H A D | 236.out | 4 --- Adding preliminary bitmaps A & B --- 22 "bitmaps": { 86 "bitmaps": { 188 "bitmaps": { 235 "bitmaps": [ 258 "bitmaps": { 305 "bitmaps": [ 321 "bitmaps": { 359 --- Removing bitmaps A, B, C, and D --- 373 "bitmaps": {
|
H A D | 242.out | 39 bitmaps: 48 The same bitmaps in JSON format: 73 bitmaps: 87 The same bitmaps in JSON format: 115 bitmaps: 131 The same bitmaps in JSON format: 166 bitmaps:
|
H A D | 246 | 34 return { "bitmaps": { device['device']: device.get('inserted', {}) 35 .get('dirty-bitmaps', []) for 49 log('\n--- Adding bitmaps Small, Medium, Large, and Transient ---\n') 59 log('--- Forcing flush of bitmaps to disk ---\n') 77 log('--- Forcing flush of bitmaps to disk ---\n') 100 log('--- Forcing flush of bitmaps to disk ---\n') 108 log('--- Removing all Bitmaps ---\n')
|
H A D | 254 | 54 'bitmaps': [{'node': 'base', 'name': 'bitmap0'}]}}, 61 'bitmaps': [{'node': 'base', 'name': 'bitmap1'}]}}, 69 'bitmaps': [{'node': 'base', 'name': 'bitmap2'}]}}, 75 log("query-block: device = {}, node-name = {}, dirty-bitmaps:".format( 77 log(result['inserted']['dirty-bitmaps'], indent=2) 80 ['data']['bitmaps'], indent=2)
|
H A D | 257.out | 20 "bitmaps": {} 53 "bitmaps": { 108 "bitmaps": { 163 "bitmaps": { 191 "bitmaps": { 239 "bitmaps": { 261 "bitmaps": {} 289 "bitmaps": {} 322 "bitmaps": { 370 "bitmaps": { [all …]
|
H A D | 254.out | 28 "bitmaps": [ 49 "bitmaps": [ 70 "bitmaps": [ 94 query-block: device = drive0, node-name = snap, dirty-bitmaps: 122 bitmaps in backing image:
|
H A D | 190 | 45 # compat=0.10 does not support bitmaps 48 echo "== Huge file without bitmaps ==" 58 echo "== Huge file with bitmaps ==" 68 # No bitmap output, since no bitmaps on raw source. Munge required size, as 75 # Compute expected output: bitmap clusters + bitmap tables + bitmaps directory 88 # Compute expected output: bitmap clusters + bitmap tables + bitmaps directory
|
H A D | 242 | 43 if 'bitmaps' in result['format-specific']['data']: 44 bitmaps = result['format-specific']['data']['bitmaps'] 45 log('The same bitmaps in JSON format:') 46 log(bitmaps, indent=2)
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | qemu-img-bitmaps | 45 # compat=0.10 does not support bitmaps 49 # output (we only want the bitmaps, basically) 65 # Create initial image and populate two bitmaps: one active, one inactive. 84 $QEMU_IMG convert --bitmaps -O raw "$TEST_IMG.orig" "$TEST_IMG" && 91 # Only bitmaps from the active layer are copied 92 $QEMU_IMG convert --bitmaps -O qcow2 "$TEST_IMG.orig" "$TEST_IMG" 94 # But we can also merge in bitmaps from other layers. This test is a bit 118 # x-dirty-bitmap is a hack for reading bitmaps; it abuses block status to 143 # Proof that we fail fast if bitmaps can't be copied 145 $QEMU_IMG convert --bitmaps -O qcow2 "$TEST_IMG" "$TEST_IMG.copy" && [all …]
|
H A D | migrate-bitmaps-postcopy-test | 4 # Tests for dirty bitmaps postcopy migration. 73 assert 'dirty-bitmaps' not in info 75 assert len(info['dirty-bitmaps']) == count 140 # other bitmaps 151 # Now, enable some bitmaps, to be updated during migration 156 caps = [{'capability': 'dirty-bitmaps', 'state': True}, 175 # enabled bitmaps should be updated 194 # check that there are no bitmaps stored on source 200 # check that bitmaps are migrated and persistence works 204 # loading bitmaps from disk [all …]
|
H A D | qemu-img-close-errors.out | 3 === Test with 6 bitmaps === 9 qemu-img: Lost persistent bitmaps during inactivation of node 'NODE_NAME': Failed to write bitmap '… 11 qemu-img: Lost persistent bitmaps during inactivation of node 'NODE_NAME': Failed to write bitmap '… 14 === Test with 7 bitmaps === 17 qemu-img: Lost persistent bitmaps during inactivation of node 'NODE_NAME': Failed to write bitmap '… 18 qemu-img: Lost persistent bitmaps during inactivation of node 'NODE_NAME': Failed to write bitmap '…
|
H A D | qemu-img-bitmaps.out | 1 QA output created by qemu-img-bitmaps 20 qemu-img: Format driver 'raw' does not support bitmaps 29 bitmaps: 45 bitmaps: 70 bitmaps: 91 bitmaps: 128 bitmaps: 148 Try --skip-broken-bitmaps, or use 'qemu-img bitmap --remove' to delete it 158 bitmaps: 171 bitmaps:
|
/openbmc/linux/fs/reiserfs/ |
H A D | resize.c | 83 /* resizing of reiserfs bitmaps (journal and real), if needed */ in reiserfs_resize() 85 /* reallocate journal bitmaps */ in reiserfs_resize() 88 ("reiserfs_resize: unable to allocate memory for journal bitmaps\n"); in reiserfs_resize() 92 * the new journal bitmaps are zero filled, now we copy i in reiserfs_resize() 106 memcpy(jbitmap[i].bitmaps, jb->bitmaps, copy_size); in reiserfs_resize() 113 node_tmp = jb->bitmaps; in reiserfs_resize() 114 jb->bitmaps = jbitmap[i].bitmaps; in reiserfs_resize() 127 * Journal bitmaps are still supersized, but the in reiserfs_resize() 139 * journal transaction begins, and the new bitmaps don't in reiserfs_resize() 175 * incorrect bitmaps now, but none of it is ever going to touch the in reiserfs_resize()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | memstress.c | 350 void memstress_get_dirty_log(struct kvm_vm *vm, unsigned long *bitmaps[], int slots) in memstress_get_dirty_log() argument 357 kvm_vm_get_dirty_log(vm, slot, bitmaps[i]); in memstress_get_dirty_log() 361 void memstress_clear_dirty_log(struct kvm_vm *vm, unsigned long *bitmaps[], in memstress_clear_dirty_log() argument 369 kvm_vm_clear_dirty_log(vm, slot, bitmaps[i], 0, pages_per_slot); in memstress_clear_dirty_log() 375 unsigned long **bitmaps; in memstress_alloc_bitmaps() local 378 bitmaps = malloc(slots * sizeof(bitmaps[0])); in memstress_alloc_bitmaps() 379 TEST_ASSERT(bitmaps, "Failed to allocate bitmaps array."); in memstress_alloc_bitmaps() 382 bitmaps[i] = bitmap_zalloc(pages_per_slot); in memstress_alloc_bitmaps() 383 TEST_ASSERT(bitmaps[i], "Failed to allocate slot bitmap."); in memstress_alloc_bitmaps() 386 return bitmaps; in memstress_alloc_bitmaps() [all …]
|
/openbmc/qemu/docs/interop/ |
H A D | bitmaps.rst | 9 Dirty Bitmaps and Incremental Backup 12 Dirty Bitmaps are in-memory objects that track writes to block devices. They 29 Bitmaps are bit vectors where each '1' bit in the vector indicates a modified 46 QEMU uses these bitmaps when making incremental backups to know which sections 50 Bitmaps can be created at any time and can be attached to any arbitrary block 59 QEMU supports persisting these bitmaps to disk via the qcow2 image format. 60 Bitmaps which are stored or loaded in this way are called "persistent", 61 whereas bitmaps that are not are called "transient". 63 QEMU also supports the migration of both transient bitmaps (tracking any 64 arbitrary image format) or persistent bitmaps (qcow2) via live migration. [all …]
|
H A D | qcow2.txt | 146 Bit 0: Bitmaps extension bit 147 This bit indicates consistency for the bitmaps 151 bitmaps extension present. 153 If the bitmaps extension is present but this 154 bit is unset, the bitmaps extension data must be 249 0x23852875 - Bitmaps extension 305 == Bitmaps extension == 307 The bitmaps extension is an optional header extension. It provides the ability 308 to store bitmaps related to a virtual disk. For now, there is only one bitmap 315 The fields of the bitmaps extension are: [all …]
|
/openbmc/linux/Documentation/filesystems/ext4/ |
H A D | blockgroup.rst | 46 of the block bitmaps to allow for future expansion of the filesystem. By 56 present, will be at the beginning of the block group. The bitmaps and 58 bitmaps to come after the inode table, or for both to be in different 68 first block group of the flex_bg are expanded to include the bitmaps 71 superblock, group descriptors, data block bitmaps for groups 0-3, inode 72 bitmaps for groups 0-3, inode tables for groups 0-3, and the remaining 117 block and inode bitmaps. 125 that the inode and block bitmaps for that group can be calculated and 132 By not writing zeroes to the bitmaps and inode table, mkfs time is
|
H A D | bitmaps.rst | 3 Block and inode Bitmaps 11 As with most bitmaps, one bit represents the usage status of one data 19 the bitmaps and group descriptor live inside the group. Unfortunately,
|
/openbmc/linux/net/sched/ |
H A D | sch_qfq.c | 86 for the scheduler: bitmaps and bucket lists. 121 * Possible group states. These values are used as indexes for the bitmaps 188 unsigned long bitmaps[QFQ_MAX_STATE]; /* Group bitmaps. */ member 190 u32 min_slot_shift; /* Index of the group-0 bit in the bitmaps. */ 753 unsigned long mask = mask_from(q->bitmaps[ER], grp->index); in qfq_calc_state() 768 * q->bitmaps[dst] |= q->bitmaps[src] & mask; 769 * q->bitmaps[src] &= ~mask; 775 q->bitmaps[dst] |= q->bitmaps[src] & mask; in qfq_move_groups() 776 q->bitmaps[src] &= ~mask; in qfq_move_groups() 781 unsigned long mask = mask_from(q->bitmaps[ER], index + 1); in qfq_unblock_groups() [all …]
|
/openbmc/qemu/migration/ |
H A D | block-dirty-bitmap.c | 21 * Here postcopy migration of dirty bitmaps is realized. Only QMP-addressable 22 * bitmaps are migrated. 162 * bitmaps or nodes. 166 GSList *bitmaps; member 167 QemuMutex lock; /* protect bitmaps */ 284 for (bmbal = bmna->bitmaps; bmbal; bmbal = bmbal->next) { in construct_alias_map() 516 /* Skip bitmaps on nodes with no alias */ in add_bitmaps_to_list() 550 /* Skip bitmaps with no alias */ in add_bitmaps_to_list() 637 /* Skip filters without bitmaps */ in init_dirty_bitmap_migration() 855 s->bitmaps = g_slist_prepend(s->bitmaps, b); in dirty_bitmap_load_start() [all …]
|