]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Change qemuSetSchedularParameters to use AFFECT_CURRENT
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 26 Sep 2012 11:14:42 +0000 (12:14 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 10 Oct 2012 13:20:37 +0000 (14:20 +0100)
commit4da9b2c1636ffcebbbaee8d31662ac7308b4e54f
tree0a1a0ecc0ac5610ef3f0ad048b6fec8956de06d0
parentfcfa4bfb1660cdb083aa61e366ddc8e91a53e3ed
Change qemuSetSchedularParameters to use AFFECT_CURRENT

When adding variants of parameter setting APIs which accepted
flags, the existing APIs were all adapted internally to pass
VIR_DOMAIN_AFFECT_CURRENT to the new API. The QEMU impl
qemuSetSchedularParameters was an exception, which instead
used VIR_DOMAIN_AFFECT_LIVE. Change this to match other
compatibility scenarios, so that calling

   virDomainSetSchedularParameters(dom, params, nparams);

Has the same semantics as

   virDomainSetSchedularParametersFlags(dom, params, nparams, 0);

And

   virDomainSetSchedularParametersFlags(dom, params, nparams, VIR_DOMAIN_AFFECT_CURRENT);

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/qemu/qemu_driver.c