diff options
Diffstat (limited to 'results/classifier/accel-gemma3:12b/kvm/1460')
| -rw-r--r-- | results/classifier/accel-gemma3:12b/kvm/1460 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/results/classifier/accel-gemma3:12b/kvm/1460 b/results/classifier/accel-gemma3:12b/kvm/1460 new file mode 100644 index 00000000..dcf6aea3 --- /dev/null +++ b/results/classifier/accel-gemma3:12b/kvm/1460 @@ -0,0 +1,6 @@ + +block_load fails if last block is included in snapshot and block device isn't multiple of BLK_MIG_BLOCK_SIZE +Description of problem: +The `block_load` function in `migration/block.c` has a bug where `blk_pwrite` or `blk_pwrite_zeroes` always write `cluster_size` bytes. If the underlying device is not a multiple of `BLK_MIG_BLOCK_SIZE`, the write will fail with -EIO when trying to write past the end of the device, as `blk_check_byte_request` checks the length of the device. + +This can be fixed by ensuring that `cur_addr` + write length passed to `blk_pwrite`/`blk_pwrite_zeroes` never exceeds the total length of the block device. |