error in qemu monitor wavcapture with virsh

Posted by Aniket Awati on Super User See other posts from Super User or by Aniket Awati
Published on 2012-09-20T15:15:40Z Indexed on 2012/09/20 15:41 UTC
Read the original article Hit count: 287

Filed under:
|
|

I have VM running on qemu-kvm. I am managing it with libvirt and command line tool virsh.

I want to record the audio output of the VM. Here is what I am trying -

virsh qemu-monitor-command -hmp VM_NAME wavcapture VM.wav

This is the output I am getting :

Failed to open wave file `vm.wav'
Reason: Permission denied
Failed to add wave capture

I have tried to create a dummy vm.wav with 777 permissions. But I still get the same error.

© Super User or respective owner

Related posts about permissions

Related posts about linux-kvm