From: Ian Jackson Date: Wed, 25 Mar 2009 11:29:54 +0000 (+0000) Subject: ioemu: call xenstore_store_serial_port_info() for xm console X-Git-Tag: xen-3.4.0-rc2~28 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a81434538a8c7f6baf764ae57cba710ca6c75f69;p=qemu-xen-3.4-testing.git ioemu: call xenstore_store_serial_port_info() for xm console call xenstore_store_serial_port_info() for xm console. Without this patch, xm console doesn't work for hvm domain. Signed-off-by: Isaku Yamahata [ Bug was introduced by me during most recent merge from upstream -iwj ] --- diff --git a/vl.c b/vl.c index 5801e428..61544498 100644 --- a/vl.c +++ b/vl.c @@ -5884,6 +5884,7 @@ int main(int argc, char **argv, char **envp) snprintf(label, sizeof(label), "serial%d", i); if (strstart(devname, "vc", 0)) qemu_chr_printf(serial_hds[i], "serial%d console\r\n", i); + xenstore_store_serial_port_info(i, serial_hds[i], devname); } }