]> 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>
Tue, 15 Jul 2025 20:05:15 +0000 (23:05 +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>
(cherry picked from commit f180e367fce44b336105a11a62edf9610b6b2a06)

accel/kvm/kvm-all.c

index 951e8214e079b3889d937a687dbe12661951c102..d6002b631e659d60ee0fbdadfe3465903bb53fd6 100644 (file)
@@ -2556,8 +2556,7 @@ static int kvm_init(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;