diff options
author | Suravee Suthikulpanit <[email protected]> | 2016-08-23 13:52:41 -0500 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2016-09-08 12:57:20 +0200 |
commit | 5ea11f2b31b83bd3c05357e6bec20f598e00705a (patch) | |
tree | fd2f595fbac1d779f6764c4447c4457c30099a5c /lib/cpu-notifier-error-inject.c | |
parent | 9ac7e3e815060efdc86b6d12448200e3c3597e01 (diff) |
svm: Introduces AVIC per-VM ID
Introduces per-VM AVIC ID and helper functions to manage the IDs.
Currently, the ID will be used to implement 32-bit AVIC IOMMU GA tag.
The ID is 24-bit one-based indexing value, and is managed via helper
functions to get the next ID, or to free an ID once a VM is destroyed.
There should be no ID conflict for any active VMs.
Reviewed-by: Radim Krčmář <[email protected]>
Signed-off-by: Suravee Suthikulpanit <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions