This adds support for vhost-net virtio kernel backend.
This is RFC, but works without issues for me.
Still needs to be split up, tested and benchmarked properly,
but posting it here in case people want to test drive
the kernel bits I posted.
Changes since v2:
- minor fixes
- added patch to
virtio-pci depends, and will always depend, on pci.c
so it makes sense to keep it in the same makefile,
(unlike the rest of virtio files which should eventually
be moved out to Makefile.hw).
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
Makefile.hw |2 +-
Makefile.target |2
This adds support for vhost-net virtio kernel backend.
To enable (assuming device eth2):
1. enable promisc mode or program guest mac in device eth2
2. disable tso, gso, lro, jumbo frames on the card
(disabling lro + jumbo frames should be sufficient,
haven't tested this)
3. add vhost=eth2
Support build on rhel 5.3 where we have syscall for eventfd but not
userspace wrapper.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
compat/sys/eventfd.h | 13 +
configure|1 +
2 files changed, 14 insertions(+), 0 deletions(-)
create mode 100644
On 08/17/2009 03:37 PM, Michael S. Tsirkin wrote:
but posting it here in case people want to test drive
the kernel bits I posted.
I think that is best served if you post a link to a git tree...
--
error compiling committee.c: too many arguments to function
devices should have the final say over which virtio features they
support. E.g. indirect entries may or may not make sense in the context
of virtio-console. Move the common bits from virtio-pci to an inline
function and let each device call it.
No functional changes.
Signed-off-by: Michael S.