|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] How can i redirect the writes to the console from the HV
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
|
|
|
|
|