]> xenbits.xen.org Git - xenclient/ioemu.git/commitdiff
ioemu: call xenstore_store_serial_port_info() for xm console
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 25 Mar 2009 11:29:54 +0000 (11:29 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 25 Mar 2009 11:29:54 +0000 (11:29 +0000)
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 <yamahata@valinux.co.jp>
[ Bug was introduced by me during most recent merge from upstream -iwj ]

vl.c

diff --git a/vl.c b/vl.c
index 5801e42887af54de4e23901ce3db8592c5073db2..61544498d642328d8f97c07e2a3f0c27f3cfa61f 100644 (file)
--- 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);
         }
     }