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

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: ZelluX <zellux@xxxxxxxxx>
  • Date: Wed, 24 Sep 2008 00:31:38 +0800
  • Delivery-date: Tue, 23 Sep 2008 09:32:21 -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=Vmklu16MAASLdpSG7wEFZwJXHdOho30vo8MMjV87lI6fme3IHgG6HNHhuNvdsvBboe trXgUJP1vlwI5imc9rWQDGXffQ3r8k30v2S6soLV0Y+KLFSnmoxvkKITR9sf1vuWRxVW 6jAx+iZtiaJyyd7tyJMfyl7Kh6YVBUKYBEYRQ=
  • List-id: Xen user discussion <xen-users.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-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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