]> git.proxmox.com Git - mirror_qemu.git/commit - hw/char/parallel.c
char: replace PROP_CHR with CharBackend
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Sat, 22 Oct 2016 09:52:51 +0000 (12:52 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 24 Oct 2016 13:27:20 +0000 (15:27 +0200)
commitbecdfa00cfa2995e859ccefa4b7d72a72eb96581
tree8973236c181dcde0dbcd9fd36d122fc7a4bac6d7
parentecb672d14f092f481000ac9cd9d7dc0500692eba
char: replace PROP_CHR with CharBackend

Store the property in a CharBackend instead of CharDriverState*.  This
also replace systematically chr by chr.chr to access the
CharDriverState*. The following patches will replace it with calls to
qemu_chr_fe CharBackend functions.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20161022095318.17775-12-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
37 files changed:
hw/arm/pxa2xx.c
hw/arm/strongarm.c
hw/char/bcm2835_aux.c
hw/char/cadence_uart.c
hw/char/debugcon.c
hw/char/digic-uart.c
hw/char/escc.c
hw/char/etraxfs_ser.c
hw/char/exynos4210_uart.c
hw/char/grlib_apbuart.c
hw/char/imx_serial.c
hw/char/ipoctal232.c
hw/char/lm32_juart.c
hw/char/lm32_uart.c
hw/char/milkymist-uart.c
hw/char/parallel.c
hw/char/pl011.c
hw/char/sclpconsole-lm.c
hw/char/sclpconsole.c
hw/char/serial.c
hw/char/spapr_vty.c
hw/char/stm32f2xx_usart.c
hw/char/virtio-console.c
hw/char/xilinx_uartlite.c
hw/core/qdev-properties-system.c
hw/ipmi/ipmi_bmc_extern.c
hw/misc/ivshmem.c
hw/usb/ccid-card-passthru.c
hw/usb/dev-serial.c
hw/usb/redirect.c
include/hw/char/bcm2835_aux.h
include/hw/char/cadence_uart.h
include/hw/char/digic-uart.h
include/hw/char/imx_serial.h
include/hw/char/serial.h
include/hw/char/stm32f2xx_usart.h
include/hw/qdev-properties.h