Re: [PATCH 1/6] Set std VGA model as default model for ppc64.

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

 



On Thu, Dec 20, 2012 at 02:02:22PM +0800, Li Zhang wrote:
> From: Li Zhang <zhlcindy@xxxxxxxxxxxxxxxxxx>
> 
> Cirrus VGA model is not supported on ppc64 currently.
> It needs to set std VGA model as the default model.
> 
> Signed-off-by: Li Zhang <zhlcindy@xxxxxxxxxxxxxxxxxx>
> ---
>  src/conf/domain_conf.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
> index ccb3b63..b02bc66 100644
> --- a/src/conf/domain_conf.c
> +++ b/src/conf/domain_conf.c
> @@ -7284,6 +7284,8 @@ virDomainVideoDefaultType(virDomainDefPtr def)
>              (STREQ(def->os.type, "xen") ||
>               STREQ(def->os.type, "linux")))
>              return VIR_DOMAIN_VIDEO_TYPE_XEN;
> +        else if (def->os.arch == VIR_ARCH_PPC64)
> +            return VIR_DOMAIN_VIDEO_TYPE_VGA;
>          else
>              return VIR_DOMAIN_VIDEO_TYPE_CIRRUS;

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]