sun4uv: fix serial initialization regression
commit4496dc49ec9a6e24e9eeb2da970ed0ec0051968e
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Sat, 22 Oct 2016 09:52:44 +0000 (22 12:52 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 24 Oct 2016 13:27:20 +0000 (24 15:27 +0200)
tree02ea8e0a559ce61ec361838c2f7313531d3f4781
parent5c936a83c3301f6919d2e0ba9eb977370a8a1ac7
sun4uv: fix serial initialization regression

Since commit b6607a1a204d, serial_hds_isa_init() was introduced to
factor out serial_isa_init() loops. However, sun4uv shouldn't start from
0 when there is a mm serial on 0 already. Add a "from" argument to
serial_hds_isa_init().

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20161022095318.17775-5-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/alpha/dp264.c
hw/char/serial-isa.c
hw/i386/pc.c
hw/mips/mips_fulong2e.c
hw/mips/mips_malta.c
hw/mips/mips_r4k.c
hw/sparc64/sun4u.c
include/hw/char/serial.h