From: Mukesh Rathor Subject: Re: Patches for v3.8 Date: Thu, 29 Nov 2012 18:38:45 -0800 Message-ID: <20121129183845.09589b87@mantra.us.oracle.com> References: <20121127213143.GB13890@phenom.dumpdata.com> <50B5D83402000078000ABFF1@nat28.tlf.novell.com> <20121128175039.62112c96@mantra.us.oracle.com> <50B71CB202000078000AC5D1@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <50B71CB202000078000AC5D1@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Konrad Rzeszutek Wilk , xen-devel List-Id: xen-devel@lists.xenproject.org On Thu, 29 Nov 2012 07:28:34 +0000 "Jan Beulich" wrote: > >>> On 29.11.12 at 02:50, Mukesh Rathor > >>> wrote: > > On Wed, 28 Nov 2012 08:24:04 +0000 > > "Jan Beulich" wrote: > > > >> >>> On 27.11.12 at 22:31, Konrad Rzeszutek Wilk > >> >>> wrote: > >> > Mukesh Rathor (6): > >> > xen/pvh: Support ParaVirtualized Hardware extensions. > >> > xen/pvh: Extend vcpu_guest_context, p2m, event, and XenBus. > >> > xen/pvh: Implement MMU changes for PVH. > >> > xen/pvh: bootup and setup (E820) related changes. > >> > xen/pvh: balloon and grant changes. > >> > xen/pvh: /dev/xen/privcmd changes. > >> > >> As said before - I don't think it is a good idea to push the kernel > >> side changes into an official release when the hypervisor side ones > >> didn't even get an initial review yet. > > > > On the xen patch side, I've refrshed my tree. I realized I had > > undone the union of pv_domain and hvm_domain since I used fields > > from both. I'm now redoing that to make that a union and add a > > struct in hvm_domain for fields from pv_domain that are used by > > PVH. > > Perhaps better to move out of the union just the shared fields? > Well, not sure which is better. Those fields are not many, and only used by PVH and not HVM. So, for now I just put it part of hvm_vcpu. That way it's less confusing and obvious to anyone reading the code or debugging. BTW, earlier I meant pv/hvm_vcpu and not pv/hvm_domain. If it makes struct size smaller I could create pv_pvh_vcpu {} and put those fields there, but that involves lot of unnecessary code changes. thanks mukesh