All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhao Liu <zhao1.liu@intel.com>
To: Thomas Huth <thuth@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	qemu-devel@nongnu.org, kvm@vger.kernel.org,
	qemu-stable@nongnu.org, qemu-trivial@nongnu.org
Subject: Re: [PATCH] accel/kvm: Adjust the note about the minimum required kernel version
Date: Wed, 2 Jul 2025 14:42:33 +0800	[thread overview]
Message-ID: <aGTU2enBBQj7lu3E@intel.com> (raw)
In-Reply-To: <20250702060319.13091-1-thuth@redhat.com>

On Wed, Jul 02, 2025 at 08:03:19AM +0200, Thomas Huth wrote:
> Date: Wed,  2 Jul 2025 08:03:19 +0200
> From: Thomas Huth <thuth@redhat.com>
> Subject: [PATCH] accel/kvm: Adjust the note about the minimum required
>  kernel version
> 
> From: Thomas Huth <thuth@redhat.com>
> 
> Since commit 126e7f78036 ("kvm: require KVM_CAP_IOEVENTFD and
> KVM_CAP_IOEVENTFD_ANY_LENGTH") we require at least kernel 4.4 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>
> ---
>  accel/kvm/kvm-all.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

I just mentioned the kernel version in another patch thread. I found
x86 doc said it requires v4.5 or newer ("OS requirements" section in
docs/system/target-i386.rst).

> diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c
> index d095d1b98f8..e3302b087f4 100644
> --- a/accel/kvm/kvm-all.c
> +++ b/accel/kvm/kvm-all.c
> @@ -2571,8 +2571,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.4.\n";
>      const struct {
>          const char *name;
>          int num;
> -- 
> 2.50.0
> 
> 

  reply	other threads:[~2025-07-02  6:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-02  6:03 [PATCH] accel/kvm: Adjust the note about the minimum required kernel version Thomas Huth
2025-07-02  6:42 ` Zhao Liu [this message]
2025-07-02  6:55   ` Philippe Mathieu-Daudé
2025-07-02  7:39   ` Thomas Huth
2025-07-04  6:19 ` Michael Tokarev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aGTU2enBBQj7lu3E@intel.com \
    --to=zhao1.liu@intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-stable@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=thuth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.