From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLVQn-0005ee-IT for qemu-devel@nongnu.org; Tue, 19 Jan 2016 07:30:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLVQj-0005A1-Ho for qemu-devel@nongnu.org; Tue, 19 Jan 2016 07:30:41 -0500 Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:36730) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLVQj-00058r-6x for qemu-devel@nongnu.org; Tue, 19 Jan 2016 07:30:37 -0500 Received: from localhost by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 19 Jan 2016 12:30:36 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 8F48417D8056 for ; Tue, 19 Jan 2016 12:30:38 +0000 (GMT) Received: from d06av08.portsmouth.uk.ibm.com (d06av08.portsmouth.uk.ibm.com [9.149.37.249]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u0JCUXla10420594 for ; Tue, 19 Jan 2016 12:30:33 GMT Received: from d06av08.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av08.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u0JCUXYw020286 for ; Tue, 19 Jan 2016 05:30:33 -0700 Date: Tue, 19 Jan 2016 13:30:31 +0100 From: Cornelia Huck Message-ID: <20160119133031.734de4ac.cornelia.huck@de.ibm.com> In-Reply-To: <1452861718-25806-4-git-send-email-pbonzini@redhat.com> References: <1452861718-25806-1-git-send-email-pbonzini@redhat.com> <1452861718-25806-4-git-send-email-pbonzini@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 03/10] virtio: introduce qemu_get/put_virtqueue_element List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org, mst@redhat.com On Fri, 15 Jan 2016 13:41:51 +0100 Paolo Bonzini wrote: > Move allocation to virtio functions also when loading/saving a > VirtQueueElement. This will also let the load/save functions > keep backwards compatibility when the VirtQueueElement layout > is changed. > > Signed-off-by: Paolo Bonzini > --- > hw/block/virtio-blk.c | 10 +++------- > hw/char/virtio-serial-bus.c | 10 +++------- > hw/scsi/virtio-scsi.c | 7 ++----- > hw/virtio/virtio.c | 13 +++++++++++++ > include/hw/virtio/virtio.h | 2 ++ > 5 files changed, 23 insertions(+), 19 deletions(-) Reviewed-by: Cornelia Huck