
On Wed, May 24, 2017 at 10:49:23AM +0300, Roman Storozhenko wrote:
Hello, everybody
I use virt to run my VM's and QEMU as a hypervisor. There is a file describing my virtual machine:
/etc/libvirt/qemu/centos7.0.xml
As you know it contains xml representation of my VM. Is there any way to show underlying qemu command that virsh runs using that file? For example:
qemu-system-x86-64 -m 1024 -smp 2 -...
If no, is there any way to figure it out during VM run ?
There is virsh domxml-to-native, you can do: virsh dumpxml centos7.0 | virsh domxml-to-native qemu-argv /dev/stdin However be warned that domxml-to-native does not support everything that the driver will, this API is always a bit behind with some things.
--- Thanks in advance, Roman Storozhenko
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users