--- /dev/null
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<link rel="stylesheet" href="style.css" type="text/css"/>
+<script src="code.js" type="text/javascript"></script>
+
+<h1>KVM to KVM migrations: metadata</h1>
+
+<pre>
+
+<?xml version='1.0' encoding='utf-8'?>
+<ovf:Envelope xmlns:rasd='http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData' xmlns:vssd='http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:ovf='http://schemas.dmtf.org/ovf/envelope/1/' xmlns:ovirt='http://www.ovirt.org/ovf' ovf:version='0.9'>
+ <!-- generated by virt-v2v 1.40.0local,libvirt -->
+ <References>
+ <File ovf:href='VOL' ovf:id='VOL' ovf:description='generated by virt-v2v 1.40.0local,libvirt' ovf:size='4460544'/>
+ </References>
+ <NetworkSection>
+ <Info>List of networks</Info>
+ <Network ovf:name='default'/>
+ </NetworkSection>
+ <DiskSection>
+ <Info>List of Virtual Disks</Info>
+ <Disk ovf:diskId='IMAGE' ovf:size='1' ovf:capacity='536870912' ovf:fileRef='VOL' ovf:parentRef='' ovf:vm_snapshot_id='1378805d-9045-4166-a7f5-737cb815d577' ovf:volume-format='COW' ovf:volume-type='Sparse' ovf:format='http://en.wikipedia.org/wiki/Byte' ovf:disk-interface='VirtIO' ovf:disk-type='System' ovf:boot='True' ovf:actual_size='1'/>
+ </DiskSection>
+ <VirtualSystem ovf:id='VM'>
+ <Name>windows</Name>
+ <TemplateId>00000000-0000-0000-0000-000000000000</TemplateId>
+ <TemplateName>Blank</TemplateName>
+ <Description>generated by virt-v2v 1.40.0local,libvirt</Description>
+ <Domain/>
+ <CreationDate>2019/06/12 10:17:17</CreationDate>
+ <IsInitilized>True</IsInitilized>
+ <IsAutoSuspend>False</IsAutoSuspend>
+ <TimeZone/>
+ <IsStateless>False</IsStateless>
+ <VmType>0</VmType>
+ <DefaultDisplayType>1</DefaultDisplayType>
+ <BiosType>0</BiosType>
+ <OperatingSystemSection ovf:id='VM' ovf:required='false' ovirt:id='11'>
+ <Info>Microsoft Windows 7 Phony Edition</Info>
+ <Description>Windows7</Description>
+ </OperatingSystemSection>
+ <VirtualHardwareSection>
+ <Info>1 CPU, 1024 Memory</Info>
+ <Item>
+ <rasd:Caption>1 virtual cpu</rasd:Caption>
+ <rasd:Description>Number of virtual CPU</rasd:Description>
+ <rasd:InstanceId>1</rasd:InstanceId>
+ <rasd:ResourceType>3</rasd:ResourceType>
+ <rasd:num_of_sockets>1</rasd:num_of_sockets>
+ <rasd:cpu_per_socket>1</rasd:cpu_per_socket>
+ </Item>
+ <Item>
+ <rasd:Caption>1024 MB of memory</rasd:Caption>
+ <rasd:Description>Memory Size</rasd:Description>
+ <rasd:InstanceId>2</rasd:InstanceId>
+ <rasd:ResourceType>4</rasd:ResourceType>
+ <rasd:AllocationUnits>MegaBytes</rasd:AllocationUnits>
+ <rasd:VirtualQuantity>1024</rasd:VirtualQuantity>
+ </Item>
+ <Item>
+ <rasd:Caption>USB Controller</rasd:Caption>
+ <rasd:InstanceId>3</rasd:InstanceId>
+ <rasd:ResourceType>23</rasd:ResourceType>
+ <rasd:UsbPolicy>Disabled</rasd:UsbPolicy>
+ </Item>
+ <Item>
+ <rasd:Caption>Graphical Controller</rasd:Caption>
+ <rasd:InstanceId>21ec45b0-8b47-4fef-94b4-ae1b1ed87fc6</rasd:InstanceId>
+ <rasd:ResourceType>32768</rasd:ResourceType>
+ <Type>video</Type>
+ <rasd:VirtualQuantity>1</rasd:VirtualQuantity>
+ <rasd:Device>qxl</rasd:Device>
+ </Item>
+ <Item>
+ <rasd:Caption>RNG Device</rasd:Caption>
+ <rasd:InstanceId>c6c54cb5-07af-41d5-a81c-17bd1f05e754</rasd:InstanceId>
+ <rasd:ResourceType>0</rasd:ResourceType>
+ <Type>rng</Type>
+ <Device>virtio</Device>
+ <SpecParams>
+ <source>urandom</source>
+ </SpecParams>
+ </Item>
+ <Item>
+ <rasd:Caption>Memory Ballooning Device</rasd:Caption>
+ <rasd:InstanceId>6452b13b-31bd-407a-b537-aa5a72b5b13a</rasd:InstanceId>
+ <rasd:ResourceType>0</rasd:ResourceType>
+ <Type>balloon</Type>
+ <Device>memballoon</Device>
+ <SpecParams>
+ <model>virtio</model>
+ </SpecParams>
+ </Item>
+ <Item>
+ <rasd:Caption>Drive 1</rasd:Caption>
+ <rasd:InstanceId>VOL</rasd:InstanceId>
+ <rasd:ResourceType>17</rasd:ResourceType>
+ <Type>disk</Type>
+ <rasd:HostResource>VOL</rasd:HostResource>
+ <rasd:Parent>00000000-0000-0000-0000-000000000000</rasd:Parent>
+ <rasd:Template>00000000-0000-0000-0000-000000000000</rasd:Template>
+ <rasd:ApplicationList/>
+ <rasd:StorageId>12345678-1234-1234-1234-123456789abc</rasd:StorageId>
+ <rasd:StoragePoolId>00000000-0000-0000-0000-000000000000</rasd:StoragePoolId>
+ <rasd:CreationDate>2019/06/12 10:17:17</rasd:CreationDate>
+ <rasd:LastModified>2019/06/12 10:17:17</rasd:LastModified>
+ <rasd:last_modified_date>2019/06/12 10:17:17</rasd:last_modified_date>
+ <BootOrder>1</BootOrder>
+ </Item>
+ <Item>
+ <rasd:InstanceId>22c5a61a-18b8-49d9-9eb9-8469258bb68d</rasd:InstanceId>
+ <rasd:Caption>Ethernet adapter on default</rasd:Caption>
+ <rasd:ResourceType>10</rasd:ResourceType>
+ <rasd:ResourceSubType>3</rasd:ResourceSubType>
+ <Type>interface</Type>
+ <rasd:Connection>default</rasd:Connection>
+ <rasd:Name>eth0</rasd:Name>
+ <rasd:MACAddress>00:11:22:33:44:55</rasd:MACAddress>
+ </Item>
+ </VirtualHardwareSection>
+ </VirtualSystem>
+</ovf:Envelope>
+
+</pre>
--- /dev/null
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<link rel="stylesheet" href="style.css" type="text/css"/>
+<script src="code.js" type="text/javascript"></script>
+
+<h1>KVM to KVM migrations: metadata</h1>
+
+<pre>
+---
+apiVersion: v1
+kind: Template
+metadata:
+ annotations:
+ description: OCP KubeVirt Red Hat Enterprise Linux 7.4 VM template
+ iconClass: icon-rhel
+ tags: kubevirt,ocp,template,linux,virtualmachine
+ labels:
+ kubevirt.io/os: rhel-7.4
+ miq.github.io/kubevirt-is-vm-template: "true"
+ name: vm-template-rhel7
+objects:
+- apiVersion: kubevirt.io/v1alpha3
+ kind: VirtualMachine
+ metadata:
+ creationTimestamp: null
+ labels:
+ kubevirt-vm: vm-${NAME}
+ kubevirt.io/os: rhel-7.4
+ name: ${NAME}
+ spec:
+ running: false
+ template:
+ metadata:
+ creationTimestamp: null
+ labels:
+ kubevirt-vm: vm-${NAME}
+ kubevirt.io/os: rhel-7.4
+ spec:
+ domain:
+ cpu:
+ cores: ${{CPU_CORES}}
+ devices:
+ disks:
+ - disk:
+ bus: virtio
+ name: disk0
+ machine:
+ type: ""
+ resources:
+ requests:
+ memory: ${MEMORY}
+ terminationGracePeriodSeconds: 0
+ volumes:
+ - name: disk0
+ persistentVolumeClaim:
+ claimName: linux-vm-pvc-${NAME}
+ status: {}
+- apiVersion: v1
+ kind: PersistentVolumeClaim
+ metadata:
+ creationTimestamp: null
+ name: linux-vm-pvc-${NAME}
+ spec:
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 10Gi
+ status: {}
+parameters:
+- description: Name for the new VM
+ name: NAME
+- description: Amount of memory
+ name: MEMORY
+ value: 4096Mi
+- description: Amount of cores
+ name: CPU_CORES
+ value: "4"
+
+</pre>