[PATCH 0/3] qemu: Fix formatting of (some) unsigned long long values to JSON (blockdev-add saga)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Currently, libvirt would regress to computer-middle-ages by not being
able to use more than 4GiB images for snapshots without corrupting data.

Fix it by using the proper formatting modifier.

Peter Krempa (3):
  qemu: block: Use correct type when creating image size JSON entries
  tests: qemublock: Use bigger numbers as dummy capacity/physical
  qemu: monitor: Fix formatting of 'offset' in qemuMonitorJSONSaveMemory

 src/qemu/qemu_block.c                                | 12 ++++++------
 src/qemu/qemu_monitor_json.c                         |  2 +-
 tests/qemublocktest.c                                |  4 ++--
 .../qemublocktestdata/imagecreate/luks-encopts.json  |  4 ++--
 tests/qemublocktestdata/imagecreate/luks-noopts.json |  4 ++--
 .../imagecreate/network-gluster-qcow2.json           |  4 ++--
 .../imagecreate/network-rbd-qcow2.json               |  4 ++--
 .../imagecreate/network-sheepdog-qcow2.json          |  4 ++--
 .../imagecreate/network-ssh-qcow2.json               |  4 ++--
 .../imagecreate/qcow2-backing-luks.json              |  4 ++--
 .../imagecreate/qcow2-backing-raw-nbd.json           |  4 ++--
 .../imagecreate/qcow2-backing-raw.json               |  4 ++--
 .../imagecreate/qcow2-luks-encopts-backing.json      |  4 ++--
 .../imagecreate/qcow2-luks-encopts.json              |  4 ++--
 .../imagecreate/qcow2-luks-noopts.json               |  4 ++--
 tests/qemublocktestdata/imagecreate/qcow2.json       |  4 ++--
 tests/qemublocktestdata/imagecreate/raw.json         |  2 +-
 17 files changed, 36 insertions(+), 36 deletions(-)

-- 
2.21.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux