how to use domxml-from-native
来源:互联网 发布:java compareto易错点 编辑:程序博客网 时间:2024/05/17 06:12
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_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>qemu-system-x86_64</emulator>
<controller type='usb' index='0'/>
<controller type='pci' index='0' model='pci-root'/>
<memballoon model='none'/>
</devices>
<qemu:commandline>
<qemu:arg value='drive'/>
<qemu:arg value='file=/root/tiny/ubuntu.img'/>
</qemu:commandline>
</domain>
#virsh define peipei.xml
定义域 unnamed(从 peipei.xml)
#virsh start unnamed
域 unnamed已开始
#
- how to use domxml-from-native
- How to register and use the native Kentico jQuery library
- How-to use a shared library in native-activity
- How to use the Journal Import Correction Screen - from Metalink
- How To Use An Embedded Resource From A Sub-Folder
- How to use list from sys/queue.h?
- How to use FTP from the command line.
- How to use lantern proxy from mac terminal?
- How To Use DataGird
- how to use typedef
- how to use gz
- How to use chkconfig
- How to use ,,,,
- how to use dialog
- How to use UIDs
- How to use dmalloc
- How to use abld
- How to use BSTR
- ISO-8859-1,Unicode,UTF-8
- 天声人語 20141209
- js按比例放大缩小图片
- SBL-DAT-00500 There were more rows than could bereturned.
- Address family not supported by protocol family.
- how to use domxml-from-native
- Core Location Manager Changes in iOS 8
- Ubuntu 14.10统计代码工具
- 【Android】xml文件里面出现unbound prefix的问题
- android 抓取手机应用包名和类名
- 基于W5500的实时远程温湿度监控系统
- UVa #246 10-20-30 (习题6-9)
- ORA-24247: network access denied by access control list
- android Activities