Re: [PATCH] xen: Don't add <console> to xml for dom0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 29, 2012 at 02:13:10PM -0500, Cole Robinson wrote:
> It just doesn't really make sense and confuses virt-manager
> ---
>  src/xenxs/xen_sxpr.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/xenxs/xen_sxpr.c b/src/xenxs/xen_sxpr.c
> index 7a53f94..09e7730 100644
> --- a/src/xenxs/xen_sxpr.c
> +++ b/src/xenxs/xen_sxpr.c
> @@ -1392,7 +1392,7 @@ xenParseSxpr(const struct sexpr *root,
>              chr->target.port = 0;
>              def->parallels[def->nparallels++] = chr;
>          }
> -    } else {
> +    } else if (def->id != 0) {
>          def->nconsoles = 1;
>          if (VIR_ALLOC_N(def->consoles, 1) < 0)
>              goto no_memory;

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]