]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vmx: Relax virtualHW.version check
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 10 May 2014 14:36:56 +0000 (16:36 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 7 Jun 2014 19:37:51 +0000 (21:37 +0200)
commit0e4370eddf822fcdd2ed60d7326b2191e1fd948d
tree62478ea16c041064ff085f170190452a78a6797c
parent7c6fc3948e9439141aeb7623450d9369dbc187d5
vmx: Relax virtualHW.version check

The original implementation of the VMX config parser assumed that the
virtualHW.version would have more influence on the content of the VMX
file than it actually seems to have. It started with accepting only
version 4. Additonal versions were added later without any additional
changes in the parser itself. This suggests that the influence of the
virtualHW.version on the content and format of the VMX file is small
or non-existent.

The parser worked without any changes across several virtualHW and
vSphere versions. So instead of adding new virtualHW.version values to
the parser as they come along, or adding an extra flag to allow unknown
virtualHW.version values just relax the check to require version 4 or
later.
src/vmx/vmx.c