Files
kernel_amazon_mt8127-common/include/linux
Amos Kong d8abb8b8b7 kvm: exclude ioeventfd from counting kvm_io_range limit
commit 6ea34c9b78c10289846db0abeebd6b84d5aca084 upstream.

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 <akong@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
[wt: next patch depends on this one]
Signed-off-by: Willy Tarreau <w@1wt.eu>
2017-06-08 00:47:11 +02:00
..
2013-05-17 14:31:05 -04:00
2015-04-29 10:33:54 +02:00
2013-03-01 13:39:00 -08:00
2013-12-04 10:56:22 -08:00
2013-05-07 19:46:02 -07:00
2016-03-09 15:31:54 -08:00
2013-03-23 16:11:31 -07:00
2013-03-22 15:18:18 -07:00
2013-12-08 07:29:27 -08:00
2013-03-12 11:30:04 -07:00
2013-05-01 16:36:22 +05:30
2013-03-28 10:10:25 -06:00
2013-07-28 16:30:11 -07:00
2013-02-26 02:46:08 -05:00
2013-05-07 18:38:27 -07:00
2013-03-15 15:09:43 +10:30
2013-04-29 18:28:40 -07:00
2015-07-03 19:48:08 -07:00
2013-10-13 16:08:28 -07:00
2014-04-03 12:01:05 -07:00
2014-06-26 15:12:38 -04:00
2013-07-28 16:30:05 -07:00
2013-04-30 17:04:06 -07:00
2013-04-01 11:04:50 -07:00
2013-04-30 17:04:00 -07:00
2013-10-13 16:08:35 -07:00
2013-07-21 18:21:29 -07:00
2014-01-15 15:28:47 -08:00
2016-03-03 15:06:24 -08:00
2013-05-04 14:47:26 -04:00
2013-03-12 11:40:53 -04:00
2013-04-29 15:54:28 -07:00
2013-04-12 10:26:23 +02:00
2013-04-09 14:13:29 -04:00
2013-02-19 08:43:34 +01:00
2013-03-29 15:31:30 -04:00
2013-04-30 15:50:12 +05:30
2013-03-21 11:47:51 -04:00
2013-03-20 12:10:38 -04:00
2013-07-28 16:29:55 -07:00