printing the qemu final execution line from an xml

Michal Prívozník mprivozn at redhat.com
Fri Sep 4 09:01:50 UTC 2020


On 9/4/20 9:17 AM, daggs wrote:
> Greetings,
> 
> I have a qemu line which I want to convert ot libvirt xml but as domxml-from-native is deprecated, I want to try it the other way around.
> e.g. write an libvirt xml and dump the final qemu line without running it.
> is there a way to do so?
> 

Sure, there is domxml-to-native. It accepts either an existing domain or 
path to XML file, for instance:

virsh domxml-to-native --domain fedora --format qemu-argv

Michal




More information about the libvirt-users mailing list