All of lore.kernel.org
 help / color / mirror / Atom feed
From: Magnus Kulke <magnuskulke@linux.microsoft.com>
To: Mohamed Mediouni <mohamed@unpredictable.fr>
Cc: qemu-devel@nongnu.org,
	"Doru Blânzeanu" <dblanzeanu@linux.microsoft.com>,
	"Doru Blânzeanu" <doru.blanzeanu@microsoft.com>,
	"Wei Liu" <wei.liu@kernel.org>, "Wei Liu" <liuwe@microsoft.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>
Subject: Re: [PATCH] accel/mshv: mark VGA mem as dirty in mshv_log_sync
Date: Wed, 25 Nov 2026 20:48:36 +0100	[thread overview]
Message-ID: <awc7lEeaH/eL0ZAq@example.com> (raw)
In-Reply-To: <47BB5DB2-727F-4232-AA01-0B7F0BAE99A8@unpredictable.fr>

On Wed, Nov 25, 2026 at 03:29:08PM +0100, Mohamed Mediouni wrote:
> 
> 
> > On 25. Nov 2026, at 14:11, Magnus Kulke <magnuskulke@linux.microsoft.com> wrote:
> > 
> > The accelerator needs to report changed video memory for the VGA display
> > update (e.g. for a VNC backend). We currently report the full section as
> > dirty. MSHV enables hypervisor dirty tracking only during migration, so
> > a VGA-only refresh is not able to query that bitmap.
> > 
> > During migrations we will use the migration dirty-log.
> 
> Hi,
> 
> Is there a blocker to having granular dirty tracking only for the VGA frame buffer area
> as always-on?

Hey Mohamed,

currently dirty page tracking is only enabled during migration. I have
put sth in the backlog to look into a discrete dirty tracking for the
VGA buffer as an optimization. I vaguely remember that there was a
problem w/ mshv regarding that, but I don't remember details atm.

best,

magnus


      reply	other threads:[~2026-11-25 19:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 13:11 [PATCH] accel/mshv: mark VGA mem as dirty in mshv_log_sync Magnus Kulke
2026-11-25 14:29 ` Mohamed Mediouni
2026-11-25 19:48   ` Magnus Kulke [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=awc7lEeaH/eL0ZAq@example.com \
    --to=magnuskulke@linux.microsoft.com \
    --cc=dblanzeanu@linux.microsoft.com \
    --cc=doru.blanzeanu@microsoft.com \
    --cc=liuwe@microsoft.com \
    --cc=mohamed@unpredictable.fr \
    --cc=pbonzini@redhat.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.