summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2018-07-23 13:30:29 -0700
committerShentubot <shentubot@google.com>2018-07-23 13:31:42 -0700
commitd7a34790a0cc3cfdef9d9e54f17c4bc0a6819900 (patch)
treebfbbfd9e0ad6ad74a15f0c705ad989904eb57a69 /pkg/sentry/platform
parentf543ada15005e6e2d31a63148a74fbdc43d070de (diff)
Add KVM and overlay dimensions to container_test
PiperOrigin-RevId: 205714667 Change-Id: I317a2ca98ac3bdad97c4790fcc61b004757d99ef
Diffstat (limited to 'pkg/sentry/platform')
-rw-r--r--pkg/sentry/platform/kvm/kvm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/platform/kvm/kvm.go b/pkg/sentry/platform/kvm/kvm.go
index 3ed057881..2dc3239a5 100644
--- a/pkg/sentry/platform/kvm/kvm.go
+++ b/pkg/sentry/platform/kvm/kvm.go
@@ -66,7 +66,7 @@ func New() (*KVM, error) {
ring0.Init(cpuid.HostFeatureSet())
})
if globalErr != nil {
- return nil, err
+ return nil, globalErr
}
// Create a new VM fd.