| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
For MSI-X (and also possibly for other transports), the interrupt
handler must do different things. Move it out of virtio.c and into
virtio_pci.
ARM part tested by patrick@
|
|
|
|
| |
The return value was unused
|
|
|
|
| |
No object file changes besides line numbers in KASSERTs
|
| |
|
|
|
|
| |
A leftover from netbsd
|
| |
|
|
|
|
|
|
|
| |
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
| |
|
|
|
|
| |
bus_dmamap_sync for it.
|
|
|
|
|
|
| |
The virtio_membar_sync() calls are required even on x86. The *_producer()
and *_consumer() calls are only relevant on architectures with less strict
memory ordering.
|
|
|
|
| |
ok tedu
|
|
|
|
| |
after discussions with beck deraadt kettenis.
|
|
|
|
| |
ok sf@
|
|
|
|
|
|
|
| |
When using the RING_EVENT_IDX feature, we must first call publish_avail_idx()
and then read VQ_AVAIL_EVENT(vq), or there is a race condition that may cause
us to miss that the host needs to be notified. This resulted in an occasional
hang of network in vio(4).
|
|
|
|
|
|
|
|
|
| |
For transports supporting several interrupts, this function needs to
setup per-queue interrupts in addition of setting the queue address.
No logic change.
OK jasper@
|
|
|
|
|
|
|
| |
Add GuestCSum feature string
virtio: Make some printfs depend on VIRTIO_DEBUG
OK jasper@
|
|
|
|
| |
ok guenther millert kettenis
|
|
|
|
| |
ok sf@
|
|
attach as scsi disks). These are paravirtualized devices offered by some
hypervisors like kvm and virtualbox.
The virtio transport driver has the pci specific parts separated out. This
will make it easier to add support for mmio (e.g. for ARM) later.
OK mikeb
OK jasper
"commit what you have" deraadt
|