Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: more instructions for qemu setup
  • Loading branch information
bpetit committed Apr 17, 2023
commit 8638de0b1081ae47b70ce3ff1d8e5d8616b63f93
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ In the definition of the virtual machine (here we are using libvirt), ensure you

virsh edit DOMAIN_NAME

Then add:
Then add this filesystem configuration block inside the `<devices></devices>` block:

<filesystem type='mount' accessmode='passthrough'>
<driver type='virtiofs'/>
Expand All @@ -40,6 +40,13 @@ Then add:

Save and (re)start the virtual machine.

If you get this error: "error: unsupported configuration: 'virtiofs' requires shared memory", you might add this configuration section to the `<domain>` section.

<memoryBacking>
<source type='memfd'/>
<access mode='shared'/>
</memoryBacking>

Then connect to the virtual machine and mount the filesystem:

mount -t 9p -o trans=virtio scaphandre /var/scaphandre
Expand Down