search for: libvirtxml

Displaying 20 results from an estimated 173 matches for "libvirtxml".

2010 Jan 29
4
[FOR REVIEW ONLY] ESX work in progress
...I just had an exit in there). The meat is really in the 4th patch. The rename of MetadataReader->Connection was because the Connection is now really providing the whole guest, rather than just its metadata. I intend to add more transfer methods once ESX conversion is working. A copy method for LibVirtXML is required at least. _storage_iterate in Sys::VirtV2V::Connection does interesting things with the domain's storage devices. I'd especially appreciate a close look there. Matt
2010 Jun 18
1
[PATCH] Improve error message when LibvirtXML is given invalid domain XML
If a user accidentally passed a valid XML document to the LibvirtXML which wasn't actually a libvirt domain XML document, they would end up getting obtuse errors from a libguestfs library. This change does 2 sanity checks: 1. After parsing a the XML document, check /domain/name exists. 2. Check that the domain defines some storage The second check is generally...
2010 Feb 01
9
[ESX support] Working ESX conversion for RHEL 5
With this patchset I have successfully[1] imported a RHEL 5 guest directly from ESX with the following command line: virt-v2v -ic 'esx://yellow.marston/?no_verify=1' -op transfer RHEL5-64 Login details are stored in ~/.netrc Note that this is the only guest I've tested against. I haven't for example, checked that I haven't broken Xen imports. Matt [1] With the exception of
2010 Mar 31
1
[PATCH] Add LocalCopy transfer method to transfer local files to a target
...uire a pool to be specified when using libvirt output, meaning storage will always be copied. --- MANIFEST | 1 + lib/Sys/VirtV2V/Connection.pm | 74 +++++++++--------- lib/Sys/VirtV2V/Connection/LibVirt.pm | 18 +++-- lib/Sys/VirtV2V/Connection/LibVirtXML.pm | 11 ++- lib/Sys/VirtV2V/Target/LibVirt.pm | 18 ++--- lib/Sys/VirtV2V/Transfer/ESX.pm | 7 +- lib/Sys/VirtV2V/Transfer/LocalCopy.pm | 121 ++++++++++++++++++++++++++++++ v2v/virt-v2v.pl | 7 ++- 8 files changed, 193 insertions(+), 64 delet...
2011 Jan 26
1
[PATCH] Don't use libvirt for volume information when converting with libvirtxml
Unless you're lucky, the target volumes won't be in a storage pool, so libvirt will return an error. For libvirtxml we know that the storage is local, so we can inspect it directly. We use qemu-img to determine format and file size. --- lib/Sys/VirtV2V/Connection/LibVirtXMLSource.pm | 48 ++++++++++++++++++++--- 1 files changed, 41 insertions(+), 7 deletions(-) diff --git a/lib/Sys/VirtV2V/Connection/LibVirt...
2015 Aug 28
0
Re: v2v: -i libvirtxml: Map empty network or bridge name to a default (RHBZ#1257895).
In data venerdì 28 agosto 2015 14:19:05, Richard W.M. Jones ha scritto: > When importing from VMware via the libvirt driver, the libvirt driver > can add an empty source bridge name: > > <interface type='bridge'> > <mac address='00:01:02:03:04:05:06'/> > <source bridge=''/> > </interface> > > Replicate
2016 Sep 21
1
[PATCH] v2v: -i libvirtxml: ignore <listen type='none'> (RHBZ#1378022)
When reading a libvirt XML which has: <graphics ...> <listen type='none'/> </graphics> then just ignore it, as it is (roughly) the same as no <listen> child elements at all. This avoids a warning about an unknown listen type. --- v2v/input_libvirtxml.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/v2v/input_libvirtxml.ml b/v2v/input_libvirtxml.ml index 33e878e..1540798 100644 --- a/v2v/input_libvirtxml.ml +++ b/v2v/input_libvirtxml.ml @@ -101,6 +101,7 @@ let parse_libvirt_xml ?conn xml = (* Use only the first <listen> co...
2010 Feb 09
5
[PATCH 1/6] Convert config file to XML, and translate networks/bridge for all connections
Previously, only the LibVirtXML connection translated network and bridge names in imported metadata. This change moves this functionality in Converter, making it available to LibVirt connections as well. At the same time, the format of the config file is switched to XML. The primary driver for this is that the allowable syntax o...
2017 Jun 29
0
[PATCH] v2v: Allow -i libvirtxml to open network disks over http or https.
Currently -i libvirtxml mode only works for local files or NBD disks. The purpose of NBD is to support virt-p2v. This change adds support for network disks over http or https, ie: <disk type='network' device='disk'> <driver name='qemu' type='raw'/> <source p...
2010 Jul 14
1
[PATCH] Documentation: Cleanup virt-v2v.conf references and mention --network
...--------------- 1 files changed, 34 insertions(+), 22 deletions(-) diff --git a/v2v/virt-v2v.pl b/v2v/virt-v2v.pl index adaa9a9..29716d2 100755 --- a/v2v/virt-v2v.pl +++ b/v2v/virt-v2v.pl @@ -49,12 +49,13 @@ virt-v2v - Convert a guest to use KVM =head1 SYNOPSIS - virt-v2v -f virt-v2v.conf -i libvirtxml -op transfer guest-domain.xml + virt-v2v -i libvirtxml -op imported --network default guest-domain.xml - virt-v2v -f virt-v2v.conf -ic esx://esx.server/ -op transfer esx_guest + virt-v2v -ic esx://esx.server/ -op imported --network default esx_guest - virt-v2v -f virt-v2v.conf -ic esx://esx.ser...
2023 Jun 29
1
[v2v PATCH v2 3/3] docs/virt-v2v: document libvirt system instance startup
...2v.pod b/docs/virt-v2v.pod index 4d2f241ad723..ac15108ae332 100644 --- a/docs/virt-v2v.pod +++ b/docs/virt-v2v.pod @@ -250,24 +250,26 @@ metadata. virt-v2v tries to guess the best default metadata. This is usually adequate but you can get finer control (eg. of memory and vCPUs) by using I<-i libvirtxml> instead. Only guests that use a single disk can be imported this way. =item B<-i> B<libvirt> Set the input method to I<libvirt>. This is the default. In this mode you have to specify a libvirt guest name or UUID on the command line. You may also specify a libvirt...
2023 Jun 27
1
[v2v PATCH] docs/virt-v2v: document libvirt system instance startup
...2v.pod b/docs/virt-v2v.pod index 4d2f241ad723..2bd0b4425d80 100644 --- a/docs/virt-v2v.pod +++ b/docs/virt-v2v.pod @@ -250,24 +250,26 @@ metadata. virt-v2v tries to guess the best default metadata. This is usually adequate but you can get finer control (eg. of memory and vCPUs) by using I<-i libvirtxml> instead. Only guests that use a single disk can be imported this way. =item B<-i> B<libvirt> Set the input method to I<libvirt>. This is the default. In this mode you have to specify a libvirt guest name or UUID on the command line. You may also specify a libvirt...
2017 Oct 08
3
Re: Virtualbox vdi Input Format and man pages
...and set the VIRTIO_WIN environment variable to point to it: > >   http://libguestfs.org/virt-v2v.1.html#environment-variables > The above is done (easy). > Do you have metadata from VirtualBox (number of CPUs, RAM, etc) in > some format? If not, then you should probably use the ‘-i libvirtxml’ > input method. You will have to write or modify the metadata, as > documented here: > >   http://libguestfs.org/virt-v2v.1.html#minimal-xml-for--i-libvirtxml-option > Please bear with me but I really don't have enough info as to HOW to modify the xml template., beyond the obvi...
2016 Oct 05
2
Re: libvirt-v2v error
...--------------------------------------------- *-v and -x options are not working in my case.* *[root@kvm16 ~]#* virt-v2v -v -ic esx://10.16.32.13/?no_verify=1 yardqakvm -o rhev -os 10.16.32.16:/vm-images/export_domain --network rhevm Option v is ambiguous (version, vmtype) Usage: virt-v2v -i libvirtxml -os imported --network default guest-domain.xml virt-v2v -ic esx://esx.server/ -os imported --network default esx_guest virt-v2v -ic esx://esx.server/ \ -o rhev -os rhev.nfs.storage:/export_domain --network rhevm \ esx_guest *[root@kvm16 ~]#* virt-v2v -x -ic...
2017 Aug 19
3
Virtualbox vdi Input Format and man pages
Hi, I am new to v2v/libguestfs. I need to convert a 30 GB virtual machine running Windows7 64 bit (a guest on a Linux system) from Virtualbox vdi format to qcow2 (or raw/img--another debate in itself) so I can use libvirt/qemu/kvm to run it and completely migrate away from Virtualbox. The vdi machine is a mission critical production environment and I cannot afford to mess it up, etc. Will keep
2023 Jun 28
1
[v2v PATCH] docs/virt-v2v: document libvirt system instance startup
...; index 4d2f241ad723..2bd0b4425d80 100644 > --- a/docs/virt-v2v.pod > +++ b/docs/virt-v2v.pod > @@ -250,24 +250,26 @@ metadata. virt-v2v tries to guess the best default metadata. This is > usually adequate but you can get finer control (eg. of memory and > vCPUs) by using I<-i libvirtxml> instead. Only guests that use a single > disk can be imported this way. > > =item B<-i> B<libvirt> > > Set the input method to I<libvirt>. This is the default. > > In this mode you have to specify a libvirt guest name or UUID on the > comma...
2010 Feb 12
11
[PATCH 1/9] Convert config file to XML, and translate networks/bridge for all connections
Previously, only the LibVirtXML connection translated network and bridge names in imported metadata. This change moves this functionality in Converter, making it available to LibVirt connections as well. At the same time, the format of the config file is switched to XML. The primary driver for this is that the allowable syntax o...
2023 Jun 28
1
[v2v PATCH] docs/virt-v2v: document libvirt system instance startup
.....2bd0b4425d80 100644 >> --- a/docs/virt-v2v.pod >> +++ b/docs/virt-v2v.pod >> @@ -250,24 +250,26 @@ metadata. virt-v2v tries to guess the best default metadata. This is >> usually adequate but you can get finer control (eg. of memory and >> vCPUs) by using I<-i libvirtxml> instead. Only guests that use a single >> disk can be imported this way. >> >> =item B<-i> B<libvirt> >> >> Set the input method to I<libvirt>. This is the default. >> >> In this mode you have to specify a libvirt guest nam...
2010 Mar 31
1
[PATCH] Documentation: Update virt-v2v pod for RHEV export and IDE default
...a4728..3559738 100755 --- a/v2v/virt-v2v.pl +++ b/v2v/virt-v2v.pl @@ -21,7 +21,6 @@ use strict; use Pod::Usage; use Getopt::Long; -#use Data::Dumper; use File::Spec; use File::stat; @@ -50,16 +49,19 @@ virt-v2v - Convert a guest to use KVM =head1 SYNOPSIS - virt-v2v -f virt-v2v.conf -i libvirtxml guest-domain.xml + virt-v2v -f virt-v2v.conf -i libvirtxml -op transfer guest-domain.xml - virt-v2v -f virt-v2v.conf -ic esx://esx.server/ -op transfer guest-domain + virt-v2v -f virt-v2v.conf -ic esx://esx.server/ -op transfer esx_guest + + virt-v2v -f virt-v2v.conf -ic esx://esx.server/ \ +...
2023 Jun 28
1
[v2v PATCH] docs/virt-v2v: document libvirt system instance startup
...; >> --- a/docs/virt-v2v.pod > >> +++ b/docs/virt-v2v.pod > >> @@ -250,24 +250,26 @@ metadata. virt-v2v tries to guess the best default metadata. This is > >> usually adequate but you can get finer control (eg. of memory and > >> vCPUs) by using I<-i libvirtxml> instead. Only guests that use a single > >> disk can be imported this way. > >> > >> =item B<-i> B<libvirt> > >> > >> Set the input method to I<libvirt>. This is the default. > >> > >> In this mode you...