All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Doru Blânzeanu" <dblanzeanu@linux.microsoft.com>
To: qemu-devel@nongnu.org
Cc: Wei Liu <wei.liu@kernel.org>,
	Magnus Kulke <magnuskulke@linux.microsoft.com>
Subject: [PATCH 0/1] target/i386/mshv: fix read and write memory across the page boundary
Date: Thu,  9 Apr 2026 20:53:33 +0300	[thread overview]
Message-ID: <20260409175334.181249-1-dblanzeanu@linux.microsoft.com> (raw)

This fixes the guest memory reading and writing spanning multiple pages for mshv Port I/O.

Currently, the read_memory and write_memory functions only translate GVA-to-GPA once per buffer.
In case the buffer is bigger than a page, the translation is only valid for the first page.

Doru Blânzeanu (1):
  target/i386/mshv: fix read/write memory across the page boundary

 target/i386/mshv/mshv-cpu.c | 71 +++++++++++++++++++++++++++----------
 1 file changed, 52 insertions(+), 19 deletions(-)

-- 
2.53.0



             reply	other threads:[~2026-04-09 17:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-09 17:53 Doru Blânzeanu [this message]
2026-04-09 17:53 ` [PATCH 1/1] target/i386/mshv: fix read/write memory across the page boundary Doru Blânzeanu
2026-04-09 23:38   ` Mohamed Mediouni
2026-04-10 14:52   ` Magnus Kulke
2026-04-13 11:57   ` Magnus Kulke

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=20260409175334.181249-1-dblanzeanu@linux.microsoft.com \
    --to=dblanzeanu@linux.microsoft.com \
    --cc=magnuskulke@linux.microsoft.com \
    --cc=qemu-devel@nongnu.org \
    --cc=wei.liu@kernel.org \
    /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.