mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
7382a7c2be
Recently virtio-9p support was added to bhyve. On the host side it looks this way: bhyve .... -s 25:0,virtio-9p,sharename=/path/to/shared/dir It could also have ",ro" suffix to make share read-only. In the Linux guest, this share is mounted with: mount -t 9p sharename /mnt/sharename In the guest user will see the same permissions and ownership information for this directory as on the host. No uid/gid remapping is supported, so those could resolve to wrong user or group names. The same applies to the other side: chowning/chmodding in the guest will set specified ownership and permissions on the host. In libvirt domain XML it's modeled using the 'filesystem' element: <filesystem type='mount'> <source dir='/path/to/shared/dir'/> <target dir='sharename'/> </filesystem> Optional 'readonly' sub-element enables read-only mode. Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com> |
||
---|---|---|
.. | ||
bhyvexml2xmlout-acpiapic.xml | ||
bhyvexml2xmlout-addr-isa-controller-on-slot-1.xml | ||
bhyvexml2xmlout-addr-isa-controller-on-slot-31.xml | ||
bhyvexml2xmlout-addr-more-than-32-sata-disks.xml | ||
bhyvexml2xmlout-addr-multiple-sata-disks.xml | ||
bhyvexml2xmlout-addr-multiple-virtio-disks.xml | ||
bhyvexml2xmlout-addr-no32devs-multiple-sata-disks.xml | ||
bhyvexml2xmlout-addr-no32devs-single-sata-disk.xml | ||
bhyvexml2xmlout-addr-single-sata-disk.xml | ||
bhyvexml2xmlout-addr-single-virtio-disk.xml | ||
bhyvexml2xmlout-base.xml | ||
bhyvexml2xmlout-bhyveload-bootorder1.xml | ||
bhyvexml2xmlout-bhyveload-bootorder2.xml | ||
bhyvexml2xmlout-bhyveload-bootorder3.xml | ||
bhyvexml2xmlout-bhyveload-bootorder4.xml | ||
bhyvexml2xmlout-bhyveload-bootorder.xml | ||
bhyvexml2xmlout-bhyveload-explicitargs.xml | ||
bhyvexml2xmlout-commandline.xml | ||
bhyvexml2xmlout-console.xml | ||
bhyvexml2xmlout-custom-loader.xml | ||
bhyvexml2xmlout-disk-cdrom-grub.xml | ||
bhyvexml2xmlout-disk-cdrom.xml | ||
bhyvexml2xmlout-disk-virtio.xml | ||
bhyvexml2xmlout-fs-9p.xml | ||
bhyvexml2xmlout-grub-bootorder2.xml | ||
bhyvexml2xmlout-grub-bootorder.xml | ||
bhyvexml2xmlout-grub-defaults.xml | ||
bhyvexml2xmlout-input-xhci-tablet.xml | ||
bhyvexml2xmlout-isa-controller.xml | ||
bhyvexml2xmlout-localtime.xml | ||
bhyvexml2xmlout-macaddr.xml | ||
bhyvexml2xmlout-metadata.xml | ||
bhyvexml2xmlout-msrs.xml | ||
bhyvexml2xmlout-serial-grub-nocons.xml | ||
bhyvexml2xmlout-serial-grub.xml | ||
bhyvexml2xmlout-serial.xml | ||
bhyvexml2xmlout-sound.xml | ||
bhyvexml2xmlout-vnc-autoport.xml | ||
bhyvexml2xmlout-vnc-password.xml | ||
bhyvexml2xmlout-vnc-resolution.xml | ||
bhyvexml2xmlout-vnc-vgaconf-io.xml | ||
bhyvexml2xmlout-vnc-vgaconf-off.xml | ||
bhyvexml2xmlout-vnc-vgaconf-on.xml | ||
bhyvexml2xmlout-vnc.xml | ||
bhyvexml2xmlout-wired.xml |