qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL 4/9] ps2: fix scancodes sent for Alt-Print key co


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PULL 4/9] ps2: fix scancodes sent for Alt-Print key combination (aka SysRq)
Date: Wed, 01 Nov 2017 08:58:32 +0100

  Hi,

> No one confirmed whether or not this new field needs to be added to
> the
> VMSTATE sections, and if so, how todo this in a back compatible
> manner....

Good question.  Sky isn't falling if we don't send this over, worst
case is a minor keyboard glitch, affecting only the SysRq key, right?

Annoying things like sticky modifier keys should not happen.  So I'd
tend to simply leave things as-is.

When sending it over we need a subsection for it.  Simplest way would
be to only send over the section in the unlikely case that the field is
non-zero.  But this might fail migration to older qemu versions in case
someone hits a modifier key the wrong moment.  Alternatively send the
sibsection only on new machine types using a compat property, but that
needs a bit more boilerplate.

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]