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

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



On Mon, Jul 04, 2011 at 10:05:21PM +0530, Vaidyanathan Srinivasan wrote:
> * Dave Allan <dallan 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?

Urgh, busy week, sorry to be slow responding; I'd expect there will be
other features you'd want to describe, but they can have their own
tags.

Dave


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