[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?



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®.