Skip to content
  1. Jun 21, 2013
  2. Jun 19, 2013
  3. Jun 17, 2013
  4. Jun 12, 2013
  5. Jun 05, 2013
  6. Jun 04, 2013
    • Amos Kong's avatar
      kvm: exclude ioeventfd from counting kvm_io_range limit · 6ea34c9b
      Amos Kong authored
      
      
      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: default avatarAmos Kong <akong@redhat.com>
      Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: default avatarGleb Natapov <gleb@redhat.com>
      6ea34c9b
  7. Jun 03, 2013
  8. May 21, 2013