Differences

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

Link to this comparison view

Both sides previous revision Previous revision
fuss:libvirt [2019/03/11 17:34]
office [Passing Plan 9 Permissions]
fuss:libvirt [2019/06/10 21:27] (current)
office [Passing Plan 9 Permissions]
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: 2019/06/10 21:27 by office

Access website using Tor Access website using i2p


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