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-users

[Xen-users] using HYPERVISOR_console_io

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] using HYPERVISOR_console_io
From: "Michael Levenhagen" <mjleven@xxxxxxxxxx>
Date: Fri, 21 Oct 2005 13:25:44 -0600
Delivery-date: Fri, 21 Oct 2005 19:23:15 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7 (X11/20050923)
I'm porting a kernel from 2.0.7 to 3.0 and need to do some low level debugging.

It's unclear to me what need's to be done to get HYPERVISOR_console_io to work.
I've compiled xen with debug=y. My simple kernel is as follows.

void start_kernel( start_info_t *start_info )
{
       char *message = "hello\n";

       HYPERVISOR_console_io(CONSOLEIO_write, strlen(message), message);
}

I'm fairly confident that I'm entering start_kernel because I can change the behavior by putting a while(1) after the HYPERVISOR call.

Where should I see the output if things are working? I don't see anything on the PC's monitor.

How do I view the boot messages for xen? IIRC I used xm under 2.0.7 but I don't see any options with 3.0.

thanks
Mike


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

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