]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vmware: Fix initialization of VMware Fusion
authorRainer Müller <raimue@codingfarm.de>
Sat, 14 Apr 2018 09:25:42 +0000 (11:25 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 17 Apr 2018 17:11:29 +0000 (13:11 -0400)
commit84095e1ecc5da96a6e93fa709d2feaacfac8d0b3
tree6b5d7c05044b38eeb92ee09211214f09eb859d9d
parentd8f17e60523a10e6e6d5cdafc6ea7a5a56160c7e
vmware: Fix initialization of VMware Fusion

The vmware driver wants to execute vmware-vmx from the same directory in
which vmrun was found. However, on VMware Fusion 10 vmrun at
/Applications/VMware Fusion.app/Contents/Public/vmrun is a symlink
pointing to ../Library/vmrun. vmware-vmx cannot be found, as
it is not in PATH, but only in this Library directory.

Therefore, follow the vmrun symlink and use the resulting path. Then the
assumption that vmware-vmx is right next to it will still work.

Signed-off-by: Rainer Müller <raimue@codingfarm.de>
src/vmware/vmware_driver.c