From: Jim Fehlig Date: Fri, 20 Mar 2015 00:02:28 +0000 (-0600) Subject: xenconfig: remove redunant parsing of device_model X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a9b0d647bcc28cc431dbe02cc12525e4c1d80645;p=libvirt.git xenconfig: remove redunant parsing of device_model device_model is parsed in xenParseOS(), then later in xenParseConfigCommon(). is not part of , so makes sense to remove the parsing in xenParseOS(). --- diff --git a/src/xenconfig/xen_common.c b/src/xenconfig/xen_common.c index 82e8d3ad72..883e31dc9b 100644 --- a/src/xenconfig/xen_common.c +++ b/src/xenconfig/xen_common.c @@ -1029,9 +1029,6 @@ xenParseOS(virConfPtr conf, virDomainDefPtr def) { size_t i; - if (xenConfigCopyStringOpt(conf, "device_model", &def->emulator) < 0) - return -1; - if (STREQ(def->os.type, "hvm")) { const char *boot;