]> xenbits.xensource.com Git - qemu-upstream-unstable.git/commit
pckbd: set bits 2-3-6-7 of the output port by default
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 22 Dec 2014 07:55:19 +0000 (08:55 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 23 Feb 2015 00:06:17 +0000 (18:06 -0600)
commit49725cdf045e3bb7b6f5ae5d6c1331fdcc034d64
tree853778e8e0c4e0ec049d8b0145dfa191289a3c1e
parentfdb2ed44f1bf3568f12858c5752dc5d3add57945
pckbd: set bits 2-3-6-7 of the output port by default

OSes typically write 0xdd/0xdf to turn the A20 line off and on.  This
has bits 2-3-6-7 on, so that the output port subsection is migrated.
Change the reset value and migration default to include those four
bits, thus avoiding that the subsection is migrated.

This strictly speaking changes guest ABI, but the long time during which
we have not migrated the value means that the guests really do not care
much; so the change is for all machine types.

Reported-by: Igor Mammedov <imammedo@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit d13c0404092eb46e548754a47a808da1bb8d4fd0)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/input/pckbd.c