summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform/ring0/aarch64.go
diff options
context:
space:
mode:
authorBin Lu <bin.lu@arm.com>2020-01-29 07:50:34 -0500
committerBin Lu <bin.lu@arm.com>2020-01-29 07:50:38 -0500
commit6adbdfe232c3da42a7f6f3a7d882d140196e4068 (patch)
tree083220be2231af200e17507fb489da91f8769f09 /pkg/sentry/platform/ring0/aarch64.go
parent4cb55a7a3b09c430fa2b7197fdc7b84b7e88a6ed (diff)
supporting sError in guest kernel on Arm64
For test case 'TestBounce', we use KVM_SET_VCPU_EVENTS to trigger sError to leave guest. Signed-off-by: Bin Lu <bin.lu@arm.com>
Diffstat (limited to 'pkg/sentry/platform/ring0/aarch64.go')
-rw-r--r--pkg/sentry/platform/ring0/aarch64.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/sentry/platform/ring0/aarch64.go b/pkg/sentry/platform/ring0/aarch64.go
index 6b078cd1e..f6da41c27 100644
--- a/pkg/sentry/platform/ring0/aarch64.go
+++ b/pkg/sentry/platform/ring0/aarch64.go
@@ -88,14 +88,14 @@ const (
El0Sync_undef
El0Sync_dbg
El0Sync_inv
- VirtualizationException
_NR_INTERRUPTS
)
// System call vectors.
const (
- Syscall Vector = El0Sync_svc
- PageFault Vector = El0Sync_da
+ Syscall Vector = El0Sync_svc
+ PageFault Vector = El0Sync_da
+ VirtualizationException Vector = El0Error
)
// VirtualAddressBits returns the number bits available for virtual addresses.