标签:dev http dex func virtual target mod lock nunit
vADC-ESX.ovf.xml
<?xml version="1.0" encoding="UTF-8"?> <!-- Generated by VMware ESX Server, User: root, UTC time: 2015-08-10T21:48:17.468907Z --> <Envelope vmw:buildId="build-164009" xmlns="http://schemas.dmtf.org/ovf/envelope/1" xmlns:cim="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vmw="http://www.vmware.com/schema/ovf" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <References> <File ovf:href="vADC-ESX-disk1.vmdk" ovf:id="file1" ovf:size="235566592"/> </References> <DiskSection> <Info>Virtual disk information</Info> <Disk ovf:allocationUnits="1073741824" ovf:capacity="20" ovf:capacityAllocationUnits="byte * 2^30" ovf:diskId="vmdisk1" ovf:fileRef="file1" ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" ovf:populatedSize="524156928"/> </DiskSection> <NetworkSection> <Info>The list of logical networks</Info> <Network ovf:name="VM Network"> <Description>The VM Network network</Description> </Network> </NetworkSection> <VirtualSystem ovf:id="vADC-ESX"> <Info>A virtual machine</Info> <Name>vADC-ESX</Name> <OperatingSystemSection ovf:id="81" ovf:version="10" vmw:osType="solaris10_64Guest"> <Info>The kind of installed guest operating system</Info> </OperatingSystemSection> <VirtualHardwareSection> <Info>Virtual hardware requirements</Info> <System> <vssd:ElementName>Virtual Hardware Family</vssd:ElementName> <vssd:InstanceID>0</vssd:InstanceID> <vssd:VirtualSystemIdentifier>vADC-ESX</vssd:VirtualSystemIdentifier> <vssd:VirtualSystemType>vmx-07</vssd:VirtualSystemType> </System> <Item> <rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits> <rasd:Description>Number of Virtual CPUs</rasd:Description> <rasd:ElementName>2 virtual CPU(s)</rasd:ElementName> <rasd:InstanceID>1</rasd:InstanceID> <rasd:ResourceType>3</rasd:ResourceType> <rasd:VirtualQuantity>2</rasd:VirtualQuantity> </Item> <Item> <rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits> <rasd:Description>Memory Size</rasd:Description> <rasd:ElementName>2048 MB of memory</rasd:ElementName> <rasd:InstanceID>2</rasd:InstanceID> <rasd:ResourceType>4</rasd:ResourceType> <rasd:VirtualQuantity>2048</rasd:VirtualQuantity> </Item> <Item> <rasd:Address>0</rasd:Address> <rasd:Description>SCSI Controller</rasd:Description> <rasd:ElementName>scsi0</rasd:ElementName> <rasd:InstanceID>3</rasd:InstanceID> <rasd:ResourceSubType>lsilogic</rasd:ResourceSubType> <rasd:ResourceType>6</rasd:ResourceType> </Item> <Item> <rasd:Address>1</rasd:Address> <rasd:Description>IDE Controller</rasd:Description> <rasd:ElementName>VirtualIDEController 1</rasd:ElementName> <rasd:InstanceID>4</rasd:InstanceID> <rasd:ResourceType>5</rasd:ResourceType> </Item> <Item> <rasd:Address>0</rasd:Address> <rasd:Description>IDE Controller</rasd:Description> <rasd:ElementName>VirtualIDEController 0</rasd:ElementName> <rasd:InstanceID>5</rasd:InstanceID> <rasd:ResourceType>5</rasd:ResourceType> </Item> <Item> <rasd:AddressOnParent>7</rasd:AddressOnParent> <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation> <rasd:Connection>VM Network</rasd:Connection> <rasd:Description>E1000 ethernet adapter on "VM Network"</rasd:Description> <rasd:ElementName>ethernet0</rasd:ElementName> <rasd:InstanceID>6</rasd:InstanceID> <rasd:ResourceSubType>E1000</rasd:ResourceSubType> <rasd:ResourceType>10</rasd:ResourceType> </Item> <Item> <rasd:AddressOnParent>0</rasd:AddressOnParent> <rasd:ElementName>scsi0:0</rasd:ElementName> <rasd:HostResource>ovf:/disk/vmdisk1</rasd:HostResource> <rasd:InstanceID>8</rasd:InstanceID> <rasd:Parent>3</rasd:Parent> <rasd:ResourceType>17</rasd:ResourceType> </Item> </VirtualHardwareSection> </VirtualSystem> </Envelope>
vADC-KVM.xml
<?xml version="1.0" encoding="UTF-8"?> <domain type=‘kvm‘> <name>vADC-KVM</name> <memory>2097152</memory> <vcpu>2</vcpu> <os> <type arch=‘x86_64‘>hvm</type> <boot dev=‘hd‘/> </os> <features> <acpi/> <apic/> <pae/> </features> <clock offset=‘utc‘/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <disk type=‘file‘ device=‘disk‘> <driver name=‘qemu‘ type=‘qcow2‘/> <source file=‘/var/lib/libvirt/images/vADC-KVM.qcow2‘/> <target dev=‘hda‘ bus=‘ide‘/> </disk> <controller type=‘ide‘ index=‘0‘> </controller> <interface type=‘bridge‘> <source bridge=‘br0‘/> <model type=‘virtio‘/> </interface> <serial type=‘pty‘/> <console type=‘pty‘/> <graphics type=‘vnc‘ autoport=‘yes‘/> <hostdev mode=‘subsystem‘ type=‘pci‘ managed=‘yes‘> <source> <address domain=‘0x0000‘ bus=‘0x03‘ slot=‘0x00‘ function=‘0x00‘/> </source> </hostdev> <hostdev mode=‘subsystem‘ type=‘pci‘ managed=‘yes‘> <source> <address domain=‘0x0000‘ bus=‘0x03‘ slot=‘0x00‘ function=‘0x01‘/> </source> </hostdev> </devices> </domain>
标签:dev http dex func virtual target mod lock nunit
原文地址:https://www.cnblogs.com/lsgxeva/p/9026721.html