commit | 3ead6f4d42e2866a48d7abf9bc98553f1110b6df | [log] [tgz] |
---|---|---|
author | Sasha Levin <levinsasha928@gmail.com> | Sun Aug 14 17:52:32 2011 +0300 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Nov 02 11:40:58 2011 +1030 |
tree | db9bcecd8d232b0f3b9fb14589c58a872c400539 | |
parent | 51c6d61ac58844b5e3e0d28271084c06f6a15371 [diff] |
virtio_config: Add virtio_config_val_len() This patch adds virtio_config_val_len() which allows retrieving variable length data from the virtio config space only if a specific feature is on. Cc: Amit Shah <amit.shah@redhat.com> Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: virtualization@lists.linux-foundation.org Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>