Dear Xen developers,
My very first guest kernel is:
void start_kernel(start_info_t * start_info)
{
HYPERVISOR_console_io(CONSOLEIO_write,12,"Hello World\n");
while(1);
}
My Xen hypervisor is the latest xen-3.3.0, however, I never get the message:
Hello World.
How can I get this? Please give me complete setup.
Crave for your help.
Shawn
2008-09-06
杜雨阳
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Provide these command-line options:
loglvl=all guest_loglvl=all console_to_ring
in your bootloader to the Xen hypervisor. The message will then appear
in xm dmesg.
Chris
杜雨阳 wrote:
| Dear Xen developers,
|
| My very first guest kernel is:
|
| void start_kernel(start_info_t * start_info)
| {
| HYPERVISOR_console_io(CONSOLEIO_write,12,"Hello World\n");
| while(1);
| }
|
| My Xen hypervisor is the latest xen-3.3.0, however, I never get the
| message: Hello World.
|
| How can I get this? Please give me complete setup.
|
| Crave for your help.
|
| Shawn
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: GnuPT 2.7.2
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkjCrcYACgkQiD2svb/jCb70lACffodUe0+AC94Qgi1kAVwJFVFC
AWIAn0jEwNtFJnz/E/wJNM5QEhQ00r93
=8U+h
-----END PGP SIGNATURE-----
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Also you need a debug build (debug=y make) of Xen. Guests (anything other than dom0) are supposed to talk to xenconsoled in dom0, but a debug build makes allowances for guest OS development. -- Keir On 6/9/08 17:20, "Christopher Head" <chead@cs.ubc.ca> wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Provide these command-line options: > > loglvl=all guest_loglvl=all console_to_ring > > in your bootloader to the Xen hypervisor. The message will then appear > in xm dmesg. > > Chris > > 杜雨阳 wrote: > | Dear Xen developers, > | > | My very first guest kernel is: > | > | void start_kernel(start_info_t * start_info) > | { > | HYPERVISOR_console_io(CONSOLEIO_write,12,"Hello World\n"); > | while(1); > | } > | > | My Xen hypervisor is the latest xen-3.3.0, however, I never get the > | message: Hello World. > | > | How can I get this? Please give me complete setup. > | > | Crave for your help. > | > | Shawn > | > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (GNU/Linux) > Comment: GnuPT 2.7.2 > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkjCrcYACgkQiD2svb/jCb70lACffodUe0+AC94Qgi1kAVwJFVFC > AWIAn0jEwNtFJnz/E/wJNM5QEhQ00r93 > =8U+h > -----END PGP SIGNATURE----- > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel