From: Cole Robinson Date: Wed, 28 Jun 2017 13:54:16 +0000 (-0400) Subject: qemu: parse: drop redundant video config X-Git-Tag: v3.7.0-rc1~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42845acb0b41bd885ea71e3d900da9652a21ede8;p=thirdparty%2Flibvirt.git qemu: parse: drop redundant video config The ram/vram = 0 bits aren't needed, and PostParse will fill in the needed QXL default Reviewed-by: John Ferlan Signed-off-by: Cole Robinson --- diff --git a/src/qemu/qemu_parse_command.c b/src/qemu/qemu_parse_command.c index 6002d39a6d..09d9418ce1 100644 --- a/src/qemu/qemu_parse_command.c +++ b/src/qemu/qemu_parse_command.c @@ -2608,12 +2608,6 @@ qemuParseCommandLine(virCapsPtr caps, if (VIR_ALLOC(vid) < 0) goto error; vid->type = video; - if (vid->type == VIR_DOMAIN_VIDEO_TYPE_QXL) { - vid->vgamem = QEMU_QXL_VGAMEM_DEFAULT; - } else { - vid->ram = 0; - vid->vgamem = 0; - } vid->heads = 1; if (VIR_APPEND_ELEMENT(def->videos, def->nvideos, vid) < 0) {