[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] How can i redirect the writes to the console from the HVM (port 0xe9) to Qemu?


  • To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • From: Tom Rotenberg <tom.rotenberg@xxxxxxxxx>
  • Date: Tue, 4 Aug 2009 18:50:05 +0300
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 04 Aug 2009 08:50:28 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=f8TgOWy6CBT/aCqyzbB6U71SGIzPOIO3RVFZJ3zpSqgK/VXXnrCCliWs5JFGz+KCUA G+/w+jbQDrr6NTbr/A84+j6aiIgMyMW8fxPkWVmPww6p+R/9TV/ce90Y/hl5poe1Uelp DJ8f3PXKd6PVsZoPWWJdc6ZbkGW2bdVT53QgE=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Great, thanks!

On Tue, Aug 4, 2009 at 6:26 PM, Keir Fraser<keir.fraser@xxxxxxxxxxxxx> wrote:
> On 04/08/2009 15:31, "Tom Rotenberg" <tom.rotenberg@xxxxxxxxx> wrote:
>
>> Does anyone know how can i register my own "hook" function on this
>> port, without modifying the code in hvm.c? Is there a chain of writes?
>
> You need to modify hvm_print_line() in hvm.c to return X86EMUL_UNHANDLEABLE
> rather than X86EMUL_OKAY. This will cause Xen to think that the handler
> could not handle the port access and so fall back to sending the port access
> to qemu, which is what you want.
>
>  -- Keir
>
>
>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.