Isaku Yamahata
2009-Mar-17 10:14 UTC
[Xen-devel] [PATCH] 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 <yamahata@valinux.co.jp> 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@lists.xensource.com http://lists.xensource.com/xen-devel
Simon Horman
2009-Mar-24 23:41 UTC
Re: [Xen-devel] [PATCH] ioemu: call xenstore_store_serial_port_info() for xm console
On Tue, Mar 17, 2009 at 07:14:19PM +0900, Isaku Yamahata wrote:> 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> > > 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); > } > }Hi Ian, this patch seems to still be needed as of 545882583159e9cc53cde5965277967092459f37 "cirrus: Do not clear vram area to 0xff when not yet allocated" -- Simon Horman VA Linux Systems Japan K.K., Sydney, Australia Satellite Office H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel