diff options
| author | Jan Beulich <jbeulich@suse.com> | 2013-08-20 16:10:44 +0200 |
|---|---|---|
| committer | Jan Beulich <jbeulich@suse.com> | 2013-08-20 16:10:44 +0200 |
| commit | 7c2dc5b8e80234153e7aaa32b9a511d0738bd39e (patch) | |
| tree | 84609c9bddd50a998983a504681b8005f2cc8a1d /tools/blktap2/drivers/hashtable_utility.c | |
| parent | bfe2b5abd6871ee250cf01d07f23b177700932bc (diff) | |
| download | xen-7c2dc5b8e80234153e7aaa32b9a511d0738bd39e.tar.gz xen-7c2dc5b8e80234153e7aaa32b9a511d0738bd39e.tar.bz2 xen-7c2dc5b8e80234153e7aaa32b9a511d0738bd39e.zip | |
VT-d: protect against bogus information coming from BIOS
Add checks similar to those done by Linux: The DRHD address must not
be all zeros or all ones (Linux only checks for zero), and capabilities
as well as extended capabilities must not be all ones.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Ben Guthro <benjamin.guthro@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Tested-by: Ben Guthro <benjamin.guthro@citrix.com>
Acked by: Yang Zhang <yang.z.zhang@intel.com>
Acked-by: Xiantao Zhang <xiantao.zhang@intel.com>
master commit: e8e8b030ecf916fea19639f0b6a446c1c9dbe174
master date: 2013-08-14 11:18:24 +0200
Diffstat (limited to 'tools/blktap2/drivers/hashtable_utility.c')
0 files changed, 0 insertions, 0 deletions
