diff options
author | Xiong Zhang <xiong.y.zhang@intel.com> | 2019-05-27 13:45:51 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2019-07-30 14:29:48 +0800 |
commit | d18fd0576e05a4b03b588e131093b0437fccb75f (patch) | |
tree | 977a6e9940c91909cf94275334662a9a66464122 /scripts/gdb/linux/config.py | |
parent | c00f9c6b79f7e1c5caf774c38e9fd5dad2d2ef1c (diff) |
drm/i915/gvt: Warning for invalid ggtt access
Instead of silently return virtual ggtt entries that guest is allowed
to access, this patch add extra range check. If guest read out of
range, it will print a warning and return 0. If guest write out
of range, the write will be dropped without any message.
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions