device_model is parsed in xenParseOS(), then later in
xenParseConfigCommon(). <emulator> is not part of <os>,
so makes sense to remove the parsing in xenParseOS().
Signed-off-by: Jim Fehlig <jfehlig(a)suse.com>
---
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 82e8d3a..883e31d 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;
--
1.8.4.5