Handling indirect descriptors is a capability of the host and
authorPeter Grehan <grehan@FreeBSD.org>
Mon, 11 May 2015 21:24:10 +0000 (21:24 +0000)
committerPeter Grehan <grehan@FreeBSD.org>
Mon, 11 May 2015 21:24:10 +0000 (21:24 +0000)
commitbe80efd4917dfbd4c67395b08666bf710b0612c5
treee134a15dec2908367a618ab36949654d7ddf06eb
parent809923ca0223de4c76830cc064655b8fac7bb0fd
Handling indirect descriptors is a capability of the host and
not one that needs to be negotiated. Use the host capabilities
field and not the negotiated field when verifying that indirect
descriptors are supported.

Found with the Redhat Windows viostor driver, which clears
the indirect capability in the negotiated caps and then starts
using them.

Reported and tested by: Leon Dang (ldang@nahannisys.com)
MFC after:   2 weeks
usr.sbin/bhyve/virtio.c