This patch aims to extend libvirt functionality to define new
domain using a given OVA package. The patch consist of multiple
commits divided mainly into two categories:
Infrastructure support:
-----------------------
Patch 1,2 and 5 lays the foundation work including:
1. Libvirt Public API support.
2. OVA file handling and parsing operations.
3. virsh command.
ESX specific implementation:
---------------------------
Patch 3 and 4 adds implementation support to define new domain
for a ESX hypervisor.
NOTE:
-----
During development of this patch, I have fixed two issues with
exisiting ESX hypervisor driver, they are posted as seperate
reviews:
1.
https://www.redhat.com/archives/libvir-list/2012-December/msg01377.html
2.
https://www.redhat.com/archives/libvir-list/2013-January/msg00007.html
Above patches are necessary for proper functioning of the proposed feature.
Ata E Husain Bohra (5):
Public API to allow defining new domain using OVA file
Parsing and file handling operations for an OVA file
ESX: CURL routine to allow file upload to the server
ESX: Driver support to define new domain using an OVA pacakge
virsh: Command to define new domain using OVA package.
include/libvirt/libvirt.h.in | 3 +
po/POTFILES.in | 1 +
src/Makefile.am | 1 +
src/driver.h | 5 +
src/esx/esx_driver.c | 573 +++++++++++++++++++++++++-
src/esx/esx_vi.c | 147 ++++++-
src/esx/esx_vi.h | 35 +-
src/esx/esx_vi_generator.input | 862 +++++++++++++++++++++++++++++++++++++++-
src/esx/esx_vi_generator.py | 13 +-
src/esx/esx_vi_types.c | 13 +-
src/libvirt.c | 58 +++
src/libvirt_public.syms | 5 +
src/util/virova.c | 463 +++++++++++++++++++++
src/util/virova.h | 68 ++++
tools/virsh-domain.c | 44 ++
15 files changed, 2264 insertions(+), 27 deletions(-)
create mode 100644 src/util/virova.c
create mode 100644 src/util/virova.h
--
1.7.9.5