summaryrefslogtreecommitdiffstats
path: root/hw/9pfs/virtio-9p-device.c
diff options
context:
space:
mode:
authorKONRAD Frederic2013-04-24 10:21:20 +0200
committerAnthony Liguori2013-04-24 18:50:20 +0200
commit181103cd52710b987799ae980bb92407994243bc (patch)
tree9442542631a8ef1920719cfaddebad25a7d17c0a /hw/9pfs/virtio-9p-device.c
parentvirtio-pci: cleanup. (diff)
downloadqemu-181103cd52710b987799ae980bb92407994243bc.tar.gz
qemu-181103cd52710b987799ae980bb92407994243bc.tar.xz
qemu-181103cd52710b987799ae980bb92407994243bc.zip
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/9pfs/virtio-9p-device.c')
-rw-r--r--hw/9pfs/virtio-9p-device.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/9pfs/virtio-9p-device.c b/hw/9pfs/virtio-9p-device.c
index 62a291bbce..dc6f4e404f 100644
--- a/hw/9pfs/virtio-9p-device.c
+++ b/hw/9pfs/virtio-9p-device.c
@@ -92,9 +92,7 @@ static int virtio_9p_device_init(VirtIODevice *vdev)
s->ctx.uid = -1;
s->ops = fse->ops;
- vdev->get_features = virtio_9p_get_features;
s->config_size = sizeof(struct virtio_9p_config) + len;
- vdev->get_config = virtio_9p_get_config;
s->fid_list = NULL;
qemu_co_rwlock_init(&s->rename_lock);