From 940ac04abe83647fd72f13b1efe85bce645d2196 Mon Sep 17 00:00:00 2001 From: Nikunj A Dadhania Date: Mon, 1 Feb 2016 11:18:08 +0530 Subject: virtio: update features set/get register accessor The new specification has a 64-bit feature register, change the signature and update the routine to handle them. Signed-off-by: Nikunj A Dadhania Reviewed-by: Thomas Huth Signed-off-by: Alexey Kardashevskiy --- lib/libvirtio/virtio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libvirtio/virtio.h') diff --git a/lib/libvirtio/virtio.h b/lib/libvirtio/virtio.h index e2543a1..bf8ea28 100644 --- a/lib/libvirtio/virtio.h +++ b/lib/libvirtio/virtio.h @@ -117,8 +117,8 @@ extern void virtio_reset_device(struct virtio_device *dev); extern void virtio_queue_notify(struct virtio_device *dev, int queue); extern void virtio_set_status(struct virtio_device *dev, int status); extern void virtio_set_qaddr(struct virtio_device *dev, int queue, unsigned long qaddr); -extern void virtio_set_guest_features(struct virtio_device *dev, int features); -extern void virtio_get_host_features(struct virtio_device *dev, int *features); +extern void virtio_set_guest_features(struct virtio_device *dev, uint64_t features); +extern uint64_t virtio_get_host_features(struct virtio_device *dev); extern uint64_t virtio_get_config(struct virtio_device *dev, int offset, int size); extern int __virtio_read_config(struct virtio_device *dev, void *dst, int offset, int len); -- cgit v1.1