virt-v2v/virt-v2v-use-appliance-backend.patch
Tomas Hrcka 8beed2edaf Revert "Replaced by virt-v2v subpackage of libguestfs."
This reverts commit 969ea56ce1.
Unretirement request: https://pagure.io/releng/issue/9072

Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2019-12-03 10:24:57 +01:00

16 lines
623 B
Diff

--- virt-v2v-v0.9.0.old/lib/Sys/VirtConvert/GuestfsHandle.pm 2012-12-06 15:09:51.000000000 +0000
+++ virt-v2v-v0.9.0/lib/Sys/VirtConvert/GuestfsHandle.pm 2013-07-03 14:48:53.049335387 +0100
@@ -76,6 +76,12 @@
my $interface = "ide";
$g = Sys::Guestfs->new();
+
+ # Fedora-specific patch: The libvirt backend used in Fedora >=
+ # 18 does not support setting iface parameters. Therefore
+ # ensure we are using the direct (appliance) backend.
+ $g->set_attach_method ("appliance");
+
foreach my $disk (@{$disks}) {
my ($name, $path, $format) = @$disk;