summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform/kvm
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-11-17 14:15:12 -0800
committergVisor bot <gvisor-bot@google.com>2020-11-17 14:15:12 -0800
commitc1e1e7a9ae0e3eb596f235b7b52074caf75118ec (patch)
tree7caab1925e624c19a7eb35ee37c163398d9e3478 /pkg/sentry/platform/kvm
parent05d2a26f7a86318216db2256815338c4f9cf8cf2 (diff)
parent170b5842225176d3fa981e7d8628c1dda4a4f504 (diff)
Merge pull request #4836 from lubinszARM:pr_exception_el0_el1
PiperOrigin-RevId: 342943430
Diffstat (limited to 'pkg/sentry/platform/kvm')
-rw-r--r--pkg/sentry/platform/kvm/machine_arm64_unsafe.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/pkg/sentry/platform/kvm/machine_arm64_unsafe.go b/pkg/sentry/platform/kvm/machine_arm64_unsafe.go
index fd92c3873..3f5be276b 100644
--- a/pkg/sentry/platform/kvm/machine_arm64_unsafe.go
+++ b/pkg/sentry/platform/kvm/machine_arm64_unsafe.go
@@ -263,13 +263,6 @@ func (c *vCPU) SwitchToUser(switchOpts ring0.SwitchOpts, info *arch.SignalInfo)
return usermem.NoAccess, platform.ErrContextInterrupt
case ring0.El0SyncUndef:
return c.fault(int32(syscall.SIGILL), info)
- case ring0.El1SyncUndef:
- *info = arch.SignalInfo{
- Signo: int32(syscall.SIGILL),
- Code: 1, // ILL_ILLOPC (illegal opcode).
- }
- info.SetAddr(switchOpts.Registers.Pc) // Include address.
- return usermem.AccessType{}, platform.ErrContextSignal
default:
panic(fmt.Sprintf("unexpected vector: 0x%x", vector))
}