[qemu/f19] Drop loading of vhost-net module (bz #963198)

bonzini bonzini at fedoraproject.org
Thu May 16 09:58:22 UTC 2013


commit d8d9ba50c612cf88eed5ce498c34c70305fc9201
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu May 16 11:46:34 2013 +0200

    Drop loading of vhost-net module (bz #963198)
    
    It is loaded via udev these days.

 kvm.modules |    7 +------
 qemu.spec   |    5 ++++-
 2 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/kvm.modules b/kvm.modules
index 5a52dd1..9808105 100755
--- a/kvm.modules
+++ b/kvm.modules
@@ -13,9 +13,4 @@ case $(uname -m) in
         ;;
 esac
 
-if [ "$kvm" ]; then
-    # no reason why vhost should not work with TCG, but currently it does not
-    modprobe -b vhost-net >/dev/null 2>&1
-else
-    exit 0
-fi
+exit 0
diff --git a/qemu.spec b/qemu.spec
index 964753c..c58ae55 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -131,7 +131,7 @@
 Summary: QEMU is a FAST! processor emulator
 Name: qemu
 Version: 1.4.1
-Release: 2%{?dist}
+Release: 3%{?dist}
 # Epoch because we pushed a qemu-1.0 package. AIUI this can't ever be dropped
 Epoch: 2
 License: GPLv2+ and LGPLv2+ and BSD
@@ -1288,6 +1288,9 @@ getent passwd qemu >/dev/null || \
 %endif
 
 %changelog
+* Thu May 16 2013 Paolo Bonzini <pbonzini at redhat.com> - 2:1.4.1-3
+- Drop loading of vhost-net module (bz #963198)
+
 * Wed May 15 2013 Cole Robinson <crobinso at redhat.com> - 2:1.4.1-2
 - Fix crash with usbredir (bz #962826)
 - Drop unneeded kvm.modules on x86 (bz #963198)


More information about the scm-commits mailing list