diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-01-13 17:25:00 +1100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-01-19 17:17:50 +1100 |
commit | 44e8d9a57d2e67e5e05d6ae1902eec90db77f752 (patch) | |
tree | fe7c574147648842e89e60cf2cc0e9f61d350a41 /lib/libvirtio/virtio.h | |
parent | ca610c931e2b0004c44f748cb813580b09c60489 (diff) | |
download | SLOF-44e8d9a57d2e67e5e05d6ae1902eec90db77f752.zip SLOF-44e8d9a57d2e67e5e05d6ae1902eec90db77f752.tar.gz SLOF-44e8d9a57d2e67e5e05d6ae1902eec90db77f752.tar.bz2 |
Add virtfs support
Code originally written by Timothy Rule and reworked &
bug fixed by myself
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'lib/libvirtio/virtio.h')
-rw-r--r-- | lib/libvirtio/virtio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libvirtio/virtio.h b/lib/libvirtio/virtio.h index 7355043..37d4eb3 100644 --- a/lib/libvirtio/virtio.h +++ b/lib/libvirtio/virtio.h @@ -79,6 +79,8 @@ 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_guest_features(struct virtio_device *dev, int features); 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); #endif /* _LIBVIRTIO_H */ |