提交 a9b0d647 编写于 作者: J Jim Fehlig

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().
上级 8680a19b
...@@ -1029,9 +1029,6 @@ xenParseOS(virConfPtr conf, virDomainDefPtr def) ...@@ -1029,9 +1029,6 @@ xenParseOS(virConfPtr conf, virDomainDefPtr def)
{ {
size_t i; size_t i;
if (xenConfigCopyStringOpt(conf, "device_model", &def->emulator) < 0)
return -1;
if (STREQ(def->os.type, "hvm")) { if (STREQ(def->os.type, "hvm")) {
const char *boot; const char *boot;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册