Displaying 8 results from an estimated 8 matches for "idedevic".
Did you mean:
idedevice
2013 Sep 25
0
[PATCH 1/1] Track hd->sd block device remaps
...@devices = @newdevices;
@@ -2285,6 +2294,13 @@ sub _remap_block_devices
$map{'xvd'.$1} = $mapped;
}
$map{$device} = $mapped;
+ # Also add a mapping for previously saved hd->sd conversions
+ if (defined($idemap{$device})) {
+ my $idedevice;
+ $idedevice = $idemap{$device};
+ $map{$idedevice} = $mapped;
+ }
+
$letter++;
}
--
1.8.1.4
2013 Sep 25
1
[PATCH 0/1] virt-v2v: Track hd->sd block device remaps
During the conversion process, hd* block devices under Xen are mapped
to sd* devices for use under guestfs. These sd devices are later
remapped to vd* (or sd/hd) devices, for future use under kvm.
The current code fails to track the original hd* device names. This
causes subsequent remappings of the block devices (in such places as
/etc/fstab, and /boot/grub/menu.lst), to skip the hd* devices,
2013 Oct 03
0
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...-2286,12 +2601,21 @@ sub _remap_block_devices
> $map{'xvd'.$1} = $mapped;
> }
> $map{$device} = $mapped;
> + # Also add a mapping for previously saved hd->sd conversions
> + if (defined($idemap{$device})) {
> + my $idedevice;
> + $idedevice = $idemap{$device};
> + $map{$idedevice} = $mapped;
> + }
> +
I've had a change to think about this change properly, and I'm pretty
sure it's not required. The reason is that the only place %idemap is
modified is in the section...
2013 Sep 25
0
Re: [PATCH 3/4] Add SUSE converter
Matt,
Thanks for the extensive comments. I'll go through them in detail, but it
won't be until next week. For the time being, here's a quick take on some of
the main issues:
> I do have a major concern, though, which is this is basically a fork of
> RedHat.pm. There are well over 1,000 identical lines of code between the
> 2 modules. Many of the differences are relatively
2013 Sep 25
5
Re: [PATCH 3/4] Add SUSE converter
...ed;
> + }
> + $map{$device} = $mapped;
> + # Also add a mapping for previously saved hd->sd conversions
> + #if (defined($idemap{$device}) && (($idemap{$device}) ne "")){
> + if (defined($idemap{$device})){
> + my $idedevice;
> + $idedevice = $idemap{$device};
> + $map{$idedevice} = $mapped;
> + }
> +
> + $letter++;
> + }
> +
> + eval {
> + # Update bare device references in fstab and grub's menu.lst and device.map
> + foreach my...
2013 Sep 24
5
[PATCH 0/4] Add SUSE guest converter to virt-v2v
This is a new conversion module to convert SUSE Linux and openSUSE guests.
The converter is based on the RedHat module, and should offer the same
functionality on both SUSE and RedHat hosts.
There are a few additional messages in this module, such as reporting of
packages when installing through zypper or the local virt-v2v repo. These
messages don't necessarily flow unless verbose switches
2013 Sep 24
0
[PATCH 3/4] Add SUSE converter
...$map{'xvd'.$1} = $mapped;
+ }
+ $map{$device} = $mapped;
+ # Also add a mapping for previously saved hd->sd conversions
+ #if (defined($idemap{$device}) && (($idemap{$device}) ne "")){
+ if (defined($idemap{$device})){
+ my $idedevice;
+ $idedevice = $idemap{$device};
+ $map{$idedevice} = $mapped;
+ }
+
+ $letter++;
+ }
+
+ eval {
+ # Update bare device references in fstab and grub's menu.lst and device.map
+ foreach my $spec ($g->aug_match('/files/etc/fstab/*/s...
2013 Oct 03
2
[PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...# uses xvdX natively.
+ if ($device =~ /^(?:h|s)d([a-z]+)/) {
+ $map{'xvd'.$1} = $mapped;
+ }
+ $map{$device} = $mapped;
+ # Also add a mapping for previously saved hd->sd conversions
+ if (defined($idemap{$device})) {
+ my $idedevice;
+ $idedevice = $idemap{$device};
+ $map{$idedevice} = $mapped;
+ }
+
+ $letter++;
+ }
+
+ eval {
+ # Update bare device references in fstab and grub's menu.lst and device.map
+ foreach my $spec ($g->aug_match('/files/etc/fstab/*/s...