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

Re: [Xen-devel] [HYBRID]: status update...



On Tue, 14 Aug 2012 18:42:54 +0100
Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> wrote:

> On Tue, 14 Aug 2012, Mukesh Rathor wrote:
> > On Tue, 14 Aug 2012 11:44:44 +0100
> > Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> wrote:
> > 
> > > On Mon, 13 Aug 2012, Mukesh Rathor wrote:
> > > > Ok, I changed all code references from xen_hybrid_domain to
> > > > xen_pvh_domain in linux. Changing xen code too. So it's PVH now.
> > > 
> > > What would xen_pv_domain() and xen_hvm_domain() return in an
> > > hybrid guest?
> > 
> > xen_pv_domain() == TRUE
> > xen_hvm_domain() == FALSE
> > 
> 
> good, just as I expected :)

BTW, being a good hybrid as it is, it uses fields from both pv_domain
and hvm_domain structs. Combining into a union created difficulties for
me. I experimented creating a new struct, hyb_domain, or adding hvm
related fields to pv_domain struct for hybrid, but both involved way too
much code change. So back to having them separated again. LMK if there
any objections undoing the union.

thanks,
Mukesh

_______________________________________________
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®.