xenconfig: remove redunant parsing of device_model

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().
This commit is contained in:
Jim Fehlig 2015-03-19 18:02:28 -06:00
parent 8680a19bc8
commit a9b0d647bc

View File

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