ZelluX
2008-Sep-23 16:31 UTC
[Xen-users] Where can I see message printed by do_console_io?
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@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2008-Sep-24 06:07 UTC
Re: [Xen-users] Where can I see message printed by do_console_io?
This list is not about technical, questions, it''s about community organization. Please use the list xen-users - there are many people reading and writing who give you technical support. Henning On Tue, Sep 23, 2008 at 6:31 PM, ZelluX <zellux@gmail.com> wrote:> 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@lists.xensource.com > http://lists.xensource.com/xen-users >-- Henning Sprang http://www.sprang.de | http://lazyb0y.blogspot.com/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2008-Sep-24 06:10 UTC
Re: [Xen-users] Where can I see message printed by do_console_io?
On Wed, Sep 24, 2008 at 8:07 AM, Henning Sprang <henning.sprang@gmail.com> wrote:> This list is not about technical, questions, it''s about community organization. > > Please use the list xen-users - there are many people reading and > writing who give you technical support.oops... I''m totally sorry - I saw this mail first coming up on the xen-community list(where from time to time such technical questions come up because it seems not to be clear enough decsribed on the list subscription pages), but replied to the second post that actually already appeared on the right list :( Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users