diff options
author | Xie Yongji <xieyongji@bytedance.com> | 2021-09-23 15:57:22 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-10-22 06:49:14 -0400 |
commit | 1394103fd72ce9c67d20f882a93d59403c8da057 (patch) | |
tree | b5c55dd49b3e3798d7c5af3bf4fe92fb784515ed /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 64222515138e43da1fcf288f0289ef1020427b87 (diff) |
vduse: Disallow injecting interrupt before DRIVER_OK is set
The interrupt callback should not be triggered before DRIVER_OK
is set. Otherwise, it might break the virtio device driver.
So let's add a check to avoid the unexpected behavior.
Fixes: c8a6153b6c59 ("vduse: Introduce VDUSE - vDPA Device in Userspace")
Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Link: https://lore.kernel.org/r/20210923075722.98-1-xieyongji@bytedance.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions