Go to file
Aurelien Jarno f0c391e09b virtio-net: acknowledge used features
According to the virtio specifications, the host present the supported
features to the guest, and the guest should answer woth the features it
supports. This allows the host to disable support for features that the
guest is not going to use.

Minix tells to the host it doesn't support any extended features, while
it uses at least VIRTIO_NET_F_MAC and VIRTIO_NET_F_CTRL_VQ. For the
latter it seems it only allocate the queue while not using it later.
However starting with QEMU 1.4.0, with multiqueue support added, the
control queue is not allocated on the host side if the guest doesn't
tell it supports this feature. This cause virtio-net to crash on the
Minix side.

This patch fixes that by correctly telling the features that are
used by the Minix guest for more than printing a debug message. This
fixes virtio-net on QEMU 1.4.x.

Change-Id: I8bbf757c09d24e0f5fe5835531a1c9203b714bd7
2013-09-11 18:34:11 +02:00
benchmarks Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
bin fix a few more minix specific warnings 2013-08-27 16:16:03 +00:00
commands kernel: add padconf kernel call 2013-08-28 12:53:05 -04:00
common a bit more -Werror compatability 2013-08-20 11:37:40 +02:00
dist/nvi Termcap update, replacing elvis by nvi. 2013-01-24 07:44:38 +01:00
distrib gpio: port to am335x 2013-09-03 08:14:18 -04:00
docs Allow install of binutils and import texinfo 2013-07-12 14:18:08 +02:00
drivers virtio-net: acknowledge used features 2013-09-11 18:34:11 +02:00
etc gpio: port to am335x 2013-09-03 08:14:18 -04:00
external libarchive: use -isystem for /usr/include 2013-08-30 17:21:01 +02:00
gnu enable fatal warnings 2013-09-01 12:59:37 +00:00
include vm: make WARNS=5 proof 2013-09-06 11:51:20 +02:00
kernel enable fatal warnings 2013-09-01 12:59:37 +00:00
lib vm: make WARNS=5 proof 2013-09-06 11:51:20 +02:00
libexec increase -Werror resilience 2013-08-21 13:53:39 +02:00
man Importing usr.bin/tr 2013-08-25 18:51:36 +02:00
releasetools Importing usr.bin/tr 2013-08-25 18:51:36 +02:00
sbin increase -Werror resilience 2013-08-21 13:53:39 +02:00
servers vm: make WARNS=5 proof 2013-09-06 11:51:20 +02:00
share enable fatal warnings 2013-09-01 12:59:37 +00:00
sys fix a few more minix specific warnings 2013-08-27 16:16:03 +00:00
test kernel: move do_padconf and add a test case 2013-08-29 09:23:10 -04:00
tests fix a few more minix specific warnings 2013-08-27 16:16:03 +00:00
tools bugfix: build.sh cross-compile on NetBSD host 2013-09-05 16:09:35 +02:00
usr.bin fix a few more minix specific warnings 2013-08-27 16:16:03 +00:00
usr.sbin increase -Werror resilience 2013-08-21 13:53:39 +02:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview misc:Add gerrit code review support. 2013-01-16 09:44:16 +01:00
build.sh Reverting back to default value of MKARZERO 2013-01-17 10:03:58 +01:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile Importing NetBSD "Kyua" test framework 2013-07-23 20:43:41 +02:00