lol
Anyway, now I am trying to use the GUI "Virtual Machine Manager" (that I think is a wrapper around libvirt), but without success.
This is the working little script that I use to start qemu:
Code:
#!/bin/bash
qemu-system-x86_64 -enable-kvm -hda Windows10.qcow -m 4G -cpu host -smp 4 -vga std \
-smbios type=1,manufacturer=LENOVO,product=***,version=ThinkPad\ X1\ Carbon\ 6th,\
serial=***,uuid=***,sku=LENOVO_MT_20KH_BU_Think_FM_ThinkPad\ X1\ Carbon\ 6th,family=ThinkPad\ X1\ Carbon\ 6th \
-smbios type=0,vendor=LENOVO,version=N23ET38W\ \(1.13\ \),date=03/12/2018,release=1.13 \
-acpitable file=/var/lib/libvirt/images/msdm.bin
This is part of the xml file that is edited with the command
Code:
virsh edit Windows10
Code:
<domain type='kvm' id='18' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
[...]
<qemu:commandline>
<qemu:arg value='-smbios'/>
<qemu:arg value='type=0,vendor=LENOVO,version=N23ET38W (1.13 ),date=03/12/2018,release=1.13'/>
<qemu:arg value='-smbios'/>
<qemu:arg value='type=1,manufacturer=LENOVO,product=***,version=ThinkPad X1 Carbon 6th,serial=***,uuid=***,sku=LENOVO_MT_20KH_BU_Think_FM_ThinkPad X1 Carbon 6th,family=ThinkPad X1 Carbon 6th'/>
<qemu:arg value='-acpitable'/>
<qemu:arg value='file=/var/lib/libvirt/images/msdm.bin'/>
</qemu:commandline>
When I try to start the VM I always get the error
Code:
qemu-system-x86_64: -acpitable file=/var/lib/libvirt/images/msdm.bin: can't open file /var/lib/libvirt/images/msdm.bin: Permission denied
I tried to change ownership and permissions of that file without any effect.
Do you know what could be the cause of the error?
Bookmarks