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? Thanks, Dagg.
Michal Prívozník
2020-Sep-04 09:01 UTC
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
thanks, it worked.> Sent: Friday, September 04, 2020 at 12:01 PM > From: "Michal Prívozník" <mprivozn@redhat.com> > To: "daggs" <daggs@gmx.com>, libvirt-users@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 > >
Apparently Analagous Threads
- printing the qemu final execution line from an xml
- Re: unable to find any master var store for loader error
- Building XML from working qemu command-line for ARM virtio
- Re: unable to find any master var store for loader error
- possible bug in efi detection for guest