[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] libxl: fix console autoconnect with pygrub, by invoking xenconsole twice
# HG changeset patch # User Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> # Date 1296844195 0 # Node ID d5863e86c05b0f7e2eba03e03d320adfbf208a05 # Parent 6399079b44f392382e08f7c839ebf4e207f57973 libxl: fix console autoconnect with pygrub, by invoking xenconsole twice When using pygrub we have to connect to the console twice: once at the beginning to connect to pygrub and a second time after creating the pv console to connect to the guest's console. Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- tools/libxl/libxl_create.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 6399079b44f3 -r d5863e86c05b tools/libxl/libxl_create.c --- a/tools/libxl/libxl_create.c Fri Feb 04 17:41:37 2011 +0000 +++ b/tools/libxl/libxl_create.c Fri Feb 04 18:29:55 2011 +0000 @@ -543,7 +543,7 @@ static int do_domain_create(libxl_ctx *c for (i = 0; i < d_config->num_pcidevs; i++) libxl_device_pci_add(ctx, domid, &d_config->pcidevs[i]); - if ( d_config->c_info.hvm && cb ) { + if ( cb && (d_config->c_info.hvm || d_config->b_info.u.pv.bootloader )) { if ( (*cb)(ctx, domid, priv) ) goto error_out; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |