Hi, Next round of the serial device hotplug series. Left out chardev patches due to confligting in-flight patches and ongoing discussions, carrying only pci-serial and usb-serial bits.
Adressed Anthonys comments: Added license to serial.h and moved documentation to docs/specs/pci-serial.txt. please pull, Gerd The following changes since commit 6f4d6b09088ee161ff4be0e4db4e4c0962c79070: target-mips: Pass MIPSCPU to mips_vpe_sleep() (2012-10-17 01:32:11 +0200) are available in the git repository at: git://git.kraxel.org/qemu serial.3 Gerd Hoffmann (7): serial: split serial.c serial: add pci variant serial: add windows inf file for the pci card to docs serial: add 2x + 4x pci variant serial: add pci-serial documentation usb-serial: don't magically zap chardev on umplug usb-serial: only expose device in guest when the chardev is open default-configs/pci.mak | 2 + docs/qemupciserial.inf | 109 +++++++++++++++++++ docs/specs/pci-serial.txt | 34 ++++++ hw/Makefile.objs | 3 +- hw/alpha_dp264.c | 1 + hw/kzm.c | 2 +- hw/mips_fulong2e.c | 1 + hw/mips_jazz.c | 1 + hw/mips_malta.c | 1 + hw/mips_mipssim.c | 2 +- hw/mips_r4k.c | 1 + hw/musicpal.c | 2 +- hw/omap_uart.c | 3 +- hw/openrisc_sim.c | 3 +- hw/pc.c | 1 + hw/pc.h | 27 ----- hw/pci_ids.h | 1 + hw/petalogix_ml605_mmu.c | 2 +- hw/ppc/e500.c | 2 +- hw/ppc405_uc.c | 2 +- hw/ppc440_bamboo.c | 2 +- hw/ppc_prep.c | 1 + hw/pxa2xx.c | 2 +- hw/serial-isa.c | 130 +++++++++++++++++++++++ hw/serial-pci.c | 252 +++++++++++++++++++++++++++++++++++++++++++++ hw/serial.c | 149 ++------------------------- hw/serial.h | 99 ++++++++++++++++++ hw/sm501.c | 2 +- hw/sun4u.c | 1 + hw/usb/dev-serial.c | 21 +++- hw/virtex_ml507.c | 2 +- hw/xtensa_lx60.c | 3 +- 32 files changed, 681 insertions(+), 183 deletions(-) create mode 100644 docs/qemupciserial.inf create mode 100644 docs/specs/pci-serial.txt create mode 100644 hw/serial-isa.c create mode 100644 hw/serial-pci.c create mode 100644 hw/serial.h