aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorPeter Grehan <grehan@FreeBSD.org>2015-05-11 21:24:10 +0000
committerPeter Grehan <grehan@FreeBSD.org>2015-05-11 21:24:10 +0000
commitbe80efd4917dfbd4c67395b08666bf710b0612c5 (patch)
treee134a15dec2908367a618ab36949654d7ddf06eb /usr.sbin
parent809923ca0223de4c76830cc064655b8fac7bb0fd (diff)
Notes
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bhyve/virtio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bhyve/virtio.c b/usr.sbin/bhyve/virtio.c
index 41a9e428980d..11b1e627fd51 100644
--- a/usr.sbin/bhyve/virtio.c
+++ b/usr.sbin/bhyve/virtio.c
@@ -316,7 +316,7 @@ vq_getchain(struct vqueue_info *vq, uint16_t *pidx,
if ((vdir->vd_flags & VRING_DESC_F_INDIRECT) == 0) {
_vq_record(i, vdir, ctx, iov, n_iov, flags);
i++;
- } else if ((vs->vs_negotiated_caps &
+ } else if ((vs->vs_vc->vc_hv_caps &
VIRTIO_RING_F_INDIRECT_DESC) == 0) {
fprintf(stderr,
"%s: descriptor has forbidden INDIRECT flag, "