From: Keir Fraser Subject: Re: debug console display problem Date: Sat, 06 Sep 2008 17:34:52 +0100 Message-ID: References: <48C2ADC7.8040700@cs.ubc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <48C2ADC7.8040700@cs.ubc.ca> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christopher Head , =?GB2312?B?tsXT6tH0IA==?= , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Also you need a debug build (debug=3Dy 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" wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Provide these command-line options: >=20 > loglvl=3Dall guest_loglvl=3Dall console_to_ring >=20 > in your bootloader to the Xen hypervisor. The message will then appear > in xm dmesg. >=20 > Chris >=20 > =B6=C5=D3=EA=D1=F4 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 >=20 > iEYEARECAAYFAkjCrcYACgkQiD2svb/jCb70lACffodUe0+AC94Qgi1kAVwJFVFC > AWIAn0jEwNtFJnz/E/wJNM5QEhQ00r93 > =3D8U+h > -----END PGP SIGNATURE----- >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel