Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
fuss:libvirt [2019/03/11 17:34] – [Passing Plan 9 Permissions] officefuss:libvirt [2019/06/10 20:27] – [Passing Plan 9 Permissions] office
Line 618: Line 618:
 ====== Passing Plan 9 Permissions ====== ====== Passing Plan 9 Permissions ======
  
-Given a passed-through folder defined in the domain configuration file:+ 
 +===== Access Mode Mapped ===== 
 + 
 +The following configuration changes for the domain have to be made: 
 +<code xml> 
 +    <filesystem type='mount' accessmode='mapped'> 
 +      <source dir='/mnt/cdrom'/> 
 +      <target dir='cd'/> 
 +    </filesystem> 
 +</code> 
 + 
 +===== Access Mode Passthrough ===== 
 + 
 +For passthrough access mode, the following configuration change has to be made for the domain:
 <code xml> <code xml>
     <filesystem type='mount' accessmode='passthrough'>     <filesystem type='mount' accessmode='passthrough'>
Line 626: Line 639:
 </code> </code>
  
-virtual machines running under ''qemu'' / ''kvm'' have to be started as root. To accomplish that, edit ''/etc/default/libvirt/qemu.conf'' and set:+Virtual machines running under ''qemu'' / ''kvm'' have to be started as root. To accomplish that, edit ''/etc/default/libvirt/qemu.conf'' and set:
 <code> <code>
 user = "root" user = "root"
Line 637: Line 650:
 </code> </code>
 has to be added to ''/etc/default/libvirt/qemu.conf''. has to be added to ''/etc/default/libvirt/qemu.conf''.
 +
 +===== Mounting the Share =====
  
 Once the virtual machine boots, the share can then be automatically mounted by adding the following line: Once the virtual machine boots, the share can then be automatically mounted by adding the following line:

fuss/libvirt.txt · Last modified: 2023/08/21 09:09 by office

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.