mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-21 19:02:25 +00:00
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:
parent
8680a19bc8
commit
a9b0d647bc
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user