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

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



>>> On 15.08.12 at 11:42, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> On Wed, 2012-08-15 at 09:19 +0100, Jan Beulich wrote:
>> >>> On 14.08.12 at 19:51, Mukesh Rathor <mukesh.rathor@xxxxxxxxxx> wrote:
>> > 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.
>> 
>> I suppose there are going to be fields that are used exclusively
>> for PV or HVM, and if so I'd like them to be retained as a union
>> as far as possible.
> 
> I guess there will be some subset of fields which will be specific to
> the use of VT-d/SVM generally but not specifically to the emulation of a
> full PC ("HVM") or hybrid mode. I don't know what proportion that would
> be but it might be worth splitting along those lines, e.g. pull HW state
> out into its own sub-struct and have a union of the true pv-, hvm- and
> pvh-only fields?

Yes.

Jan


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