qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] kvm: exclude ioeventfd from counting kvm_io_ran


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] kvm: exclude ioeventfd from counting kvm_io_range limit
Date: Mon, 27 May 2013 13:33:16 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, May 25, 2013 at 06:44:15AM +0800, Amos Kong wrote:
> We can easily reach the 1000 limit by start VM with a couple
> hundred I/O devices (multifunction=on). The hardcode limit
> already been adjusted 3 times (6 ~ 200 ~ 300 ~ 1000).
> 
> In userspace, we already have maximum file descriptor to
> limit ioeventfd count. But kvm_io_bus devices also are used
> for pit, pic, ioapic, coalesced_mmio. They couldn't be limited
> by maximum file descriptor.
> 
> Currently only ioeventfds take too much kvm_io_bus devices,
> so just exclude it from counting kvm_io_range limit.
> 
> Also fixed one indent issue in kvm_host.h
> 
> Signed-off-by: Amos Kong <address@hidden>
> ---
>  include/linux/kvm_host.h | 3 ++-
>  virt/kvm/eventfd.c       | 2 ++
>  virt/kvm/kvm_main.c      | 3 ++-
>  3 files changed, 6 insertions(+), 2 deletions(-)

Reviewed-by: Stefan Hajnoczi <address@hidden>



reply via email to

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