If you run with Debian and Grub 2 (which should be the case if you are running Squeeze), then you should edit /etc/default/grub as below:GRUB_CMDLINE_XEN="loglvl=all guest_loglvl=all com1=115200,8n1,0x3e8,5 console=com1,vga" GRUB_CMDLINE_LINUX="console=hvc0 earlyprintk=xen"The above setup of the serial device parameters are for a Supermicro X8STi-F motherboard, where IPMI SOL is configured for COM3 from the BIOS. Note that you need to use "com1=" option for Xen, even when the SOL is actually COM3. If you specify "com3=" for Xen the serial console won't work for some reason. When you are done with your grub config file, do:update-grub2to generate the /boot/grub/grub.cfg You can go http://wiki.xenproject.org/wiki/Xen_Serial_Console for a complete reference. In addition, if your guest is a HVM, then you should add serial="pty" into the config file to be able to use 'xl console' From: carl.patenaudepou...@mail.mcgill.ca Date: Mon, 28 Dec 2015 11:30:43 -0500 To: xen-devel@lists.xen.org Subject: [Xen-devel] Debugging console
Hi all, We've got __HYPERVISOR_console_io working on our unikernel! The onlyissue is that it prints to `xl dmesg`. Is there a way to get it toprint to `xl console`? Best Carl Patenaude PoulinMcGill University _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel