qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/5][RFC] virtio-net: MAC filtering


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH 0/5][RFC] virtio-net: MAC filtering
Date: Sun, 11 Jan 2009 10:32:05 +0200
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Anthony Liguori wrote:
Paul Brook wrote:
A concern here is the growing size of the virtio-net I/O port space
config.  This series brings it up to 256 bytes with PCI resource
rounding.  The VLAN filter bitmap would increase that by another 512
bytes, making it 1kB and limiting us to something less than 64 such
devices per guest.  Is anyone worried?  Should filter tables live in
MMIO space for virtio devices? I'll send out the guest side patches for
virtio-net in a separate thread.  Thanks,

This is one reason why IO ports are a reallybad idea. Use memory mapped register spaces like any other sane system and you won't have a problem.

IO ports are much faster for notification than MMIO in KVM which is why the space is currently IO ports. It was never meant to hold very large amounts of data.

We can, btw, fix the mmio speed issue by adding two new hypercalls: mmio_read() and mmio_write(). We could then hook <asm/io.h> to use the hypercalls instead of reading directly. This would speed up most emulated devices, not just virtio.

I don't know whether Windows drivers access mmio using helpers or directly.

--
error compiling committee.c: too many arguments to function





reply via email to

[Prev in Thread] Current Thread [Next in Thread]