WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 0 of 5] PV on HVM Xen

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0 of 5] PV on HVM Xen
From: Sheng Yang <sheng@xxxxxxxxxxxxxxx>
Date: Wed, 17 Mar 2010 17:38:37 +0800
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 17 Mar 2010 02:41:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1003151135220.28944@kaball-desktop>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Intel Opensource Technology Center
References: <alpine.DEB.2.00.1003101457100.28412@kaball-desktop> <201003151629.12994.sheng@xxxxxxxxxxxxxxx> <alpine.DEB.2.00.1003151135220.28944@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.12.2 (Linux/2.6.31-20-generic; KDE/4.3.2; x86_64; ; )
On Monday 15 March 2010 20:22:23 Stefano Stabellini wrote:
> On Mon, 15 Mar 2010, Sheng Yang wrote:
> > Hi Stefano
> >
> > I've checked your patches. And one point puzzled me(I am looking into
> > pv_ops dom0 code): seems if it depends on PIRQ, it would still require to
> > do EOI(then result in vmexit) for edge triggered interrupt? (through
> > xen_pirq_chip->end). And unmask is still a heavy work required
> > vmexit?(seems it need twice vmexit, even heavier than current HVM
> > solution)
> 
> Only when pirq_needs_eoi(irq) returns true, and this happens when
> PIRQ_NEEDS_EOI is set.
> In my patch series I am making sure PIRQ_NEEDS_EOI is never set for any
> pirq on HVM.
> 
OK.

I would like to work on the PIRQ porting upstream Linux(I would try ACPI but 
not sure if it would make code much more complex, e.g. cpu hotplug, PCI 
hotplug... A simple version would be just using PIRQ instead of VIRQ in my 
patches, but PIRQ is flexible, I would see if I can do more with it). And we 
may not get a version exactly the same as pv_ops dom0 code in the end... I 
would try to make them similar and make the HVM part small enough, then reduce 
Jeremy's maintain effort.

-- 
regards
Yang, Sheng

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>