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] Where can I see message printed by do_console_io?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Where can I see message printed by do_console_io?
From: ZelluX <zellux@xxxxxxxxx>
Date: Wed, 24 Sep 2008 00:31:38 +0800
Delivery-date: Tue, 23 Sep 2008 09:32:21 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=Gd6ZWVLl6dv93Ben4mfYDCjNSrejQErIP67tsdJh3Xg=; b=ahLm85CFp4q5PuCvkCoGxLApkv3bxNZUwGTJInWBFiQEigA1Z/q8PMHxNXxuPPtVbE SvH31EAsZpi0lA0xSvvc7BDuN26e2EzMNLKlfajeVCgXjCY+O3TTuMGFEDeXiaga8m2I z/CtrvbzbjwKY1tlR8wGb/JKx+os+H62MbYno=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Vmklu16MAASLdpSG7wEFZwJXHdOho30vo8MMjV87lI6fme3IHgG6HNHhuNvdsvBboe trXgUJP1vlwI5imc9rWQDGXffQ3r8k30v2S6soLV0Y+KLFSnmoxvkKITR9sf1vuWRxVW 6jAx+iZtiaJyyd7tyJMfyl7Kh6YVBUKYBEYRQ=
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi, all

I'm learning Xen with the help of the book The Definitive Guide to Xen Hypervisor.
In Chapter 2 there's an example which outputs 'Hello World' to the emergency console, the code snippet looks like
HYPERVISOR_console_io (CONSOLEIO_write , 12 ,"Hello World\n" ) ;

static inline int HYPERVISOR_console_io(int cmd, int count, char *str)
{
    return _hypercall3(int, console_io, cmd, count, str);
}

while _hypercall3 is a macro calling corresponding function in the hypercall page, in this example it will just call

do_console_io(CONSOLEIO_write, 12, "Hello World\n")';

but when i run xm create domain_config, i find message "Hello World" nowhere.
Where can i see this message?

Many thanks for your reply.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>