crosvm/devices
Wang Ningyuan 02a1e4dd6d devices: Check power indicator before attn btn press
When hot unplug on a PCI slot, the slot could already be off. In this
case, pressing attention button would trigger a hot plug attempt on the
guest. This CL adds a check on the slot state before the button press,
and skip the interrupt if it is already off.

BUG=b:331529292
TEST=./tools/dev_container ./tools/presubmit

Change-Id: I5c80e138cf2fb58003121f9efcc693ed26574a10
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5528836
Commit-Queue: Ningyuan Wang <ningyuan@google.com>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2024-05-24 01:28:52 +00:00
..
src devices: Check power indicator before attn btn press 2024-05-24 01:28:52 +00:00
tests/irqchip hypervisor: remove unused Vcpu functions 2024-05-07 18:22:14 +00:00
Cargo.toml base: move fork_process to jail crate 2024-05-22 21:21:59 +00:00