diff options
author | Michael S. Tsirkin <[email protected]> | 2010-06-23 22:49:06 -0600 |
---|---|---|
committer | Rusty Russell <[email protected]> | 2010-06-23 22:49:07 +0930 |
commit | b03214d559471359e2a85ae256686381d0672f29 (patch) | |
tree | b2c5d617304bffc8dd4917ecef251ec109eb3b8b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 686d363786a53ed28ee875b84ef24e6d5126ef6f (diff) |
virtio-pci: disable msi at startup
virtio-pci resets the device at startup by writing to the status
register, but this does not clear the pci config space,
specifically msi enable status which affects register
layout.
This breaks things like kdump when they try to use e.g. virtio-blk.
Fix by forcing msi off at startup. Since pci.c already has
a routine to do this, we export and use it instead of duplicating code.
Signed-off-by: Michael S. Tsirkin <[email protected]>
Tested-by: Vivek Goyal <[email protected]>
Acked-by: Jesse Barnes <[email protected]>
Cc: [email protected]
Signed-off-by: Rusty Russell <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions