From: Cole Robinson Date: Sun, 27 Aug 2017 13:29:50 +0000 (-0400) Subject: qemu: Remove remnants of xenner support X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1f17ce215f8db809a2e5b77ef27412b7352e1451;p=libvirt.git qemu: Remove remnants of xenner support Both of these are dead code: qemu_command.c explicitly rejects VIRT_XEN earlier in the call chain, and qemu_parse_command.c will never set VIRT_XEN anymore Reviewed-by: John Ferlan Signed-off-by: Cole Robinson --- diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 68fc137069..a68ff717fd 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -7086,10 +7086,6 @@ qemuBuildObsoleteAccelArg(virCommandPtr cmd, } break; - case VIR_DOMAIN_VIRT_XEN: - /* XXX better check for xenner */ - break; - default: virReportError(VIR_ERR_CONFIG_UNSUPPORTED, _("the QEMU binary does not support %s"), diff --git a/src/qemu/qemu_parse_command.c b/src/qemu/qemu_parse_command.c index ee71127755..6002d39a6d 100644 --- a/src/qemu/qemu_parse_command.c +++ b/src/qemu/qemu_parse_command.c @@ -2607,10 +2607,7 @@ qemuParseCommandLine(virCapsPtr caps, virDomainVideoDefPtr vid; if (VIR_ALLOC(vid) < 0) goto error; - if (def->virtType == VIR_DOMAIN_VIRT_XEN) - vid->type = VIR_DOMAIN_VIDEO_TYPE_XEN; - else - vid->type = video; + vid->type = video; if (vid->type == VIR_DOMAIN_VIDEO_TYPE_QXL) { vid->vgamem = QEMU_QXL_VGAMEM_DEFAULT; } else {