vmd(8): drop packets if tap(4) returns ENOMEM.
If there are no mbufs available to queue a packet on write(2), we
should drop the packet instead of toggling the device reset state.
The virtio network device was inspecting the wrong errno as well.
Also drop packets if EMSGSIZE is set on error. Only in unexpected
cases should we flag the device needs a reset.
Issue reported by Mischa Peters.
ok bluhm@, jan@, mlarkin@ and makes sense to deraadt@
test: improve output log and report format
Bring the test framework output closer to the output of Go's testing
package, in order to make it easier to trace issues in the output from
very large tests with many sub-tests.
Also add test_skipnow(), and make test_skip/test_skipf wrappers around
test_logf_internal so skip reasons get the same call location prefix as
other log output.
This also makes it easier for a followup to add timing for tests, which
will help determine which tests are slow.
ok tb
vmd(8): place acpi tables in upper reserved memory
The original decision to place ACPI tables at 0x90000 caused "legacy" linux
bootloaders like lilo to overwrite the tables. While this doesn't damage
the vm, it does cause linux to revert to uniprocessor mode. Place the tables
in a mem reserved region adjacent to the pci mmio hole instead.
tested on various guest OSes
ok dv