mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
5a792cb933
When a vfio MSI-X vector got masked by guest, host vfio will release the corresponding irqfd. Thus host device cannot trigger interrupt via this fd and we then cannot set the pending bit. What we do instead is to not release the irqfd but switch the registered kvm irqfd into a new crosvm irqfd. So that when host device do trigger an interrupt, crsovm will know about it and set the pending bit accordingly. BUG=None TEST=Pass through a nvme disk and tested its functionality. Change-Id: I81c6fae7b89f1e1a445b8076bd9451a8aa9f0255 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3490239 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |