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 <jferlan@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2017-08-27 09:29:50 -04:00
parent b7e779c1a5
commit 1f17ce215f
2 changed files with 1 additions and 8 deletions

View File

@ -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"),

View File

@ -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 {