From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjRv5-0001Rl-0b for qemu-devel@nongnu.org; Mon, 12 Sep 2016 10:09:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjRv0-0003EO-K9 for qemu-devel@nongnu.org; Mon, 12 Sep 2016 10:09:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58428) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjRv0-0003E7-EV for qemu-devel@nongnu.org; Mon, 12 Sep 2016 10:09:06 -0400 From: Stefan Hajnoczi Date: Mon, 12 Sep 2016 15:08:41 +0100 Message-Id: <1473689334-29138-5-git-send-email-stefanha@redhat.com> In-Reply-To: <1473689334-29138-1-git-send-email-stefanha@redhat.com> References: <1473689334-29138-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PULL 04/17] virtio-blk: rename virtio_device_info to virtio_blk_info List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Changlong Xie , Stefan Hajnoczi From: Changlong Xie The old one is confusing with @virtio_device_info in virtio.c, so make it more appropriate. Signed-off-by: Changlong Xie Message-id: 1470214147-32560-1-git-send-email-xiecl.fnst@cn.fujitsu.com Signed-off-by: Stefan Hajnoczi --- hw/block/virtio-blk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/block/virtio-blk.c b/hw/block/virtio-blk.c index 331d766..3a6112f 100644 --- a/hw/block/virtio-blk.c +++ b/hw/block/virtio-blk.c @@ -992,7 +992,7 @@ static void virtio_blk_class_init(ObjectClass *klass, void *data) vdc->load = virtio_blk_load_device; } -static const TypeInfo virtio_device_info = { +static const TypeInfo virtio_blk_info = { .name = TYPE_VIRTIO_BLK, .parent = TYPE_VIRTIO_DEVICE, .instance_size = sizeof(VirtIOBlock), @@ -1002,7 +1002,7 @@ static const TypeInfo virtio_device_info = { static void virtio_register_types(void) { - type_register_static(&virtio_device_info); + type_register_static(&virtio_blk_info); } type_init(virtio_register_types) -- 2.7.4