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

Re: [Xen-devel] is HYPERVISOR_console_io implemented for HVM domains?


  • To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Wed, 26 Sep 2007 13:49:47 +0100
  • Delivery-date: Wed, 26 Sep 2007 05:52:54 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcgAOg9JdZf6fG7+Q26ZerviPgOPewAAai05
  • Thread-topic: [Xen-devel] is HYPERVISOR_console_io implemented for HVM domains?

Only a few hypercalls are allowed to be executed in an HVM guest.
Console_io() is, in any case, only really for use by dom0.

If you want to get debug output, you can send bytes to I/O port 0xe9. See
tools/firmware/hvmloader/ directory for a printf() example.

 -- Keir

On 26/9/07 13:37, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:

> When I do HYPERVISOR_console_io from windows
> ('HYPERVISOR_console_io(CONSOLEIO_write, 12, "hello world!");'), 'xm
> dmesg' says:
> 
> "
> (XEN) hvm.c:756:d78 HVM vcpu 78:0 bad hypercall 18.
> "
> 
> 78 is the DomID of my Windows DomU... so either I'm not passing the
> parameters correctly, or console_io is not (any longer?) functional...
> xen is 3.1.0.
> 
> Any suggestions?
> 
> Thanks
> 
> James
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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