From a9b0d647bcc28cc431dbe02cc12525e4c1d80645 Mon Sep 17 00:00:00 2001 From: Jim Fehlig Date: Thu, 19 Mar 2015 18:02:28 -0600 Subject: [PATCH] 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(). --- src/xenconfig/xen_common.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/xenconfig/xen_common.c b/src/xenconfig/xen_common.c index 82e8d3ad7..883e31dc9 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; -- 2.39.5