jollheef / appvm

Nix-based app VMs
GNU General Public License v3.0
252 stars 18 forks source link

Fix build and boot errors on NixOS 21.11 #27

Closed ilian closed 2 years ago

ilian commented 2 years ago

Fix building the nix module and error while booting the VM on NixOS 21.11.

Trying to run 2 VMs at a time still results in the following error though:

2021/12/20 11:59:28 internal error: process exited while connecting to monitor: qemu-system-x86_64: -fsdev local,security_model=passthrough,id=fsdev-fs0,path=/nix/store,readonly: warning: short-form boolean option 'readonly' deprecated
Please use readonly=on instead
2021-12-20T10:59:28.668638Z qemu-system-x86_64: -blockdev {"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"qcow2","file":"libvirt-1-storage","backing":null}: Failed to get "write" lock
Is another process using the image [/home/ilian/appvm/.fake.qcow2]?

jollheef commented 2 years ago

Hello,

Thank you.

Trying to run 2 VMs at a time still results in the following error though

Fixed in 84374314a29345f0cbd47febe2ab7d529e13246a