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

[Xen-community] Where can I see message printed by do_console_io?

To: xen-community@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-community] Where can I see message printed by do_console_io?
From: ZelluX <zellux@xxxxxxxxx>
Date: Tue, 23 Sep 2008 21:47:06 +0800
Delivery-date: Tue, 23 Sep 2008 06:47:11 -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=Vtla8uPxrB5lOyvqQmvlPdCC7jwxNzwh5cYpnKt71Sk=; b=HMupCNA4Q5tPkDeTa6kfCCRCs/vRJnTSfzC+MbiJ7iNC6+xag4aqj1z/lFW46VtrO6 oGxmjRKVX++x2r6RBhFJmRcsSR7rfen9ZZZ3KUngam11ATYLqZ2S+/WaoFmfLbwnqcFc EWMpYZ6fLr/YKcd1A9fnzZN6C/iCnjE5epWRQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=xuzTVOudjBxz6QcrLOBV9VtfI+Unwt5yjxCng62ONnWFAzfcCaUbiyDbo7kiKDY/tX NgDsS4y6gj409s4qjCMmY8vYWtXEd5pVQWiObtMjNhdJjdJipQUmETBq/Bb4v5MfyAf4 5nKj9Ayzcuq7bHel1yO3N9bz45PslApGGqheI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-archive: <http://lists.xensource.com/archives/html/xen-community>
List-help: <mailto:xen-community-request@lists.xensource.com?subject=help>
List-id: Community Discussion <xen-community.lists.xensource.com>
List-post: <mailto:xen-community@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-community>, <mailto:xen-community-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-community>, <mailto:xen-community-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-community-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-community mailing list
Xen-community@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-community
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-community] Where can I see message printed by do_console_io?, ZelluX <=