From: "Jan Beulich" Subject: Re: [HYBRID]: status update... Date: Wed, 15 Aug 2012 09:19:40 +0100 Message-ID: <502B77BC0200007800094FF2@nat28.tlf.novell.com> References: <20120626181707.4203d336@mantra.us.oracle.com> <20120801153439.3f81c923@mantra.us.oracle.com> <501A4E0C.1090509@eu.citrix.com> <20120813151446.22ae85b5@mantra.us.oracle.com> <20120814103827.7dcf55f1@mantra.us.oracle.com> <20120814105157.044a755e@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120814105157.044a755e@mantra.us.oracle.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Mukesh Rathor Cc: George Dunlap , "Xen-devel@lists.xensource.com" , Keir Fraser , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org >>> On 14.08.12 at 19:51, Mukesh Rathor 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. The main point of the change was to shrink the size of struct vcpu (which is required to fit into a page, which you will need to make sure continues to be the case even with all sorts of debugging options turned on). Jan