[libvirt] is there a way to convert vm's filter into comandline

Eric Blake eblake at redhat.com
Thu Mar 27 02:46:43 UTC 2014


On 03/26/2014 08:43 PM, Eric Blake wrote:
> On 03/26/2014 07:20 PM, bigclouds wrote:
>> hi,all
>>  
>> is there a way to convert vm's filter into comandline, i think it is useful.
> 
> You mean, as in
>   virsh domxml-to-native qemu-argv $(virsh dumpxml $dom)

Correction:

virsh dumpxml $dom > file
virsh domxml-to-native qemu-argv file


-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140326/116d0a22/attachment-0001.sig>


More information about the libvir-list mailing list