From: Sasha Levin Date: Sun, 14 Aug 2011 14:52:32 +0000 (+0300) Subject: virtio_config: Add virtio_config_val_len() X-Git-Tag: v3.2-rc1~83^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ead6f4d42e2866a48d7abf9bc98553f1110b6df;p=pandora-kernel.git 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 Cc: "Michael S. Tsirkin" Cc: Rusty Russell Cc: virtualization@lists.linux-foundation.org Signed-off-by: Sasha Levin Signed-off-by: Rusty Russell --- Reading git-diff-tree failed