From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: DomU trying to write on an IO Port Date: Mon, 18 Feb 2013 13:46:20 +0000 Message-ID: <1361195180.31407.164.camel@zakaz.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Nitin Gupta Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Mon, 2013-02-18 at 12:31 +0000, Nitin Gupta wrote: > Hi, > > > I am running xen-hypervisor over qemu. You mean running Xen in a virtual machine provided by qemu? Or are you talking about the qemu which is associated with an HVM domain under Xen (i.e. the one running in dom0 or a stub domain). > Now while running domU I want to write on an IO port, which I'll be > handling inside Qemu. Basically, this is a communication mechanism for > me to communicate with qemu. I am writing on port number '0x378' as a > root user using "outl" function. But when I run this code in domU, it > does not reach qemu. > > So my question is: Is there some mechanism in xen which handles > writing on IO ports and in case its not a valid IO Port then just > discards the write. > > -- > Regards, > Nitin Gupta > >