diff options
author | Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> | 2016-02-01 11:18:08 +0530 |
---|---|---|
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | 2016-02-08 16:40:39 +1100 |
commit | 940ac04abe83647fd72f13b1efe85bce645d2196 (patch) | |
tree | d439d883da3b11215a28e5b251c07383bcae4710 /lib/libvirtio/virtio.h | |
parent | e3a281624b47c98dacd63572ed7ce0ed8dc61391 (diff) | |
download | SLOF-940ac04abe83647fd72f13b1efe85bce645d2196.zip SLOF-940ac04abe83647fd72f13b1efe85bce645d2196.tar.gz SLOF-940ac04abe83647fd72f13b1efe85bce645d2196.tar.bz2 |
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 <nikunj@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'lib/libvirtio/virtio.h')
-rw-r--r-- | lib/libvirtio/virtio.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |