All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Christopherson <seanjc@google.com>
To: Aaron Lewis <aaronlewis@google.com>
Cc: kvm@vger.kernel.org, Steve Rutherford <srutherford@google.com>,
	Andrew Jones <drjones@redhat.com>
Subject: Re: [PATCH v2] selftests: kvm: Mmap the entire vcpu mmap area
Date: Thu, 18 Feb 2021 10:47:46 -0800	[thread overview]
Message-ID: <YC62UiPCtAIFgS6L@google.com> (raw)
In-Reply-To: <20210217172730.1521644-1-aaronlewis@google.com>

On Wed, Feb 17, 2021, Aaron Lewis wrote:
> The vcpu mmap area may consist of more than just the kvm_run struct.
> Allocate enough space for the entire vcpu mmap area. Without this, on
> x86, the PIO page, for example, will be missing.  This is problematic
> when dealing with an unhandled exception from the guest as the exception
> vector will be incorrectly reported as 0x0.
> 
> Co-developed-by: Steve Rutherford <srutherford@google.com>
> Signed-off-by: Steve Rutherford <srutherford@google.com>
> Signed-off-by: Aaron Lewis <aaronlewis@google.com>
> Reviewed-by: Andrew Jones <drjones@redhat.com>
> ---


Reviewed-by: Sean Christopherson <seanjc@google.com>

      reply	other threads:[~2021-02-18 19:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-17 17:27 [PATCH v2] selftests: kvm: Mmap the entire vcpu mmap area Aaron Lewis
2021-02-18 18:47 ` Sean Christopherson [this message]

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=YC62UiPCtAIFgS6L@google.com \
    --to=seanjc@google.com \
    --cc=aaronlewis@google.com \
    --cc=drjones@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=srutherford@google.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.