Donald Dutile
ffe3ce1173
pci-devfn: check that device/slot number is within range
...
Need to check that guest slot/device number is not > 31 or walk off
the devfn table when checking if a devfn is available or not in a guest.
before this fix, passing in an addr=abc or addr=34,
can crash qemu, sometimes fail gracefully if data past end
of devfn table fails the availability test.
with this fix, get clean error:
Property 'pci-assign.addr' doesn't take value '34'
also tested when no addr= param passed for guest (pcicfg) address,
and that worked as well.
Signed-off-by: Don Dutile <ddutile@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2011-09-23 10:55:34 -05:00
..
2011-09-15 13:28:28 -05:00
2011-09-21 14:32:20 +02:00
2011-09-19 21:22:29 +03:00
2011-09-16 08:25:56 -05:00
2011-09-23 10:55:33 -05:00
2011-09-23 10:55:32 -05:00
2011-09-19 21:22:29 +03:00
2011-09-15 16:39:32 -03:00
2011-09-12 15:17:22 +02:00
2011-09-16 08:25:56 -05:00
2011-09-10 14:46:12 +00:00
2011-09-10 14:49:51 +00:00
2011-09-16 08:25:56 -05:00
2011-09-16 08:28:46 -05:00
2011-09-15 16:39:32 -03:00
2011-09-16 08:25:56 -05:00
2011-09-19 21:22:29 +03:00
2011-09-16 08:25:56 -05:00
2011-09-18 17:06:53 +03:00
2011-09-18 17:06:53 +03:00
2011-09-18 17:06:53 +03:00
2011-09-18 17:06:53 +03:00
2011-09-10 16:50:46 +00:00
2011-09-10 16:50:46 +00:00
2011-09-16 08:25:56 -05:00
2011-09-18 17:06:53 +03:00
2011-09-19 21:22:29 +03:00
2011-09-21 11:14:42 +03:00
2011-09-21 11:14:38 +03:00
2011-09-23 08:36:58 +02:00
2011-09-21 11:14:35 +03:00
2011-09-21 11:14:10 +03:00
2011-09-21 11:14:42 +03:00
2011-09-21 11:14:10 +03:00
2011-09-23 10:55:34 -05:00
2011-09-23 10:55:33 -05:00
2011-09-23 10:55:33 -05:00
2011-09-20 17:46:12 +03:00
2011-09-20 17:46:12 +03:00
2011-09-21 14:32:20 +02:00
2011-09-19 21:22:30 +03:00
2011-09-19 21:22:30 +03:00
2011-09-19 21:22:29 +03:00
2011-09-23 10:55:34 -05:00
2011-09-16 09:06:28 -05:00
2011-09-15 16:39:32 -03:00
2011-09-19 21:22:29 +03:00
2011-09-20 12:27:44 +02:00
2011-09-20 15:21:03 -05:00
2011-09-19 11:34:34 +02:00
2011-09-12 15:17:21 +02:00
2011-09-12 15:17:22 +02:00
2011-09-21 11:14:42 +03:00
2011-09-18 12:00:19 +00:00
2011-09-19 21:22:29 +03:00
2011-09-19 21:22:29 +03:00
2011-09-19 21:22:29 +03:00
2011-09-23 10:55:33 -05:00
2011-09-16 09:06:28 -05:00
2011-09-09 12:58:16 -05:00
2011-09-15 16:39:32 -03:00
2011-09-20 15:16:00 -05:00
2011-09-17 15:14:24 +00:00
2011-09-16 08:25:56 -05:00
2011-09-15 16:39:32 -03:00
2011-09-09 13:13:16 +00:00
2011-09-09 13:13:16 +00:00
2011-09-09 13:13:16 +00:00
2011-09-09 13:13:16 +00:00
2011-09-21 10:49:16 +01:00
2011-09-09 13:13:16 +00:00
2011-09-21 10:49:16 +01:00
2011-09-10 16:57:40 +00:00
2011-09-10 16:57:39 +00:00
2011-09-10 16:57:39 +00:00