pckbd: clear outport_present in outer pre_load()
commit9d74e6c3e763ef4095c8a5f853e175b4a9c710a2
authorVolker Rümelin <vr_qemu@t-online.de>
Tue, 25 May 2021 18:14:41 +0000 (25 20:14 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 26 May 2021 09:33:19 +0000 (26 11:33 +0200)
treefef3a0640c7e6fd8688484c28e25636148af1e05
parent314f9064b67f117f6a82b1a1f1c70cd75a88e943
pckbd: clear outport_present in outer pre_load()

The variable outport_present is a flag to show if the outport
subsection was loaded. Clear the outport_present flag in the
outer pre_load() function. This method is recommended in the QEMU
manual for developers in the chapter "Migration, Subsections".

Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20210525181441.27768-12-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/input/pckbd.c