
25 Nov
2014
25 Nov
'14
2:54 a.m.
On Tue, Nov 25, 2014 at 12:46:41PM +0900, Ady Wahyudi Paundu wrote:
virsh start vmname What I want to know is how to add an option to virsh vm's start
ps aux | grep qemu
I use libvirt to manage a QEMU/KVM system. Starting a VM only by using script, in my case I want to add QEMU logging option (-d and -D). I can see from that current VM started using virsh not including those options
This is not supported in our XML, but you can use passthrough of arbitrary options: http://libvirt.org/drvqemu.html E.g.: <domain type='qemu' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> ... <qemu:commandline> <qemu:arg value='-d'/> <qemu:arg value='cpu'/> </qemu:commandline> ... </domain> Martin