search for: idedev

Displaying 8 results from an estimated 8 matches for "idedev".

2013 Sep 25
0
[PATCH 1/1] Track hd->sd block device remaps
...these sdX # after any SCSI devices. i.e. If we have disks hda, hdb, sda and sdb, @@ -2246,10 +2250,15 @@ sub _remap_block_devices # this is a weird and somewhat unlikely situation I'm going with SCSI # first until we have a more comprehensive solution. + my $idedev; my @newdevices; my $suffix = 'a'; foreach my $device (@devices) { - $device = 'sd'.$suffix++ if ($device =~ /(?:h|s)d[a-z]+/); + if ($device =~ /(?:h|s)d[a-z]+/) { + $idedev = $device; + $device = 's...
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
...er any SCSI devices. i.e. If we have disks hda, hdb, sda and sdb, > @@ -2247,10 +2557,15 @@ sub _remap_block_devices > # this is a weird and somewhat unlikely situation I'm going with SCSI > # first until we have a more comprehensive solution. > > + my $idedev; > my @newdevices; > my $suffix = 'a'; > foreach my $device (@devices) { > - $device = 'sd'.$suffix++ if ($device =~ /(?:h|s)d[a-z]+/); > + if ($device =~ /(?:h|s)d[a-z]+/) { > + $idedev = $device; &gt...
2013 Sep 25
0
Re: [PATCH 3/4] Add SUSE converter
...tire string in, or is there a more acceptable way to clean it up? > Also, this should almost certainly die (with v2vdie) rather than be a > warning. Yes, good point. An error here is fatal, and the condition will be caught in shortly, but dying here would be better. > > + my $idedev; > > + my @newdevices; > > + my $suffix = 'a'; > > + foreach my $device (@devices) { > > + if ($device =~ /(?:h|s)d[a-z]+/) { > > + $idedev = $device; > > + $device = 'sd'.$suffix++; &g...
2013 Sep 25
5
Re: [PATCH 3/4] Add SUSE converter
...ught. This code originally put IDE > + # drives first, but this hasn't worked for an OVA file. Given that > + # this is a weird and somewhat unlikely situation I'm going with SCSI > + # first until we have a more comprehensive solution. > + > + my $idedev; > + my @newdevices; > + my $suffix = 'a'; > + foreach my $device (@devices) { > + if ($device =~ /(?:h|s)d[a-z]+/) { > + $idedev = $device; > + $device = 'sd'.$suffix++; > + $idemap{$d...
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
...cated than previously thought. This code originally put IDE + # drives first, but this hasn't worked for an OVA file. Given that + # this is a weird and somewhat unlikely situation I'm going with SCSI + # first until we have a more comprehensive solution. + + my $idedev; + my @newdevices; + my $suffix = 'a'; + foreach my $device (@devices) { + if ($device =~ /(?:h|s)d[a-z]+/) { + $idedev = $device; + $device = 'sd'.$suffix++; + $idemap{$device} = $idedev if ($device ne $id...
2013 Oct 03
2
[PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...cated than previously thought. This code originally put IDE + # drives first, but this hasn't worked for an OVA file. Given that + # this is a weird and somewhat unlikely situation I'm going with SCSI + # first until we have a more comprehensive solution. + + my $idedev; + my @newdevices; + my $suffix = 'a'; + foreach my $device (@devices) { + if ($device =~ /(?:h|s)d[a-z]+/) { + $idedev = $device; + $device = 'sd'.$suffix++; + $idemap{$device} = $idedev if ($device ne $id...