Open explanar opened 8 years ago
This is not an issue of Archipel/QEMU/KVM. openmediavault probably expects a real disk? Forwarding a directory works.
Please look at entry "Source Type" in first Screenshot to see what the VM/omv are expecting while omv can't expect anything yet in case of not being able to boot or even validate the VM-Settings.
Utils.py error msg: Error stanza is not a valid acp: 'ascii' codec can't decode byte 0xc3 in position 29 ordinal not in range (128)
Workaround: Add XML for Guest `<devices ...>
`
Edit /etc/modules of Guest:
loop virtio 9p 9pnet 9pnet_virtio
Execute as root of Guest:
sudo service kmod start sudo mount testlabel /mnt -t 9p -o trans=virtio sudo mkdir /mnt/testdir
Check as Host if testdir exists and delete.
If there is Access error, Host has to
sudo setfacl -R -m u:libvirt-qemu:rwx /opt/test
i tried to setup a Virtio device for a Guest from a Host-owned directory:
The error "missing source information for device" occurs.
is there a way to solve this?
After that i tried to passthrough a directory to the guest via xml-code:
and wrote the Modules loop, virtio, 9p, 9pnet, 9pnet_virtio to the guests /etc/modules. After that i could mount the directory to the guest, but the Debian-OS does not see the passthrough as a device - what i need it to (openmediavault).
Source for the passthroug: http://rabexc.org/posts/p9-setup-in-libvirt