freebsd-nq/usr.sbin/bhyve
Peter Grehan fed2d5edfc Move legacy interrupt allocation for virtio devices to common code.
There are a number of assumptions about legacy interrupts always
being available in virtio so don't allow back-ends to make the
decision to support them.

This fixes the issue seen with virtio-rnd on OpenBSD. MSI-x vectors
were not being used, and the virtio-rnd backend wasn't allocating a
legacy interrupt resulting in a bhyve assert and guest exit.

Reported by:	Julian Hsiao, madoka at nyanisore dot net
Reviewed by:	neel
MFC after:	1 week
2015-03-27 01:58:44 +00:00
..
acpi.c iasl(8) expects integer fields in data tables to be specified as hexadecimal 2014-10-09 19:02:32 +00:00
acpi.h Implement a PCI interrupt router to route PCI legacy INTx interrupts to 2014-05-15 14:16:55 +00:00
ahci.h Polish AHCI disk identify data and fix speed negotiation. 2015-03-13 20:14:35 +00:00
atkbdc.c Simplify the meaning of return values from the inout handlers. After this 2014-07-25 20:18:35 +00:00
bhyve.8 Add "-u" option to bhyve(8) to indicate that the RTC should maintain UTC time. 2015-02-24 02:04:16 +00:00
bhyverun.c Add "-u" option to bhyve(8) to indicate that the RTC should maintain UTC time. 2015-02-24 02:04:16 +00:00
bhyverun.h Simplify instruction restart logic in bhyve. 2015-01-18 03:08:30 +00:00
block_if.c Pre-allocate one extra request per processing thread. 2015-03-15 22:44:53 +00:00
block_if.h Increase S/G list size of 32 to 33 entries. 2015-03-16 09:15:59 +00:00
consport.c Handle single-byte reads from the bvmcons port (0x220) by returning 2014-04-08 21:02:03 +00:00
dbgport.c
dbgport.h
inout.c Simplify instruction restart logic in bhyve. 2015-01-18 03:08:30 +00:00
inout.h Simplify the meaning of return values from the inout handlers. After this 2014-07-25 20:18:35 +00:00
ioapic.c
ioapic.h
Makefile Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mem.c Support PCI extended config space in bhyve. 2014-08-08 03:49:01 +00:00
mem.h Support PCI extended config space in bhyve. 2014-08-08 03:49:01 +00:00
mevent_test.c
mevent.c Re-adding an event to a kqueue modifies the parameters of the original event. 2014-05-05 16:30:03 +00:00
mevent.h
mptbl.c Implement a PCI interrupt router to route PCI legacy INTx interrupts to 2014-05-15 14:16:55 +00:00
mptbl.h
pci_ahci.c Add missing variable initialization. 2015-03-20 16:05:13 +00:00
pci_emul.c Support PCI extended config space in bhyve. 2014-08-08 03:49:01 +00:00
pci_emul.h Support PCI extended config space in bhyve. 2014-08-08 03:49:01 +00:00
pci_hostbridge.c
pci_irq.c Minor cleanup: 2014-08-13 00:14:26 +00:00
pci_irq.h Implement a PCI interrupt router to route PCI legacy INTx interrupts to 2014-05-15 14:16:55 +00:00
pci_lpc.c Activate vcpus from bhyve(8) using the ioctl VM_ACTIVATE_CPU instead of doing 2014-05-31 23:37:34 +00:00
pci_lpc.h Implement a PCI interrupt router to route PCI legacy INTx interrupts to 2014-05-15 14:16:55 +00:00
pci_passthru.c Use calloc() in favor of malloc + memset. 2014-04-22 18:55:21 +00:00
pci_uart.c
pci_virtio_block.c Move legacy interrupt allocation for virtio devices to common code. 2015-03-27 01:58:44 +00:00
pci_virtio_net.c Move legacy interrupt allocation for virtio devices to common code. 2015-03-27 01:58:44 +00:00
pci_virtio_rnd.c Modify virtqueue helpers added in r253440 to allow queuing. 2015-03-15 11:37:07 +00:00
pm.c Simplify the meaning of return values from the inout handlers. After this 2014-07-25 20:18:35 +00:00
post.c
rtc.c Add "-u" option to bhyve(8) to indicate that the RTC should maintain UTC time. 2015-02-24 02:04:16 +00:00
rtc.h Add "-u" option to bhyve(8) to indicate that the RTC should maintain UTC time. 2015-02-24 02:04:16 +00:00
smbiostbl.c Correct display of bhyve SMBIOS UUIDs with dmidecode by bumping the version. 2014-09-23 01:17:22 +00:00
smbiostbl.h
spinup_ap.c Use 'cpuset_t' to represent the vcpus active in a virtual machine. 2014-03-20 18:15:37 +00:00
spinup_ap.h
task_switch.c Simplify instruction restart logic in bhyve. 2015-01-18 03:08:30 +00:00
uart_emul.c Disable the 'uart_drain()' callback when the emulated receive FIFO is full. 2014-05-05 23:54:13 +00:00
uart_emul.h
virtio.c Move legacy interrupt allocation for virtio devices to common code. 2015-03-27 01:58:44 +00:00
virtio.h Fix networking problem after r280026. 2015-03-15 16:09:39 +00:00
xmsr.c Emulate MSR 0xC0011024 when running on AMD processors. 2015-02-24 05:15:40 +00:00
xmsr.h Restructure the MSR handling so it is entirely handled by processor-specific 2014-09-20 02:35:21 +00:00