hw/char/serial-isa: Implement relocation and enabling/disabling for TYPE_ISA_SERIAL
authorBernhard Beschow <shentey@gmail.com>
Sun, 14 Jan 2024 12:39:08 +0000 (13:39 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 14 Feb 2024 11:09:32 +0000 (06:09 -0500)
commit7812dbc54c72f71df2644d0cec52a1e8d6b19584
tree719fd10fc2b90928f0d799fc581d47d408136f75
parent8c4d239139e93268884f9d385a0966ef40db422f
hw/char/serial-isa: Implement relocation and enabling/disabling for TYPE_ISA_SERIAL

The real SuperI/O chips emulated by QEMU allow for relocating and enabling or
disabling their SuperI/O functions via software. So far this is not implemented.
Prepare for that by adding isa_serial_set_{enabled,iobase}.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20240114123911.4877-9-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/char/serial-isa.c
include/hw/char/serial.h