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@xxxxxxxxxxxxx>
diff --git a/vl.c b/vl.c
index 9b9f7d5..32c81a5 100644
--- a/vl.c
+++ b/vl.c
@@ -5881,6 +5881,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);
}
}
--
yamahata
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|