Hello,

These patches rework the way ports are announced to the guests. A
control message is used to let the guest know a new port is
added. Initial port discovery and port hot-plug work via this way now.

This was done to have the host and guest port numbering in sync to
avoid surprises after several hotplug/unplug operations and
migrations.

The ability to assign a particular port number to ports is also added
so that management software can control the placement of ports.

The other patches to handle scatter/gather for guest data and
migration fixes remain the same.

Please review.

Amit Shah (9):
  virtio-serial-bus: save/load: Ensure target has enough ports
  virtio-serial-bus: save/load: Ensure nr_ports on src and dest are
    same.
  virtio-serial: Remove redundant check for 0-sized write request
  virtio-serial: Update copyright year to 2010
  virtio-serial: save/load: Ensure we have hot-plugged ports
    instantiated
  virtio-serial-bus: Use control messages to notify guest of new ports
  virtio-serial-bus: Let the guest know of host connection changes
    after migration
  virtio-serial: Handle scatter-gather buffers for control messages
  virtio-serial: Handle scatter/gather input from the guest

 hw/virtio-console.c    |    4 +-
 hw/virtio-serial-bus.c |  245 +++++++++++++++++++++++++++++++++++++-----------
 hw/virtio-serial.h     |   19 ++--
 3 files changed, 205 insertions(+), 63 deletions(-)



Reply via email to