From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NFtob-0004qE-Jb for qemu-devel@nongnu.org; Wed, 02 Dec 2009 13:20:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NFtoU-0004e1-Nz for qemu-devel@nongnu.org; Wed, 02 Dec 2009 13:20:34 -0500 Received: from [199.232.76.173] (port=36796 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFtoT-0004d2-UA for qemu-devel@nongnu.org; Wed, 02 Dec 2009 13:20:29 -0500 Received: from mx1.redhat.com ([209.132.183.28]:22114) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NFtoS-0004qM-3z for qemu-devel@nongnu.org; Wed, 02 Dec 2009 13:20:28 -0500 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nB2IKRG4002546 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 2 Dec 2009 13:20:27 -0500 Date: Wed, 2 Dec 2009 20:17:46 +0200 From: "Michael S. Tsirkin" Message-ID: <20091202181746.GA3949@redhat.com> References: <0762d0b2053d2133f41974261cb8a264ba3d2298.1259754427.git.quintela@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0762d0b2053d2133f41974261cb8a264ba3d2298.1259754427.git.quintela@redhat.com> Subject: [Qemu-devel] Re: [PATCH 41/41] virtio: virtio_save/load are not used anymore List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juan Quintela Cc: qemu-devel@nongnu.org You probably can just roll "not used anymore" lines in the parent patch. It does not help splitting this part out IMO. On Wed, Dec 02, 2009 at 01:04:39PM +0100, Juan Quintela wrote: > > Signed-off-by: Juan Quintela > --- > hw/virtio.c | 10 ---------- > hw/virtio.h | 4 ---- > 2 files changed, 0 insertions(+), 14 deletions(-) > > diff --git a/hw/virtio.c b/hw/virtio.c > index 73dae7c..2c4ac0b 100644 > --- a/hw/virtio.c > +++ b/hw/virtio.c > @@ -730,16 +730,6 @@ const VMStateDescription vmstate_virtio = { > } > }; > > -void virtio_save(VirtIODevice *vdev, QEMUFile *f) > -{ > - vmstate_save_state(f, &vmstate_virtio, vdev); > -} > - > -int virtio_load(VirtIODevice *vdev, QEMUFile *f) > -{ > - return vmstate_load_state(f, &vmstate_virtio, vdev, vmstate_virtio.version_id); > -} > - > void virtio_cleanup(VirtIODevice *vdev) > { > if (vdev->config) > diff --git a/hw/virtio.h b/hw/virtio.h > index ac7b8eb..fe3ba7a 100644 > --- a/hw/virtio.h > +++ b/hw/virtio.h > @@ -135,10 +135,6 @@ extern const VMStateDescription vmstate_virtio; > #define VMSTATE_VIRTIO(_field, _state) \ > VMSTATE_STRUCT_TEST(_field, _state, NULL, 0, vmstate_virtio, VirtIODevice) > > -void virtio_save(VirtIODevice *vdev, QEMUFile *f); > - > -int virtio_load(VirtIODevice *vdev, QEMUFile *f); > - > void virtio_cleanup(VirtIODevice *vdev); > > void virtio_notify_config(VirtIODevice *vdev); > -- > 1.6.5.2