Deleted Added
full compact
26c26
< * $FreeBSD: stable/10/usr.sbin/bhyve/virtio.h 253440 2013-07-17 23:37:33Z grehan $
---
> * $FreeBSD: stable/10/usr.sbin/bhyve/virtio.h 267393 2014-06-12 13:13:15Z jhb $
330a331,342
> #define VS_LOCK(vs) \
> do { \
> if (vs->vs_mtx) \
> pthread_mutex_lock(vs->vs_mtx); \
> } while (0)
>
> #define VS_UNLOCK(vs) \
> do { \
> if (vs->vs_mtx) \
> pthread_mutex_unlock(vs->vs_mtx); \
> } while (0)
>
434c446
< if (vs->vs_flags & VIRTIO_USE_MSIX)
---
> if (pci_msix_enabled(vs->vs_pi))
436a449
> VS_LOCK(vs);
438a452,453
> pci_lintr_assert(vs->vs_pi);
> VS_UNLOCK(vs);