]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
accel/kvm: Adjust the note about the minimum required kernel version
authorThomas Huth <thuth@redhat.com>
Wed, 2 Jul 2025 06:03:19 +0000 (08:03 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 13 Jul 2025 09:08:07 +0000 (12:08 +0300)
Since commit 126e7f78036 ("kvm: require KVM_CAP_IOEVENTFD and
KVM_CAP_IOEVENTFD_ANY_LENGTH") we require at least kernel 4.5 to
be able to use KVM. Adjust the upgrade_note accordingly.
While we're at it, remove the text about kvm-kmod and the
SourceForge URL since this is not actively maintained anymore.

Fixes: 126e7f78036 ("kvm: require KVM_CAP_IOEVENTFD and KVM_CAP_IOEVENTFD_ANY_LENGTH")
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
accel/kvm/kvm-all.c

index a106d1ba0f0b04386f4a296640c3848a88099e6e..78fc2d26fc9a3926f6b2fcf2b312505d436875c8 100644 (file)
@@ -2606,8 +2606,7 @@ static int kvm_init(AccelState *as, MachineState *ms)
 {
     MachineClass *mc = MACHINE_GET_CLASS(ms);
     static const char upgrade_note[] =
-        "Please upgrade to at least kernel 2.6.29 or recent kvm-kmod\n"
-        "(see http://sourceforge.net/projects/kvm).\n";
+        "Please upgrade to at least kernel 4.5.\n";
     const struct {
         const char *name;
         int num;