From Spice
Contents |
[edit]
(Client) Local Folder support
[edit]
Summary
Allow guests to access folders/files that are located on the client machine.
[edit]
Owner
- Arnon Gilboa
[edit]
Current Status
- Targeted Release: Not set
- 0% complete (Planning)
[edit]
Description
- Users decide to share a folder with a guest
- specifically to a specific guest, or to all guests (ro).
- Files under that folder can be accessed (read-only or read/write) by the guest (specific guest or all).
- Guest should be notified when files/folders are added/removed under the expored folder.
- Files should be accessible by both client and guest.
- Users must not simultaneously write from two places into the same file/folder.
[edit]
Implementation
QEmu implemented a folder share using VirtFS (Plan 9 folder sharing over virt io ): http://wiki.qemu.org/Documentation/9psetup
Slides about the topic: http://www.slideshare.net/ericvh/9p-on-kvm
This mean the spice server probably should intercept the p9fs's pdus (./hw/9pfs/virtio-9p.c) and send the to the client. The client will need to implement the actual file system access (./hw/9pfs/virtio-9p-local.c).
AFAIK there are no Windows drivers (virtio-pci device and p9fs) available.

