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
libvirtd_qemu.aug
MIGRATION.txt
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_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_conf.h
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
qemu_hostdev.c
qemu_hostdev.h
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_interface.c
qemu_interface.h
qemu_migration.c conf: Rename virDomainHasDiskMirror and detect block jobs properly 2015-04-02 10:37:47 +02:00
qemu_migration.h
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.conf
test_libvirtd_qemu.aug.in
THREADS.txt Fix common misspellings 2015-03-23 09:01:30 +01:00