File remove_ide_iface.patch of Package virt-v2v

Using "iface:ide" in guestfs is not supported against a libvirt backend. When
used against a direct (appliance) backend, the ata_piix module is required.
Currently, this mode is slow, and the virtio-scsi method is preferable. As
older guests which require this are not supported, the patch removes the
ide:iface parameter.

This is mentioned at:

https://bugzilla.redhat.com/show_bug.cgi?id=895898

https://www.redhat.com/archives/libguestfs/2013-February/msg00057.html

---
 GuestfsHandle.pm |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff -Nurp a/lib/Sys/VirtConvert/GuestfsHandle.pm b/lib/Sys/VirtConvert/GuestfsHandle.pm
--- a/lib/Sys/VirtConvert/GuestfsHandle.pm	2013-08-14 15:33:58.509972041 -0600
+++ b/lib/Sys/VirtConvert/GuestfsHandle.pm	2013-08-14 15:36:07.033802316 -0600
@@ -73,21 +73,18 @@ sub new
     # Open a guest handle
     my $g;
     my $open = sub {
-        my $interface = "ide";
-
         $g = Sys::Guestfs->new();
         foreach my $disk (@{$disks}) {
             my ($name, $path, $format) = @$disk;
 
             $g->add_drive_opts($path,
                                format => $format,
-                               iface => $interface,
                                name => $name);
         }
 
         # Add the transfer iso if there is one
         $g->add_drive_opts($transfer,
-                           format => 'raw', iface => $interface, readonly => 1)
+                           format => 'raw', readonly => 1)
             if defined($transfer);
 
         # Enable networking in the guest