mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
KVM platform does not support 32bit.
Fixes: //test/syscalls:32bit_test_runsc_kvm
Ref change: 5d569408ef
PiperOrigin-RevId: 292563926
This commit is contained in:
@@ -20,10 +20,9 @@ namespace gvisor {
|
||||
namespace testing {
|
||||
|
||||
PlatformSupport PlatformSupport32Bit() {
|
||||
if (GvisorPlatform() == Platform::kPtrace) {
|
||||
if (GvisorPlatform() == Platform::kPtrace ||
|
||||
GvisorPlatform() == Platform::kKVM) {
|
||||
return PlatformSupport::NotSupported;
|
||||
} else if (GvisorPlatform() == Platform::kKVM) {
|
||||
return PlatformSupport::Segfault;
|
||||
} else {
|
||||
return PlatformSupport::Allowed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user