diff options
author | KONRAD Frederic <fred.konrad@greensocs.com> | 2013-04-24 10:21:20 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-04-24 11:50:20 -0500 |
commit | 181103cd52710b987799ae980bb92407994243bc (patch) | |
tree | 9442542631a8ef1920719cfaddebad25a7d17c0a /hw/scsi/vhost-scsi.c | |
parent | a2f1078b70b6cfc98ed795f17f9d975b1dec1f65 (diff) |
virtio: remove the function pointer.
This remove the function pointer in VirtIODevice, and use only
VirtioDeviceClass function pointer.
Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Message-id: 1366791683-5350-5-git-send-email-fred.konrad@greensocs.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/scsi/vhost-scsi.c')
-rw-r--r-- | hw/scsi/vhost-scsi.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/scsi/vhost-scsi.c b/hw/scsi/vhost-scsi.c index 3dd1a0f2ed..3c93172e83 100644 --- a/hw/scsi/vhost-scsi.c +++ b/hw/scsi/vhost-scsi.c @@ -217,10 +217,6 @@ static int vhost_scsi_init(VirtIODevice *vdev) return ret; } - vdev->get_features = vhost_scsi_get_features; - vdev->set_config = vhost_scsi_set_config; - vdev->set_status = vhost_scsi_set_status; - s->dev.nvqs = VHOST_SCSI_VQ_NUM_FIXED + vs->conf.num_queues; s->dev.vqs = g_new(struct vhost_virtqueue, s->dev.nvqs); s->dev.vq_index = 0; |