[libvirt] [PATCH v2] Fix blkdeviotune for shutoff domain

2013-05-24 Thread Martin Kletzander
Function qemuDomainSetBlockIoTune() was checking QEMU capabilities even when !(flags VIR_DOMAIN_AFFECT_LIVE) and the domain was shutoff, resulting in the following problem: virsh # domstate asdf; blkdeviotune asdf vda --write-bytes-sec 100 shut off error: Unable to change block I/O throttle

Re: [libvirt] [PATCH v2] Fix blkdeviotune for shutoff domain

2013-05-24 Thread Jiri Denemark
On Fri, May 24, 2013 at 11:57:32 +0200, Martin Kletzander wrote: Function qemuDomainSetBlockIoTune() was checking QEMU capabilities even when !(flags VIR_DOMAIN_AFFECT_LIVE) and the domain was shutoff, resulting in the following problem: virsh # domstate asdf; blkdeviotune asdf vda

Re: [libvirt] [PATCH v2] Fix blkdeviotune for shutoff domain

2013-05-24 Thread Martin Kletzander
On 05/24/2013 01:14 PM, Jiri Denemark wrote: On Fri, May 24, 2013 at 11:57:32 +0200, Martin Kletzander wrote: Function qemuDomainSetBlockIoTune() was checking QEMU capabilities even when !(flags VIR_DOMAIN_AFFECT_LIVE) and the domain was shutoff, resulting in the following problem: virsh #