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

Re: [Xen-devel] [PATCH 13/28] libxl: idl: add domain_type field to libxl_dominfo struct



On Tue, 2013-04-23 at 14:10 +0100, Rob Hoes wrote:
> > On Mon, 2013-03-25 at 14:45 +0000, Rob Hoes wrote:
> > > This allows a toolstack to find out whether a VM has booted as PV or
> > > HVM.
> > 
> > OOI why do you need to know? I'm wondering if there might be a better
> > higher level question to ask rather than PV vs HVM.
> 
> One reason is simply to report to the user what kind of VMs they have 
> running.

Does xapi/xenopsd not already track this in the DB?

>  Xenopsd also uses this information internally in some places, e.g.
> when inserting a CD, it uses libxl_cdrom_insert for HVMs, and does a
> normal VBD hotplug for PV.

xenopsd doesn't already know which to use?

I wonder if it is/was a mistake to not have libxl_cdrom_insert do the
obvious PV thing for PV guests.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.