search for: virtconvert

Displaying 20 results from an estimated 50 matches for "virtconvert".

2013 Oct 31
6
[PATCH 0/4] virt-v2v: Convert RedHat.pm to Linux.pm
...hanges after we work through any issues raised here. Mike Latimer (4): Rename RedHat.pm to Linux.pm Make Linux.pm more generic Handle block remaps in grub and grub2 files Support multiple display types through guestcaps MANIFEST | 2 +- lib/Sys/VirtConvert/Connection/LibVirtTarget.pm | 14 +- .../VirtConvert/Converter/{RedHat.pm => Linux.pm} | 225 ++++++++++++++++----- po/POTFILES.in | 2 +- 4 files changed, 185 insertions(+), 58 deletions(-) rename lib/Sys/VirtConvert/Converter/{RedHat.pm => Linux.p...
2011 Apr 26
7
[PATCH 1/7] Push $desc creation into Sys::VirtConvert::Converter->convert
This change is part of an ongoing effort to remove use of $desc and inspect the OS directly as required during conversion. --- lib/Sys/VirtConvert/Connection/LibVirtTarget.pm | 4 +- lib/Sys/VirtConvert/Connection/RHEVTarget.pm | 41 +++++++++--------- lib/Sys/VirtConvert/Converter.pm | 35 ++++++++++++---- lib/Sys/VirtConvert/Converter/RedHat.pm | 45 +++++++++++-------- lib/Sys/VirtConvert/Converter/Window...
2012 Mar 05
2
[PATCH] Remove call to set_autosync.
From: "Richard W.M. Jones" <rjones at redhat.com> This is the default since libguestfs 1.6. It does not need to be explicitly set. See also https://bugzilla.redhat.com/show_bug.cgi?id=799798#c6 --- lib/Sys/VirtConvert/GuestfsHandle.pm | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/lib/Sys/VirtConvert/GuestfsHandle.pm b/lib/Sys/VirtConvert/GuestfsHandle.pm index 01d7eb0..c370007 100644 --- a/lib/Sys/VirtConvert/GuestfsHandle.pm +++ b/lib/Sys/VirtConvert/GuestfsHandle.pm @@ -103,9 +103,...
2013 Oct 12
0
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...t me know if I've created any new ones? ;) Other than the concern about being a little too obsessed about the 79 character line length. ;) This version of the patch has all the unecessary cleanup removed, and only the necessary cleanup left. Should be easier to deal with. -Mike --- .../VirtConvert/Converter/{RedHat.pm => Linux.pm} | 679 +++++++++++++++++---- 1 file changed, 567 insertions(+), 112 deletions(-) rename lib/Sys/VirtConvert/Converter/{RedHat.pm => Linux.pm} (77%) diff --git a/lib/Sys/VirtConvert/Converter/RedHat.pm b/lib/Sys/VirtConvert/Converter/Linux.pm similarity i...
2013 Oct 11
2
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...ritating build number... But I've been careful to avoid changing variables for non-SUSE environments. There are a couple of small places that could still happen (in _inspect_linux_kernel), but I think there are enough safeguards in place that it shouldn't happen. Thanks, Mike --- .../VirtConvert/Converter/{RedHat.pm => Linux.pm} | 797 ++++++++++++++++----- 1 file changed, 632 insertions(+), 165 deletions(-) rename lib/Sys/VirtConvert/Converter/{RedHat.pm => Linux.pm} (75%) diff --git a/lib/Sys/VirtConvert/Converter/RedHat.pm b/lib/Sys/VirtConvert/Converter/Linux.pm similarity i...
2011 Apr 26
1
[PATCH] Don't set distro for non-Linux guests
'distro' isn't used anywhere for Windows guests. However, if it's set, it's required to be matched in virt-v2v.conf. Rather than have to update the config again, just don't set it for Windows guests. --- lib/Sys/VirtConvert/Converter.pm | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/lib/Sys/VirtConvert/Converter.pm b/lib/Sys/VirtConvert/Converter.pm index 28c57d5..6b9f8f9 100644 --- a/lib/Sys/VirtConvert/Converter.pm +++ b/lib/Sys/VirtConvert/Converter.pm @@ -102,7 +102,8 @@ sub convert...
2012 Jul 11
1
[PATCH] virt-v2v: Create a libvirt-friendly volume name
...ch, the volume name is very friendly like guest name: # virsh vol-list pool-dir Name Path ----------------------------------------- esx4.1-rhel6.2-x86_64 /mnt/esx4.1-rhel6.2-x86_64 Signed-off-by: Alex Jia <ajia at redhat.com> --- lib/Sys/VirtConvert/Transfer/ESX.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Sys/VirtConvert/Transfer/ESX.pm b/lib/Sys/VirtConvert/Transfer/ESX.pm index 23969cd..f29eb31 100644 --- a/lib/Sys/VirtConvert/Transfer/ESX.pm +++ b/lib/Sys/VirtConvert/Transfer/ESX.pm @@ -368,8 +368,9 @@...
2014 Jan 03
1
[PATCH] virt-v2v: Fix typo in Windows conversion warning message
--- lib/Sys/VirtConvert/Converter/Windows.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Sys/VirtConvert/Converter/Windows.pm b/lib/Sys/VirtConvert/Converter/Windows.pm index 765ed9f..59d273f 100644 --- a/lib/Sys/VirtConvert/Converter/Windows.pm +++ b/lib/Sys/VirtConvert/Converter/Windows.pm @@...
2014 Jan 03
1
[PATCH] virt-v2v: Check for firstboot before unconfiguring XenPV
Although not fatal, _unconfigure_xenpv should report a warning and return if firstboot is not available (during Windows conversions). --- lib/Sys/VirtConvert/Converter/Windows.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/Sys/VirtConvert/Converter/Windows.pm b/lib/Sys/VirtConvert/Converter/Windows.pm index 59d273f..ce8b474 100644 --- a/lib/Sys/VirtConvert/Converter/Windows.pm +++ b/lib/Sys/VirtConvert/Converter/Windows.pm @@ -564,6 +5...
2012 Aug 24
1
virt-v2v trouble converting Xen Centos 5.X to KVM Centos 6.3 or Fedora 17
...nder the vg5 pool has been deleted once the script exits. vm-alan2: 100% [=====================================================]D 0h08m16s Use of uninitialized value $transferdev in quotemeta at /bin/virt-v2v line 609. Use of qw(...) as parentheses is deprecated at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm line 169. Use of qw(...) as parentheses is deprecated at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm line 178. Use of qw(...) as parentheses is deprecated at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm line 230. Use of qw(...) as parenth...
2013 Oct 31
0
[PATCH] virt-v2v: Add use augeas_error to GrubLegacy, plus typo fixup
The following patch adds augeas_error to the Sys::VirtConvert::Util use statement for GrubLegacy (matching what is used in the Grub2 package). This is required to prevent an undefined subroutine error for the augeas_error call in list_kernels(). There are also a few minor typo fixups: - A message string in _configure_kernel was missing the $ before a varia...
2014 Jan 03
1
[PATCH] virt-v2v: Default to non-virtio drivers if driver path is missing
...he configured virtio driver path does not exist. If the path exists but is empty, the conversion completes correctly by defaulting to the non-virtio drivers. This patch treats a missing directory just like missing drivers, by reporting a message, then defaulting to non-virtio drivers. --- lib/Sys/VirtConvert/Converter/Windows.pm | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/lib/Sys/VirtConvert/Converter/Windows.pm b/lib/Sys/VirtConvert/Converter/Windows.pm index ce8b474..feeb2b9 100644 --- a/lib/Sys/VirtConvert/Converter/Windows.pm +++ b/lib/Sys/VirtConver...
2013 Oct 07
3
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
On Friday, October 04, 2013 09:38:58 AM Matthew Booth wrote: > It's specifically an error if we're attempting to configure virtio, and > there's no detected virtio kernel. It shouldn't have been possible to > get here in that state, hence it's a programmer error. The code below > attempts to install *any* kernel in the case that we aren't configuring >
2014 Apr 24
2
[PATCH] virt-v2v: Catch invalid initrd path
...tart with a / character This patch prevents the problem by adding device.map (for /boot/grub and /boot/grub2) to the list of configurations to remap, then adds a check to ensure invalid paths are not passed to is_file_opts. Note - This is for the existing (perl version) of virt-v2v. --- lib/Sys/VirtConvert/Converter/Linux.pm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/Sys/VirtConvert/Converter/Linux.pm b/lib/Sys/VirtConvert/Converter/Linux.pm index e8463bc..b673120 100644 --- a/lib/Sys/VirtConvert/Converter/Linux.pm +++ b/lib/Sys/VirtConvert/Converter/Linux.pm @@...
2013 Sep 03
0
[PATCH] virt-v2v: Fix 'isn't numeric in numeric gt' error in grub check (RHBZ#974441)
This patch fixes an incorrect integer comparison that results in the following error: Argument "/files/boot/grub/menu.lst/title[1]/kernel" isn't numeric in numeric gt (>) at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm line 206. This problem is not fatal, but it can result in duplicate entries in menu.lst. --- lib/Sys/VirtConvert/Converter/RedHat.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Sys/VirtConvert/Converter/RedHat.pm b/lib/Sys/VirtConvert/Converter/R...
2013 Sep 25
5
Re: [PATCH 3/4] Add SUSE converter
...separate module Thanks, Matt On Mon, 2013-09-23 at 18:32 -0600, Mike Latimer wrote: > The SUSE converter itself, based on the RedHat converter. This supports > converting SLES 10/11 and openSUSE 10/11/12/13. > > --- > MANIFEST | 1 + > lib/Sys/VirtConvert/Converter/SUSE.pm | 2527 +++++++++++++++++++++++++++++++++ > 2 files changed, 2528 insertions(+) > > diff --git a/MANIFEST b/MANIFEST > index 3724fde..615ec32 100644 > --- a/MANIFEST > +++ b/MANIFEST > @@ -17,6 +17,7 @@ lib/Sys/VirtConvert/Connection/VMwareOVASource.pm >...
2013 Sep 24
5
[PATCH 0/4] Add SUSE guest converter to virt-v2v
...ons.) Feedback is welcome (particularly on my virt-v2v.db and messaging changes). -Mike Mike Latimer (4): Add SUSE support documentation to virt-v2v Add SUSE capabilities Add SUSE converter Add verbose logging switches to virt-v2v MANIFEST | 1 + lib/Sys/VirtConvert/Converter/SUSE.pm | 2527 +++++++++++++++++++++++++++++++++ v2v/virt-v2v.conf | 8 + v2v/virt-v2v.db | 61 + v2v/virt-v2v.pl | 61 +- 5 files changed, 2655 insertions(+), 3 deletions(-) create mode 100644 lib/Sys/VirtConvert/Co...
2013 Sep 25
1
[PATCH 0/1] virt-v2v: Track hd->sd block device remaps
...uch places as /etc/fstab, and /boot/grub/menu.lst), to skip the hd* devices, which leads to a later failure of the guest. This patch adds a hash to track the hd->sd remap, and later uses that hash to add hd->vd maps to the table. Mike Latimer (1): Track hd sd block device remaps lib/Sys/VirtConvert/Converter/RedHat.pm | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) -- 1.8.1.4
2013 Sep 24
0
[PATCH 3/4] Add SUSE converter
The SUSE converter itself, based on the RedHat converter. This supports converting SLES 10/11 and openSUSE 10/11/12/13. --- MANIFEST | 1 + lib/Sys/VirtConvert/Converter/SUSE.pm | 2527 +++++++++++++++++++++++++++++++++ 2 files changed, 2528 insertions(+) diff --git a/MANIFEST b/MANIFEST index 3724fde..615ec32 100644 --- a/MANIFEST +++ b/MANIFEST @@ -17,6 +17,7 @@ lib/Sys/VirtConvert/Connection/VMwareOVASource.pm lib/Sys/VirtConvert/Connection/Volume.pm...
2012 Oct 19
1
[PATCH] windows: Fix creation of /Temp/V2V directory (RHBZ#868073).
...W.M. Jones" <rjones at redhat.com> case_sensitive_path was not defined when called on a path where the final element doesn't exist. In libguestfs >= 1.16.29 it was changed to return non-NULL if the final element doesn't exist so that creation of new files works. --- lib/Sys/VirtConvert/Converter/Windows.pm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/Sys/VirtConvert/Converter/Windows.pm b/lib/Sys/VirtConvert/Converter/Windows.pm index ce89a67..d4885be 100644 --- a/lib/Sys/VirtConvert/Converter/Windows.pm +++ b/lib/Sys/VirtConvert/Converter/Windo...