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

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


  • To: xen-community@xxxxxxxxxxxxxxxxxxx
  • From: ZelluX <zellux@xxxxxxxxx>
  • Date: Tue, 23 Sep 2008 21:47:06 +0800
  • Delivery-date: Tue, 23 Sep 2008 06:47:11 -0700
  • 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=
  • List-id: Community Discussion <xen-community.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.