1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Commit snapshot fails with Permission denied when daemonized
When running qemu with daemonize option it is impossible to run "commit all" in monitor.
I run qemu 2.7.0 under gentoo 64 bit distribution with following command line:
qemu-system-x86_64 -m 4096 -cpu host -smp 2 -enable-kvm -snapshot \
-drive file=vm.img,if=virtio \
-net nic,model=virtio,macaddr=11:11:11:11:11:11 \
-net tap,ifname=tap$PORT,script=no,downscript=no \
-vnc :1 -daemonize \
-chardev vc,id=mon0 -mon chardev=mon0,mode=readline \
-chardev socket,id=mon1,host=localhost,port=10001,server,nowait -mon chardev=mon1,mode=control
I connect to vm through VNC viewer and press CTRL+ALT+2 and run "commit all" command.
Following error is shown:
`commit` error for `all`: Permission denied
When I run my VM without `daemonize` option the command "commit all" works without errors.
|