vmx: handle shared folders formatting

This patch adds support for generating vmx files with
shared folders enabled.

Update test suite accordingly.
This commit is contained in:
Jean-Baptiste Rouault
2012-07-11 12:16:34 +02:00
committed by Matthias Bolte
parent df80282dab
commit 1f2bd1072a
5 changed files with 95 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
.encoding = "UTF-8"
config.version = "8"
virtualHW.version = "4"
guestOS = "other"
uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
displayName = "sharedFolder"
memsize = "4"
numvcpus = "1"
floppy0.present = "false"
floppy1.present = "false"
isolation.tools.hgfs.disable = "false"
sharedFolder.maxNum = "1"
sharedFolder0.present = "true"
sharedFolder0.enabled = "true"
sharedFolder0.readAccess = "true"
sharedFolder0.writeAccess = "true"
sharedFolder0.hostPath = "/path/to/shared"
sharedFolder0.guestName = "shared"

View File

@@ -0,0 +1,14 @@
<domain type='vmware'>
<name>sharedFolder</name>
<uuid>564d9bef-acd9-b4e0-c8f0-aea8b9103515</uuid>
<memory unit='KiB'>4096</memory>
<os>
<type>hvm</type>
</os>
<devices>
<filesystem type='mount'>
<source dir='/path/to/shared'/>
<target dir='shared'/>
</filesystem>
</devices>
</domain>