mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
bhyve: fix virtio-9p src/dst order
For the virtio-9p bhyve command line argument, the proper order is mount_tag=/path/to/host/dir, not the opposite. Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
1450672071
commit
476bf54e86
@ -607,8 +607,8 @@ bhyveBuildFSArgStr(const virDomainDef *def G_GNUC_UNUSED,
|
||||
virCommandAddArgFormat(cmd, "%d:%d,virtio-9p,%s=%s%s",
|
||||
fs->info.addr.pci.slot,
|
||||
fs->info.addr.pci.function,
|
||||
fs->src->path,
|
||||
fs->dst,
|
||||
fs->src->path,
|
||||
virBufferCurrentContent(¶ms));
|
||||
|
||||
return 0;
|
||||
|
@ -7,4 +7,4 @@
|
||||
-s 0:0,hostbridge \
|
||||
-s 2:0,ahci,hd:/tmp/freebsd.img \
|
||||
-s 3:0,virtio-net,faketapdev,mac=52:54:00:b9:94:02 \
|
||||
-s 4:0,virtio-9p,/shared/dir=shared_dir,ro bhyve
|
||||
-s 4:0,virtio-9p,shared_dir=/shared/dir,ro bhyve
|
||||
|
@ -7,4 +7,4 @@
|
||||
-s 0:0,hostbridge \
|
||||
-s 2:0,ahci,hd:/tmp/freebsd.img \
|
||||
-s 3:0,virtio-net,faketapdev,mac=52:54:00:b9:94:02 \
|
||||
-s 4:0,virtio-9p,/shared/dir=shared_dir bhyve
|
||||
-s 4:0,virtio-9p,shared_dir=/shared/dir bhyve
|
||||
|
Loading…
Reference in New Issue
Block a user