* Dave Allan <dallan@xxxxxxxxxx> [2011-07-08 17:22:53]: > On Mon, Jul 04, 2011 at 10:05:21PM +0530, Vaidyanathan Srinivasan wrote: > > * Dave Allan <dallan@xxxxxxxxxx> [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. Sounds good. Let me add a <power_management> tag within host and perhaps outside of <cpu> since this is system attribute and not a CPU attribute. --Vaidy -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list