[libvirt] [RFC] exporting KVM host power saving capabilities through libvirt

Vaidyanathan Srinivasan svaidy at linux.vnet.ibm.com
Mon Jul 4 16:35:21 UTC 2011


* Dave Allan <dallan at redhat.com> [2011-07-01 16:56:29]:

 
> > libvirt has virConnectGetCapabilities() that would export an XML file
> > describing the capabilities of the host platform and guest features.
> > 
> > KVM hypervisor's capability to support S3 can be exported as a host
> > feature in the XML as follows:
> > 
> > <host>
> >     <uuid>94a3492f-2635-2491-8c87-8de976fad119</uuid>
> >     <cpu>
> >       <arch>x86_64</arch>
> >       <features>        <<<=== New host feature fields
> >         <S3/>
> >         <S4/>
> >       </features>
> 
> Just my $.02, but calling it <features> seems to be confusingly close
> to the existing <feature> tag.  Maybe <power_management> ?

Yes, I am open to naming the tag power_management.  Any other similar
attributes that could be included here in future? Would calling it
power_management be very restrictive?

--Vaidy




More information about the libvir-list mailing list