mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
970811a704
These are only used in KVM, not the other x86 hypervisors, and they don't really fit into the same category as the rest of Sregs. The apic_base can be set via set_msrs(), and the interrupt_bitmap is part of the irqchip state. To enable this removal, we change the KVM set_sregs() call to retrieve the current state and use the existing apic_base and interrupt_bitmap. BUG=b:237095693 TEST=Boot x86-64 kernel on KVM Change-Id: I275eec83b74f1c364b7a543882f3ac5960201143 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3728988 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Reviewed-by: Vaibhav Nagarnaik <vnagarnaik@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Noah Gold <nkgold@google.com> |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |