diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-02-26 19:09:45 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-26 19:09:45 -0800 |
commit | 6ddeb35ed4ae284f6357d18824d0cac681ed5b39 (patch) | |
tree | bde0c08e1bd186ce071737ce22633315f75ce4ae /pkg/sentry/platform/kvm/bluepill.go | |
parent | de0b2ebf8635a75bfabfd0a8b48de7923017574e (diff) | |
parent | de68e1d8c437e6234f5e413d7cad6f892a4452d3 (diff) |
Merge pull request #1912 from lubinszARM:pr_kvm_build
PiperOrigin-RevId: 297492004
Diffstat (limited to 'pkg/sentry/platform/kvm/bluepill.go')
-rw-r--r-- | pkg/sentry/platform/kvm/bluepill.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/pkg/sentry/platform/kvm/bluepill.go b/pkg/sentry/platform/kvm/bluepill.go index 35cd55fef..4b23f7803 100644 --- a/pkg/sentry/platform/kvm/bluepill.go +++ b/pkg/sentry/platform/kvm/bluepill.go @@ -81,12 +81,6 @@ func (c *vCPU) die(context *arch.SignalContext64, msg string) { // Save the death message, which will be thrown. c.dieState.message = msg - // Reload all registers to have an accurate stack trace when we return - // to host mode. This means that the stack should be unwound correctly. - if errno := c.getUserRegisters(&c.dieState.guestRegs); errno != 0 { - throw(msg) - } - // Setup the trampoline. dieArchSetup(c, context, &c.dieState.guestRegs) } |