add back support to the old PCI vdi port while maintaining support for the newer virtio-serial port.
VDIPort becomes a base class, with two implementations, and vdservice tries for virtio-serial, then pci. Tested on RHEL55 with PCI port with windows XP and on upstream qemu with virtio-serial with windows XP. Alon Levy (5): start refactoring vdi_port vdi_port refactor: introduce interface vdi_port refactor: move ring handling to VDIPort, split h file, remove some debug prints vdi_port refactor: introduce old pci_vdi_port vdservice/vdi_port refactor: cosmetic changes common/vdlog.h | 1 + vdservice/pci_vdi_port.cpp | 128 ++++++++++++++++ vdservice/pci_vdi_port.h | 59 ++++++++ vdservice/vdi_port.cpp | 332 +++++++++++------------------------------ vdservice/vdi_port.h | 41 +++--- vdservice/vdservice.cpp | 113 ++++++++++----- vdservice/vdservice.vcproj | 16 ++ vdservice/virtio_vdi_port.cpp | 175 ++++++++++++++++++++++ vdservice/virtio_vdi_port.h | 33 ++++ 9 files changed, 601 insertions(+), 297 deletions(-) create mode 100644 vdservice/pci_vdi_port.cpp create mode 100644 vdservice/pci_vdi_port.h create mode 100644 vdservice/virtio_vdi_port.cpp create mode 100644 vdservice/virtio_vdi_port.h -- 1.7.3.4 _______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel