[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [PATCH] v2v: Add the test-harness used by external tests.

On Wed, Mar 11, 2015 at 11:02:44AM +0100, Pino Toscano wrote:
> On Tuesday 10 March 2015 18:31:41 Richard W.M. Jones wrote:
> > +    (* Boot the guest. *)
> > +    let conn = C.connect () in
> > +    let dom = D.create_xml conn boot_xml [D.START_AUTODESTROY] in
> When using ocaml-libvirt (as shipped in f21), this results in:
>   File "v2v_test_harness.ml", line 174, characters 14-26:
>   Error: Unbound value D.create_xml
> Indeed, the ocaml-libvirt in that version has no Domain.create_xml,
> nor Domain flags like START_AUTODESTROY.

Yup, I need to backport this patch to F21:



Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]