diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/process.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc index 04bc0ddc8..9e34a7b5d 100644 --- a/src/arch/x86/process.cc +++ b/src/arch/x86/process.cc @@ -165,6 +165,9 @@ I386Process::I386Process(ProcessParams *params, ObjectFile *objFile, SyscallDesc *_syscallDescs, int _numSyscallDescs) : X86Process(params, objFile, _syscallDescs, _numSyscallDescs) { + if (kvmInSE) + panic("KVM CPU model does not support 32 bit processes"); + _gdtStart = ULL(0xffffd000); _gdtSize = PageBytes; @@ -197,6 +200,9 @@ X86_64Process::initState() { X86Process::initState(); + if (useForClone) + return; + argsInit(PageBytes); // Set up the vsyscall page for this process. |