[Libvirt-cim] [PATCH 0 of 3] Fix offline VCPU representation

Heidi Eckhart heidieck at linux.vnet.ibm.com
Wed Jan 9 09:32:13 UTC 2008


Dan Smith wrote:
> Currently, we cannot present information and instances for VCPUs when a
> domain is powered off, because virDomainGetInfo() does not work unless a
> domain is running.
>
> This set ultimately changes the vcpu bits in device_parsing to, that's right,
> actually *parse* the VCPU information from the XML like all the other devices,
> which gives us VCPU information for offline domains.
>
> To get there, I had to make the core of device_parsing a little more dyanmic
> so that the parsing modules could return mulitple devices for a given
> XML cycle, which vcpu needs.
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
>   
This is an excellent patch set ! I even wasn't able to see an instance 
of KVM_Processor with a running domain (because libvirt wasn't 
supporting it), but now I can !
This patch set gets a BIG +1 !

-- 
Regards

Heidi Eckhart
Software Engineer
IBM Linux Technology Center - Open Hypervisor




More information about the Libvirt-cim mailing list