mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +00:00
KVM: Accelerated apic support
This adds a mechanism for exposing the virtual apic tpr to the guest, and a protocol for letting the guest update the tpr without causing a vmexit if conditions allow (e.g. there is no interrupt pending with a higher priority than the new tpr). Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
parent
b209749f52
commit
b93463aa59
5 changed files with 120 additions and 1 deletions
|
@ -12,6 +12,8 @@
|
|||
/* Return values for hypercalls */
|
||||
#define KVM_ENOSYS 1000
|
||||
|
||||
#define KVM_HC_VAPIC_POLL_IRQ 1
|
||||
|
||||
#ifdef __KERNEL__
|
||||
/*
|
||||
* hypercalls use architecture specific
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue