用MobaXterm创建管理虚拟机,产生的xml文件如下,求其进行分析学习:
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/3.0'> //如果是Xen,则type=‘xen’
<name>sles</name> //虚拟机名称,同一物理机唯一
<memory>4194304</memory>
<currentMemory>4194304</currentMemory> //memory
<vcpu>8</vcpu> //虚拟机可使用的cpu个数,查看物理机可用CPU个数:cat /proc/cpuinfo |grep processor | wc -l
<os>
<type arch='x86_64'>hvm</type> //arch指出系统架构类型
<bootmenu enable='yes'/>
</os>
<features>
<acpi/> //Advanced Configuration and Power Interface,高级配置与电源接口
<apic/> //Advanced Programmable Interrupt Controller,高级可编程中断控制器
<
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/3.0'> //如果是Xen,则type=‘xen’
<name>sles</name> //虚拟机名称,同一物理机唯一
<memory>4194304</memory>
<currentMemory>4194304</currentMemory> //memory
<vcpu>8</vcpu> //虚拟机可使用的cpu个数,查看物理机可用CPU个数:cat /proc/cpuinfo |grep processor | wc -l
<os>
<type arch='x86_64'>hvm</type> //arch指出系统架构类型
<bootmenu enable='yes'/>
</os>
<features>
<acpi/> //Advanced Configuration and Power Interface,高级配置与电源接口
<apic/> //Advanced Programmable Interrupt Controller,高级可编程中断控制器
<