diff --git a/libguestfs-1.19.37.patch b/libguestfs-1.19.37.patch new file mode 100644 index 0000000..0d267f2 --- /dev/null +++ b/libguestfs-1.19.37.patch @@ -0,0 +1,16 @@ +--- + src/launch-appliance.c | 1 + + 1 file changed, 1 insertion(+) + +Index: libguestfs-1.19.37/src/launch-appliance.c +=================================================================== +--- libguestfs-1.19.37.orig/src/launch-appliance.c ++++ libguestfs-1.19.37/src/launch-appliance.c +@@ -885,6 +885,7 @@ is_openable (guestfs_h *g, const char *p + static int + qemu_supports_virtio_scsi (guestfs_h *g) + { ++ return 0; + int r; + + /* g->app.virtio_scsi has these values: diff --git a/libguestfs.spec b/libguestfs.spec index 7aa454c..2232b79 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -138,6 +138,7 @@ License: LGPL-2.1 Group: System/Filesystems Version: 1.19.37 Release: 0 +Patch0: libguestfs-1.19.37.patch Patch5: libguestfs-1.13.14-ruby.patch Patch101: libguestfs.perl.no-rpath.patch Source0: %{name}-%{version}.tar.gz @@ -313,6 +314,7 @@ virtual machines. %prep %setup -q +%patch0 -p1 %patch5 -p1 %patch101 -p1