WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] is HYPERVISOR_console_io implemented for HVM domains?
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D012498B5@trantor>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgAOg9JdZf6fG7+Q26ZerviPgOPewAAai05
Thread-topic: [Xen-devel] is HYPERVISOR_console_io implemented for HVM domains?
User-agent: Microsoft-Entourage/11.3.6.070618
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

<Prev in Thread] Current Thread [Next in Thread>