天天看點

Add Audio output function for VM

Power off the VM

Go to Summary, right click and select“Browse Datastore”

Click into “<VM name>” folder

Highlight “<VM Name>”

Click “Download a file from this datastore to your local machine”

Browse to the destination folder and click OK

Click Yes for any warning

Browse to the destination folder andmake a copy of the .vmx file, name it “<VM Name>-copy.vmx”

Click open “<VM Name>.vmx” withNotepad

Scroll to the end of file and manually type the following

sound.present = "true"

sound.virtualDev =  "hdaudio"

sound.fileName = "-1"

sound.autodetect = "true"

sound.pciSlotNumber = "34"

Save the file and go back to theDatastore Browser. Click “Upload files to this datastore” > “Upload File…”

Browse and select the modified “<VM Name>.vmx”.

Click Yes for any warnings.

Health check procedures:

 Power on the VM and check if “HD audio” isadded to the VM hardware

Login the VM andcheck for the speaker icon in the system tray

Rollback procedures:

Logon     vSphere Client console with operator account     

Power     off the VM          

Go     to Summary, right click and select “Browse Datastore”           

Click     into “<VM Name>”     folder 

Browse     to the destination folder, rename “<VM     Name>-copy.vmx” back to “<VM     Name>.vmx”              

Go     back to the Datastore Browser. Click “Upload files to this datastore” >     “Upload File…”

Browse     and select “<VM Name>.vmx”.

Click     Yes for any warnings.          

Power     on the VM and check if “HD audio” is removed from to the VM hardware              

<a href="http://down.51cto.com/data/2368503" target="_blank">附件:http://down.51cto.com/data/2368503</a>

本文轉自學海無涯部落格51CTO部落格,原文連結http://blog.51cto.com/549687/1884296如需轉載請自行聯系原作者

520feng2007