From: Mark Williamson Subject: Re: FW: about VIRQ & PIRQ Date: Thu, 7 Jun 2007 19:07:47 +0100 Message-ID: <200706071907.47454.mark.williamson@cl.cam.ac.uk> References: <907625E08839C4409CE5768403633E0B02561DD7@sefsexmb1.amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <907625E08839C4409CE5768403633E0B02561DD7@sefsexmb1.amd.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Petersson, Mats" Cc: Koripella Srinivas , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > > >To understand better, have a look at .../xen/arch/x86/irq.c, and in > > >particular the function __do_IRQ_guest(). > > > > But do hvm guests use event channels as used in > > /xen/arch/x86/irq.c. My thinking was they use emulated pic/apic. > > That is correct - the HVM guests use a different principle - although > there's still an event-channel for the QEMU to signal to the hypervisor > that there's an interrupt pending so that the hypervisor will "look" at > the emulated pic/apic. Additionally, HVM guests can make use of Xen event channels if paravirtualised driver support is added to them. I'm not sure how they actually interface with the event channels. For "normal" HVM guests that don't have any Xen-aware software installed in them this is irrelevant. Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel!