Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nu59E-0000i3-Oi for qemu-devel@nongnu.org; Tue, 23 Mar 2010 10:32:00 -0400 Received: from [199.232.76.173] (port=35883 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nu59E-0000hS-DN for qemu-devel@nongnu.org; Tue, 23 Mar 2010 10:32:00 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nu59D-0001VS-6z for qemu-devel@nongnu.org; Tue, 23 Mar 2010 10:32:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11142) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nu59C-0001VI-Ms for qemu-devel@nongnu.org; Tue, 23 Mar 2010 10:31:59 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o2NEVuCW020098 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 23 Mar 2010 10:31:57 -0400 From: Amit Shah Date: Tue, 23 Mar 2010 20:00:10 +0530 Message-Id: <1269354619-10201-1-git-send-email-amit.shah@redhat.com> Subject: [Qemu-devel] [PATCH 0/9] v2: Fixes, new way of discovering ports List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu list Cc: Amit Shah , quintela@redhat.com, Gerd Hoffmann , "Michael S. Tsirkin" 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(-)