[libvirt] [PATCH v3 1/4] introduce virDomainSetSchedulerParametersFlags

Eric Blake eblake at redhat.com
Thu May 26 20:02:22 UTC 2011


On 05/17/2011 08:34 PM, Hu Tao wrote:
> This causes problem when setting parameters for an inactive domain, with
> --current. In the case, the flags is 0, which fails flag-check in
> virDomainSetSchedulerParametersFlags. Maybe we should not check flags
> at this stage, and leave it for drivers.
> 
> The following patch removes the check:
> 
> 9eaceed112b3d8578f1cb0ae76eb47510f7342a Mon Sep 17 00:00:00 2001
> From: Hu Tao <hutao at cn.fujitsu.com>
> Date: Wed, 18 May 2011 10:29:41 +0800
> Subject: [PATCH] don't check flags in virDomainSetSchedulerParametersFlags
> 
> drivers implementing domainSetSchedulerParametersFlags should check
> flags themselves.
> ---
>  src/libvirt.c |    8 --------
>  1 files changed, 0 insertions(+), 8 deletions(-)

ACK and pushed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110526/2f2c62f5/attachment-0001.sig>


More information about the libvir-list mailing list