xemu/hw/char
Andreas Färber be21c33616 virtio-console: Fix VIRTIO_CONSOLE() cast macro
Commit 0399a3819b (virtio-console: QOM
cast cleanup for VirtConsole) broke virtserialport since it shares
functions and state struct with virtconsole. Let virtconsole inherit
from virtserialport, and use virtserialport type for casting.

Note that virtio-serial-port is the abstract base type in
virtio-serial-bus.c, whereas virtserialport is the user-instantiatable
type in virtio-console.c. Therefore using TYPE_VIRTIO_CONSOLE_SERIAL_PORT.

Reported-by: Richard W.M. Jones <rjones@redhat.com>
Acked-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2014-03-13 21:12:07 +01:00
..
cadence_uart.c char/cadence_uart: Implement Tx flow control 2014-01-08 19:07:21 +00:00
debugcon.c qdev: Remove hex8/32/64 property types 2014-02-14 21:12:04 +01:00
digic-uart.c hw/arm/digic: add UART support 2013-12-17 20:12:51 +00:00
escc.c escc: QOM cast cleanup 2013-07-29 21:06:27 +02:00
etraxfs_ser.c etraxfs_ser: QOM cast cleanups 2013-07-29 20:45:33 +02:00
exynos4210_uart.c exynos4210: Use macro ARRAY_SIZE where possible 2013-12-23 16:02:19 +04:00
grlib_apbuart.c grlib_apbuart: QOM cast cleanup 2013-07-29 21:06:27 +02:00
imx_serial.c imx_serial: QOM cast cleanup 2013-07-29 21:06:27 +02:00
ipoctal232.c ipack: Move IndustryPack out of hw/char/ 2014-02-14 21:11:53 +01:00
lm32_juart.c lm32_uart/lm32_juart: use qemu_chr_fe_write_all() 2014-02-04 19:34:30 +01:00
lm32_uart.c lm32_uart/lm32_juart: use qemu_chr_fe_write_all() 2014-02-04 19:34:30 +01:00
Makefile.objs ipack: Move IndustryPack out of hw/char/ 2014-02-14 21:11:53 +01:00
mcf_uart.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
milkymist-uart.c milkymist-uart: use qemu_chr_fe_write_all() instead of qemu_chr_fe_write() 2014-02-04 19:34:29 +01:00
omap_uart.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
parallel.c qdev: Remove hex8/32/64 property types 2014-02-14 21:12:04 +01:00
pl011.c pl011: QOM'ify pl011 and pl011_luminary 2013-07-29 21:06:28 +02:00
sclpconsole-lm.c s390/sclplmconsole: Add support for SCLP line-mode console 2013-09-20 13:55:30 +02:00
sclpconsole.c s390/eventfacility: allow childs to handle more than 1 event type 2013-09-20 13:55:30 +02:00
serial-isa.c qdev: Remove hex8/32/64 property types 2014-02-14 21:12:04 +01:00
serial-pci.c hw: set interrupts using pci irq wrappers 2013-10-14 17:11:45 +03:00
serial.c char/serial: Fix emptyness check 2014-02-15 16:10:25 +04:00
sh_serial.c sh4: Fix serial line access for Linux kernels later than 3.2 2013-10-02 22:55:28 +04:00
spapr_vty.c spapr: add vio-bus devices to categories 2013-11-08 04:33:18 +01:00
virtio-console.c virtio-console: Fix VIRTIO_CONSOLE() cast macro 2014-03-13 21:12:07 +01:00
virtio-serial-bus.c virtio-serial-port: Convert to QOM realize/unrealize 2014-03-13 01:21:57 +01:00
xen_console.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
xilinx_uartlite.c xilinx_uartlite: QOM cast cleanups 2013-07-29 20:45:45 +02:00