[libvirt] [PATCH] make virDomainGetMaxVcpus work on inactive domains

Jim Fehlig jfehlig at suse.com
Tue Feb 25 00:56:16 UTC 2014


Claudio Bley wrote:
> At Thu, 20 Feb 2014 12:19:35 -0700,
> Jim Fehlig wrote:
>   
>> Claudio Bley wrote:
>>     
>>> Signed-off-by: Claudio Bley <cbley at av-test.de>
>>> ---
>>> OK, how about this patch?
>>>
>>> While at it, should I convert the VIR_DOMAIN_VCPU_* instances to
>>> VIR_DOMAIN_AFFECT_* instances for consistency?
>>>
>>>  src/esx/esx_driver.c       |    2 +-
>>>  src/openvz/openvz_driver.c |    2 +-
>>>  src/phyp/phyp_driver.c     |    2 +-
>>>  src/qemu/qemu_driver.c     |    2 +-
>>>  src/test/test_driver.c     |    2 +-
>>>  src/vbox/vbox_tmpl.c       |    2 +-
>>>  src/xen/xen_driver.c       |    2 +-
>>>  src/xenapi/xenapi_driver.c |    2 +-
>>>   
>>>       
>> I think the libxl driver should be included here too.
>>     
>
> Seems the libxl driver does not implement the virDomainGetMaxVcpus
> function.
>   

Opps, you are right.  The libxl driver only has domainGetVcpus.  Sorry
for the noise.

Regards,
Jim




More information about the libvir-list mailing list