test
#gedit argv.txt
qemu-system-x86_64 -m 512 -smp 2 drive file=/root/tiny/ubuntu.img -nographic
#virsh domxml-from-native qemu-argv argv.txt > peipei.xml
#cat peipei.xml
<domain type='qemu' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>unnamed</name>
<uuid>63478def-a8f0-446f-8a7d-fa6a8e97281a</uuid>
<memory unit='KiB'>524288</memory>
<currentMemory unit='KiB'>524288</currentMemory>
<vcpu placement='static'>2</vcpu>
<os>
<type arch='x86_64' machine='pc'>hvm</type>
</os>
<features>
<acpi/>
</features>
<clock offset='utc'/>
<on_poweroff>destroy</on_powero