From: Li Zhang Date: Thu, 20 Dec 2012 06:02:22 +0000 (+0800) Subject: Set std VGA model as default model for ppc64. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3b2e021a7b55d163e67fb87baf67e1ddf56347db;p=libvirt.git Set std VGA model as default model for ppc64. 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 --- diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index ccb3b635d0..b02bc66c1d 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;