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)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 3 Jan 2015 08:22:13 +0000 (09:22 +0100)
commitd13c0404092eb46e548754a47a808da1bb8d4fd0
tree76664ba572ec624bd6e1abe423d5562d8d3c555a
parentbfa7362889d05d6951493d1c298289b39cf9bf86
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>
hw/input/pckbd.c