[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] Change qemuSetSchedularParameters to use AFFECT_CURRENT



On 09/26/2012 05:17 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> 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 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

ACK

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]