[Qemu-devel] [PATCH RFC v6 04/20] virtio: add feature checking helpers

David Gibson
2015-01-22T01:28:56Z

On Thu, Dec 11, 2014 at 02:25:06PM +0100, Cornelia Huck
wrote:
> Add a helper function for checking whether a bit is set in the guest
> features for a vdev as well as one that works on a feature bit set.
>
> Convert code that open-coded this: It cleans up the code and makes it
> easier to extend the guest feature bits.
>
> Signed-off-by: Cornelia Huck <cornelia.huck at de.ibm.com>

Reviewed-by: David Gibson <david at gibson.dropbear.id.au>

--
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL:
<http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20150122/0d3f2b83/attachment.sig>