Brian Foley
3850d29fc4
virtio_mmio: fix off by one error allocating queue
...
vm_setup_vq fails to allow VirtQueues needing only 2 pages of
storage, as it should. Found with a kernel using 64kB pages, but
can be provoked if a virtio device reports QueueNumMax where the
descriptor table and available ring fit in one page, and the used
ring on the second (<= 227 descriptors with 4kB pages and <= 3640
with 64kB pages.)
Signed-off-by: Brian Foley <brian.foley@arm.com>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-09-28 15:05:16 +09:30
..
2012-09-14 20:54:44 +02:00
2012-07-27 15:14:26 -07:00
2012-09-13 00:24:29 -04:00
2012-08-06 13:29:57 -07:00
2012-08-28 21:01:01 +02:00
2012-08-02 13:51:46 -04:00
2012-09-28 15:05:14 +09:30
2012-08-27 08:36:42 -05:00
2012-09-28 15:05:13 +09:30
2012-07-30 17:25:13 -07:00
2012-08-21 16:45:02 -07:00
2012-07-16 23:23:52 -07:00
2012-08-23 17:02:42 +02:00
2012-08-17 19:37:08 +02:00
2012-09-12 07:14:17 +08:00
2012-08-13 10:15:22 +05:30
2012-07-29 21:11:05 -03:00
2012-09-16 13:22:21 -07:00
2012-07-30 09:32:39 -07:00
2012-07-31 19:07:42 -07:00
2012-09-01 12:52:24 +02:00
2012-09-14 15:45:01 +10:00
2012-09-07 12:29:38 -07:00
2012-07-31 19:07:42 -07:00
2012-09-12 06:42:11 -07:00
2012-09-10 13:19:25 +03:00
2012-09-14 17:55:57 -07:00
2012-08-21 14:54:42 -07:00
2012-08-17 19:37:14 +02:00
2012-07-12 07:54:45 -07:00
2012-08-27 21:15:25 +01:00
2012-09-14 10:42:52 -07:00
2012-09-08 16:20:59 -07:00
2012-08-10 11:34:08 +02:00
2012-09-13 14:58:54 -04:00
2012-08-13 14:34:02 +08:00
2012-09-28 15:05:15 +09:30
2012-08-18 09:51:42 +10:00
2012-08-21 16:54:38 -07:00
2012-07-30 17:25:17 -07:00
2012-09-16 13:22:21 -07:00
2012-08-21 16:45:03 -07:00
2012-09-04 13:58:11 -04:00
2012-09-04 09:40:26 +03:00
2012-09-17 13:21:02 -07:00
2012-07-09 16:42:24 -04:00
2012-08-20 02:16:00 -07:00
2012-07-24 16:17:07 -07:00
2012-08-23 10:53:08 -06:00
2012-07-27 15:14:26 -07:00
2012-08-17 11:09:58 +02:00
2012-09-13 16:46:31 -04:00
2012-08-02 11:52:39 -07:00
2012-07-30 17:25:21 -07:00
2012-09-10 17:04:38 +02:00
2012-08-21 16:45:03 -07:00
2012-09-16 13:22:21 -07:00
2012-09-28 15:05:15 +09:30
2012-09-28 15:05:15 +09:30
2012-09-17 15:00:38 -07:00
2012-09-28 15:05:15 +09:30
2012-08-22 09:42:54 +04:00
2012-08-09 13:21:05 +09:00
2012-08-25 11:45:04 -07:00
2012-09-16 13:22:21 -07:00
2012-09-07 11:32:54 -07:00
2012-07-31 18:08:25 -07:00
2012-09-05 12:44:44 -07:00
2012-09-12 11:12:31 -07:00
2012-08-22 10:26:42 -04:00
2012-08-20 14:52:11 -07:00
2012-08-23 12:37:22 +00:00
2012-09-28 15:05:16 +09:30
2012-07-19 15:39:39 -07:00
2012-08-16 12:33:59 -07:00
2012-08-29 17:13:06 +02:00
2012-09-06 09:22:02 -04:00
2012-07-15 19:56:38 +02:00
2012-07-31 08:16:22 -06:00
2012-07-31 08:16:22 -06:00