Add shared folders to running VzVirtualMachine

HI, I am using mac os virtuzlation framework for running virtual machines. At prenset i add the shared folders when creating the VzVirtualMachine. Is it possible to add shared folders to running VZVirtualMachine

Thannks

Answered by DTS Engineer in 886561022
Is it possible to add shared folders to running VZVirtualMachine

Yes. Quoting this doc:

The VZDirectoryShare on the configuration defines the host directories to expose to the guest. To limit or expose new directories to the guest while the VM is running, you can update the directory share with VZVirtioFileSystemDevice.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Accepted Answer
Is it possible to add shared folders to running VZVirtualMachine

Yes. Quoting this doc:

The VZDirectoryShare on the configuration defines the host directories to expose to the guest. To limit or expose new directories to the guest while the VM is running, you can update the directory share with VZVirtioFileSystemDevice.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Thank you for the reference i tired it and it worked like a charm.

Thank you

Fbg

Add shared folders to running VzVirtualMachine
 
 
Q