Richard W.M. Jones
2016-Jun-14 12:16 UTC
[Libguestfs] [PATCH] v2v: OVF: Add new <Origin/> values for virt-p2v and HyperV.
See proposed change to oVirt: https://gerrit.ovirt.org/#/c/59147/ and RHBZ#1342398. Thanks: Shahar Havivi --- v2v/OVF.ml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/v2v/OVF.ml b/v2v/OVF.ml index 6d24d97..95e4e9f 100644 --- a/v2v/OVF.ml +++ b/v2v/OVF.ml @@ -186,11 +186,15 @@ and get_ostype = function (* Set the <Origin/> element based on the source hypervisor. * https://bugzilla.redhat.com/show_bug.cgi?id=1342398#c6 + * https://gerrit.ovirt.org/#/c/59147/ + * ovirt-engine.git: backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/OriginType.java *) let origin_of_source_hypervisor = function | VMware -> Some 1 | Xen -> Some 2 | QEmu | KVM -> Some 7 + | Physical -> Some 8 + | HyperV -> Some 9 (* Anything else is mapped to None, which causes the <Origin/> * element to be omitted from the OVF output, which causes oVirt -- 2.7.4
Shahar Havivi
2016-Jun-14 12:22 UTC
Re: [Libguestfs] [PATCH] v2v: OVF: Add new <Origin/> values for virt-p2v and HyperV.
On 14.06.16 13:16, Richard W.M. Jones wrote: +1> See proposed change to oVirt: https://gerrit.ovirt.org/#/c/59147/ > and RHBZ#1342398. > > Thanks: Shahar Havivi > --- > v2v/OVF.ml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/v2v/OVF.ml b/v2v/OVF.ml > index 6d24d97..95e4e9f 100644 > --- a/v2v/OVF.ml > +++ b/v2v/OVF.ml > @@ -186,11 +186,15 @@ and get_ostype = function > > (* Set the <Origin/> element based on the source hypervisor. > * https://bugzilla.redhat.com/show_bug.cgi?id=1342398#c6 > + * https://gerrit.ovirt.org/#/c/59147/ > + * ovirt-engine.git: backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/OriginType.java > *) > let origin_of_source_hypervisor = function > | VMware -> Some 1 > | Xen -> Some 2 > | QEmu | KVM -> Some 7 > + | Physical -> Some 8 > + | HyperV -> Some 9 > > (* Anything else is mapped to None, which causes the <Origin/> > * element to be omitted from the OVF output, which causes oVirt > -- > 2.7.4 > > _______________________________________________ > Libguestfs mailing list > Libguestfs@redhat.com > https://www.redhat.com/mailman/listinfo/libguestfs
Maybe Matching Threads
- [PATCH] v2v: OVF: Set <Origin/> field correctly based on source hypervisor.
- Re: [PATCH v2 1/2] v2v: OVF: write ovirt:id attribute for the OS in OVirt flavour
- Re: [PATCH v2 1/2] v2v: OVF: write ovirt:id attribute for the OS in OVirt flavour
- [PATCH] v2v: OVF: write ovirt:id attribute for the OS in OVirt flavour
- Re: [PATCH v2 1/2] v2v: OVF: write ovirt:id attribute for the OS in OVirt flavour