All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maximilian Immanuel Brandtner <maxbr@linux.ibm.com>
To: Filip Hejsek <filip.hejsek@gmail.com>,
	"Michael S. Tsirkin" <mst@redhat.com>
Cc: qemu-devel@nongnu.org,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Laurent Vivier" <lvivier@redhat.com>,
	"Amit Shah" <amit@kernel.org>,
	"Markus Armbruster" <armbru@redhat.com>,
	"Eric Blake" <eblake@redhat.com>,
	"Eduardo Habkost" <eduardo@habkost.net>,
	"Marcel Apfelbaum" <marcel.apfelbaum@gmail.com>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>,
	"Yanan Wang" <wangyanan55@huawei.com>,
	"Zhao Liu" <zhao1.liu@intel.com>,
	"Daniel P. Berrangé" <berrange@redhat.com>,
	"Szymon Lukasz" <noh4hss@gmail.com>
Subject: Re: [PATCH v6 00/12] virtio-console: notify about the terminal size
Date: Tue, 09 Jun 2026 13:38:15 +0200	[thread overview]
Message-ID: <5ad91cd4c7ba500a56d8356100becffcfb3062a3.camel@linux.ibm.com> (raw)
In-Reply-To: <ba34daea09f83601c88be90006ca28e3700910d9.camel@gmail.com>

On Tue, 2026-06-09 at 13:13 +0200, Filip Hejsek wrote:
> On Tue, 2026-06-09 at 10:26 +0200, Maximilian Immanuel Brandtner
> wrote:
> > On Tue, 2026-06-09 at 04:09 -0400, Michael S. Tsirkin wrote:
> > > On Tue, Jun 09, 2026 at 10:02:40AM +0200, Maximilian Immanuel
> > > Brandtner wrote:
> > > > What's the status of this series? It seems to me to have
> > > > somewhat
> > > > stalled, because of the virtio resize event discrepancy that
> > > > has
> > > > been
> > > > adressed by backporting the relevant patch. At this point it's
> > > > been
> > > > almost 6 months since any changes have been made to this patch-
> > > > set,
> > > > even though at this point it would have to be refactored to
> > > > address
> > > > changes that have been made to QEMU since. Has progress on this
> > > > patch-
> > > > set just stalled or are there any remaining concerns about the
> > > > implementation of this patch-set I'm unaware of?
> > > > 
> > > > Kind regards,
> > > > Max Brandtner
> > > 
> > > Whom are you asking?
> > > There were comments on patches 7 and 8 and Filip seems to have
> > > indicated
> > > he intends to address them, and even posted diffs.
> > > So now, I expect v7 with that.
> > I suppose Filip for the most part. It's just that close to 6 months
> > of
> > inactivity is quite a while and sometimes as other stuff happens
> > people
> > can forget about a patch-series.
> > 
> > Kind regards,
> > Max Brandtner
> 
> Hi all,
> 
> Sorry, I did indeed forget about the series.
> 
> From what I remember, I was trying to address an issue with the size
> not being updated after a migration, and it turned out fixing this
> required adding the current size to the migration stream (in order to
> avoid sending unnecessary resize events when the size doesn't change,
> which MST pointed out would add guest performance overhead).
> 
> However, since virtio console serialization still uses save/load
> methods rather than VMState macros, I couldn't simply add a
> subsection,
> so I wasn't quite sure how to proceed. It seemed like the right thing
> to do was to migrate virtio-console to VMState, but that would have
> taken more effort than I was willing to put in at that moment. And
> then
> some other stuff happened in my life and now here we are.
> 
> So anyway, in order to make progress on this, I see two approaches:
> 
> 1. Just bump the migration stream version. Makes the loading code
> more
> convoluted due to version checks and increases tech dept for future
> VMState migration, but shouldn't be that hard to do.
> 
> 2. Do the VMState migration now. This is complicated by the fact the
> on
> load, some of the state shouldn't be restored back into the field
> that
> was saved, but instead should be compared and the guest notified if
> it
> is different. I'm also not quite sure how hard it will be to preserve
> migration stream compatibility.
> 
> Which one would be preferable to do?
> 
> Kind regards,
> Filip Hejsek

I have another patch in the pipeline to add resize support for another
chardev backend. Would the migration issue affect any chardev backend
that wants to support resizing or is it specific to virtio? I don't
have a strong opinion either way regarding virtio-console, but I'd be
quite interested to see the generic chardev resizing code rebased
against the latest upstream QEMU sooner rather than later.

Kind regards,
Max Brandtner


  reply	other threads:[~2026-06-09 11:39 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-19  3:27 [PATCH v6 00/12] virtio-console: notify about the terminal size Filip Hejsek
2026-01-19  3:27 ` [PATCH v6 01/12] chardev: add cols, rows fields Filip Hejsek
2026-01-19  3:27 ` [PATCH v6 02/12] chardev: add CHR_EVENT_RESIZE Filip Hejsek
2026-01-19  3:27 ` [PATCH v6 03/12] chardev: add qemu_chr_resize() Filip Hejsek
2026-01-19  3:27 ` [PATCH v6 04/12] char-mux: add support for the terminal size Filip Hejsek
2026-01-19  3:27 ` [PATCH v6 05/12] main-loop: change the handling of SIGWINCH Filip Hejsek
2026-01-19  3:27 ` [PATCH v6 06/12] char-stdio: add support for the terminal size Filip Hejsek
2026-01-19  3:27 ` [PATCH v6 07/12] qmp: add chardev-window-size-changed command Filip Hejsek
2026-01-19  6:47   ` Markus Armbruster
2026-01-20  8:04     ` Filip Hejsek
2026-01-20  8:18       ` [PATCH] qapi: drop "must exist" from ID descriptions for consistency Filip Hejsek
2026-06-09 10:34         ` Markus Armbruster
2026-06-09 10:36           ` Michael S. Tsirkin
2026-06-09 13:00             ` Markus Armbruster
2026-06-09 13:04               ` Markus Armbruster
2026-01-19  3:27 ` [PATCH v6 08/12] virtio-serial-bus: add terminal resize messages Filip Hejsek
2026-01-19  9:38   ` Daniel P. Berrangé
2026-01-19  9:43     ` Michael S. Tsirkin
2026-01-20  8:43       ` Daniel P. Berrangé
2026-01-20  9:16         ` Filip Hejsek
2026-01-20 12:56           ` Michael S. Tsirkin
2026-01-20  9:50   ` Filip Hejsek
2026-01-20  9:54     ` Daniel P. Berrangé
2026-01-20 10:07       ` Filip Hejsek
2026-01-20 10:10         ` Daniel P. Berrangé
2026-01-20 10:16           ` Filip Hejsek
2026-01-20 10:20             ` Daniel P. Berrangé
2026-01-20 10:22               ` Filip Hejsek
2026-01-20 10:28                 ` Filip Hejsek
2026-01-20 12:58     ` Michael S. Tsirkin
2026-01-19  3:27 ` [PATCH v6 09/12] virtio-console: notify the guest about terminal resizes Filip Hejsek
2026-01-19  3:27 ` [PATCH v6 10/12] char-win-stdio: add support for terminal size Filip Hejsek
2026-01-19  3:27 ` [PATCH v6 11/12] ui/console-vc: forward text console size to vc chardev Filip Hejsek
2026-01-19  3:27 ` [PATCH v6 12/12] ui/gtk: forward gtk " Filip Hejsek
2026-06-09  8:02 ` [PATCH v6 00/12] virtio-console: notify about the terminal size Maximilian Immanuel Brandtner
2026-06-09  8:09   ` Michael S. Tsirkin
2026-06-09  8:26     ` Maximilian Immanuel Brandtner
2026-06-09 11:13       ` Filip Hejsek
2026-06-09 11:38         ` Maximilian Immanuel Brandtner [this message]
2026-06-09 12:10           ` Filip Hejsek

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=5ad91cd4c7ba500a56d8356100becffcfb3062a3.camel@linux.ibm.com \
    --to=maxbr@linux.ibm.com \
    --cc=amit@kernel.org \
    --cc=armbru@redhat.com \
    --cc=berrange@redhat.com \
    --cc=eblake@redhat.com \
    --cc=eduardo@habkost.net \
    --cc=filip.hejsek@gmail.com \
    --cc=lvivier@redhat.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=marcel.apfelbaum@gmail.com \
    --cc=mst@redhat.com \
    --cc=noh4hss@gmail.com \
    --cc=pbonzini@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=wangyanan55@huawei.com \
    --cc=zhao1.liu@intel.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.