KVM platform does not support 32bit.
Fixes: //test/syscalls:32bit_test_runsc_kvm
Ref change: 5d569408ef
PiperOrigin-RevId: 292563926
This commit is contained in:
parent
14959250fe
commit
7c118f7e19
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue