libvirt/src/qemu
John Ferlan e3d66229a1 qemu: Adjust size for qcow2/qed if not on sector boundary
https://bugzilla.redhat.com/show_bug.cgi?id=1002813

If qemuDomainBlockResize() is passed a size not on a KiB boundary - that
is passed a size based in bytes (VIR_DOMAIN_BLOCK_RESIZE_BYTES), then
depending on the source format (qcow2 or qed), the value passed must
be on a sector (or 512 byte) boundary. Since other libvirt code quietly
adjusts the capacity values, then do so here as well - of course ensuring
that adjustment still fits.

Signed-off-by: John Ferlan <jferlan@redhat.com>
2014-05-07 07:25:16 -04:00
..
libvirtd_qemu.aug Add support for timestamping QEMU logs 2014-05-07 10:27:50 +02:00
MIGRATION.txt
qemu_agent.c qemu: make sure agent returns error when required data are missing 2014-04-03 09:43:25 +02:00
qemu_agent.h qemu_agent: Move updater function for VCPU hotplug into qemu_agent.c 2013-07-31 14:25:43 +02:00
qemu_capabilities.c Add support for timestamping QEMU logs 2014-05-07 10:27:50 +02:00
qemu_capabilities.h Add support for timestamping QEMU logs 2014-05-07 10:27:50 +02:00
qemu_cgroup.c Fix typos in src/* 2014-04-21 16:49:08 -06:00
qemu_cgroup.h Auto-detect existing cgroup placement 2013-07-23 22:46:31 +01:00
qemu_command.c Add support for timestamping QEMU logs 2014-05-07 10:27:50 +02:00
qemu_command.h qemu: specify domain in host-side PCI addresses when needed/supported 2014-05-06 14:34:56 +03:00
qemu_conf.c Add support for timestamping QEMU logs 2014-05-07 10:27:50 +02:00
qemu_conf.h Add support for timestamping QEMU logs 2014-05-07 10:27:50 +02:00
qemu_domain.c qemu: track quiesced status in qemuDomainSnapshotFSFreeze 2014-05-06 21:50:53 -06:00
qemu_domain.h qemu: track quiesced status in qemuDomainSnapshotFSFreeze 2014-05-06 21:50:53 -06:00
qemu_driver.c qemu: Adjust size for qcow2/qed if not on sector boundary 2014-05-07 07:25:16 -04:00
qemu_driver.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
qemu_hostdev.c drivers: use virDirRead API 2014-04-28 17:52:45 -06:00
qemu_hostdev.h Capitalize USB, PCI and SCSI in hostdev methods 2014-03-12 16:20:01 +00:00
qemu_hotplug.c qemu: specify domain in host-side PCI addresses when needed/supported 2014-05-06 14:34:56 +03:00
qemu_hotplug.h qemu: hotplug: Mark 2 private functions as static 2013-12-05 15:34:54 -05:00
qemu_hotplugpriv.h qemu: Let tests override waiting time for device unplug 2013-08-26 16:09:55 +02:00
qemu_migration.c Add support for QEMU migration to use SASL authentication 2014-04-30 14:07:53 +01:00
qemu_migration.h libvirt support to force convergence of live guest migration 2014-03-21 14:17:15 +01:00
qemu_monitor_json.c bhyve: add console support through nmdm device 2014-04-05 19:12:18 +04:00
qemu_monitor_json.h qemu: add support for virDomainCoreDumpWithFormat API 2014-03-24 14:14:14 -06:00
qemu_monitor_text.c qemu: specify domain in host-side PCI addresses when needed/supported 2014-05-06 14:34:56 +03:00
qemu_monitor_text.h qemu: Use bool instead of int in qemuMonitorSetCPU APIs 2013-06-07 15:57:03 +02:00
qemu_monitor.c qemu: Avoid overflow when setting migration speed 2014-04-14 13:42:48 +02:00
qemu_monitor.h qemu: add support for virDomainCoreDumpWithFormat API 2014-03-24 14:14:14 -06:00
qemu_process.c util: use typedefs for enums in "src/util/" directory 2014-05-05 14:30:01 -06:00
qemu_process.h util: use typedefs for enums in "src/util/" directory 2014-05-05 14:30:01 -06:00
qemu_processpriv.h qemu: Export qemuProcessHandleDeviceDeleted for tests 2013-08-26 16:09:55 +02:00
qemu.conf Add support for timestamping QEMU logs 2014-05-07 10:27:50 +02:00
test_libvirtd_qemu.aug.in Add support for timestamping QEMU logs 2014-05-07 10:27:50 +02:00
THREADS.txt Remove qemuDriverLock from almost everywhere 2013-02-13 11:10:30 +00:00