[pve-devel] [PATCH qemu-server v3 0/4] Initial support for OVF import
Emmanuel Kasper
e.kasper at proxmox.com
Thu Mar 30 15:19:49 CEST 2017
Please ignore this patch serie, I did a mistake when rebasing ( patch 2
should not exist, and patch 3 should be split in two differents patches )
On 03/29/2017 04:53 PM, Emmanuel Kasper wrote:
> This patch serie adds initial support for creating VMs from OVF
> manifests, adding a new command with the following synthax
>
> qm ovfimport -manifest path_to_manifest.ovf {vmid}
>
> For the momment we only parse VM name, cores count and
> memory.
>
> For testing one can use the Windows IE Edge test VMWare machine from
> https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
>
> Changes since V2:
> * use XML::LibXML instead of XML::Simple as XML::Simple is deprecated
> * use xpath queries instead of navigating a nested hash structure
> (nested hash structures only map to simple XML documents)
> * add OVF manifests and a test script in /test directory
>
> Emmanuel Kasper (4):
> Force overwriting existing compressed man pages and symbolic links
> Initial parsing of OVF files
> Add a new command line option 'ovfimport', to create VMs from an OVF
> manifest
> Add tests for ovfimport function
>
> Makefile | 8 +-
> PVE/CLI/qm.pm | 47 ++++++
> PVE/QemuServer/Makefile | 1 +
> PVE/QemuServer/OVF.pm | 223 +++++++++++++++++++++++++++
> control.in | 2 +-
> test/Makefile | 3 +
> test/ovf_manifests/Win10-Liz-disk1.vmdk | Bin 0 -> 65536 bytes
> test/ovf_manifests/Win10-Liz.ovf | 142 +++++++++++++++++
> test/ovf_manifests/Win_2008_R2_two-disks.ovf | 145 +++++++++++++++++
> test/ovf_manifests/disk1.vmdk | Bin 0 -> 65536 bytes
> test/ovf_manifests/disk2.vmdk | Bin 0 -> 65536 bytes
> test/run_ovf_tests.pl | 41 +++++
> 12 files changed, 607 insertions(+), 5 deletions(-)
> create mode 100644 PVE/QemuServer/OVF.pm
> create mode 100644 test/ovf_manifests/Win10-Liz-disk1.vmdk
> create mode 100755 test/ovf_manifests/Win10-Liz.ovf
> create mode 100755 test/ovf_manifests/Win_2008_R2_two-disks.ovf
> create mode 100644 test/ovf_manifests/disk1.vmdk
> create mode 100644 test/ovf_manifests/disk2.vmdk
> create mode 100755 test/run_ovf_tests.pl
>
More information about the pve-devel
mailing list