error in qemu monitor wavcapture with virsh
- by Aniket Awati
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.