libvirt/src/qemu
Luyao Huang 20aca080f3 qemuDomainBlockCopy: Check @granularity to be a power of two
https://bugzilla.redhat.com/show_bug.cgi?id=1206479

As described in virDomainBlockCopy() parameters description, the
VIR_DOMAIN_BLOCK_COPY_GRANULARITY parameter may require the value to
have some specific attributes (e.g. be a power of two or fall within a
certain range). And in qemu, a power of two is required. However, our
code does not check that and let qemu operation fail. Moreover, the
virsh man page is not as exact as it could be in this respect.

Signed-off-by: Luyao Huang <lhuang@redhat.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2015-04-02 11:12:01 +02:00
..
EVENTHANDLERS.txt qemu: add short document on qemu event handlers 2014-10-06 13:50:57 -04:00
libvirtd_qemu.aug qemu: Automatically create NVRAM store 2014-09-10 09:38:07 +02:00
MIGRATION.txt qemu: Implement migration job phases 2011-07-27 08:45:09 -06:00
qemu_agent.c qemu: lifecycle: make agent-mode shutdown and reboot timeout 2015-04-02 11:08:48 +02:00
qemu_agent.h domifaddr: Implement the API for qemu 2015-03-17 15:15:38 +00:00
qemu_capabilities.c Fix common misspellings 2015-03-23 09:01:30 +01:00
qemu_capabilities.h qemu: caps: Add capability bit for the "pc-dimm" device 2015-02-20 19:25:09 +01:00
qemu_cgroup.c qemu: cgroup: Kill qemuSetupCgroupVcpuPin() 2015-04-02 10:12:08 +02:00
qemu_cgroup.h qemu: cgroup: Kill qemuSetupCgroupVcpuPin() 2015-04-02 10:12:08 +02:00
qemu_command.c qemu: command: Fix property name for start address of a pc-dimm module 2015-03-26 09:22:21 +01:00
qemu_command.h qemu: Implement memory device hotplug 2015-03-23 14:31:30 +01:00
qemu_conf.c qemu: Fix AAVMF/OVMF #define names 2015-02-21 14:44:46 -05:00
qemu_conf.h qemu: fix crash with shared disks 2014-09-18 09:05:21 +02:00
qemu_domain.c qemu: cgroup: Store auto cpuset instead of re-creating it on demand 2015-04-02 10:12:08 +02:00
qemu_domain.h qemu: cgroup: Store auto cpuset instead of re-creating it on demand 2015-04-02 10:12:08 +02:00
qemu_driver.c qemuDomainBlockCopy: Check @granularity to be a power of two 2015-04-02 11:12:01 +02: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: Implement memory device hotunplug 2015-03-23 14:41:14 +01:00
qemu_hotplug.h qemu: Implement memory device hotunplug 2015-03-23 14:41:14 +01:00
qemu_hotplugpriv.h qemu: Let tests override waiting time for device unplug 2013-08-26 16:09:55 +02:00
qemu_interface.c qemu: add/remove bridge fdb entries as guest CPUs are started/stopped 2014-12-15 10:07:06 -05:00
qemu_interface.h qemu: add a qemuInterfaceStopDevices(), called when guest CPUs stop 2014-12-13 22:20:28 -05:00
qemu_migration.c conf: Rename virDomainHasDiskMirror and detect block jobs properly 2015-04-02 10:37:47 +02:00
qemu_migration.h qemu: completely rework reference counting 2014-12-21 10:48:56 +01:00
qemu_monitor_json.c Rename qemuMonitorIOThreadsInfo* to qemuMonitorIOThreadInfo* 2015-03-26 16:11:10 +01:00
qemu_monitor_json.h Rename qemuMonitorIOThreadsInfo* to qemuMonitorIOThreadInfo* 2015-03-26 16:11:10 +01:00
qemu_monitor_text.c Remove unused macros 2015-04-02 10:27:56 +02:00
qemu_monitor_text.h qemu: monitor: Kill qemuMonitorGetBlockStats(Info,ParamsNumber) 2015-03-11 11:28:04 +01:00
qemu_monitor.c Rename qemuMonitorIOThreadsInfo* to qemuMonitorIOThreadInfo* 2015-03-26 16:11:10 +01:00
qemu_monitor.h Rename qemuMonitorIOThreadsInfo* to qemuMonitorIOThreadInfo* 2015-03-26 16:11:10 +01:00
qemu_process.c qemu: cgroup: Use priv->autoCpuset instead of using qemuPrepareCpumap() 2015-04-02 10:12:08 +02:00
qemu_process.h qemu: cgroup: Use priv->autoCpuset instead of using qemuPrepareCpumap() 2015-04-02 10:12:08 +02:00
qemu_processpriv.h qemu: Export qemuProcessHandleDeviceDeleted for tests 2013-08-26 16:09:55 +02:00
qemu.conf qemu: Add AAVMF to the list of known UEFIs 2015-01-29 15:20:47 +01:00
test_libvirtd_qemu.aug.in qemu: Add AAVMF to the list of known UEFIs 2015-01-29 15:20:47 +01:00
THREADS.txt Fix common misspellings 2015-03-23 09:01:30 +01:00