[libvirt] [PATCH] Add missing checks for QEMU domain state in tunables APIs

Daniel Veillard veillard at redhat.com
Tue Mar 29 10:52:10 UTC 2011


On Tue, Mar 29, 2011 at 11:03:21AM +0100, Daniel P. Berrange wrote:
> The methods qemuDomain{Get,Set}{Memory,Blkio,Scheduler}Parameters
> all forgot to do a check on virDomainIsActive(), resulting in bogus
> error messages from later parts of their impl
> 
> * src/qemu/qemu_driver.c: Add missing checks on virDomainIsActive()

  ACK, though we could imagine some of those settings could
be made persistent.

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list