printing the qemu final execution line from an xml

daggs daggs at gmx.com
Fri Sep 4 10:06:56 UTC 2020


thanks, it worked.

> Sent: Friday, September 04, 2020 at 12:01 PM
> From: "Michal Prívozník" <mprivozn at redhat.com>
> To: "daggs" <daggs at gmx.com>, libvirt-users at redhat.com
> Subject: Re: printing the qemu final execution line from an xml
>
> 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