Also ran into the "%SYSTEM-W-NOPAGEFILE, no pagefile installed; system trying to continue" issue while attempting to emulate x86 VMS on an M1 Mac using QEMU. My configuration is as follows:
Code: Select all
qemu-system-x86_64 -L . -m 8192 -vga cirrus \
-machine q35 \
-cpu EPYC-v1 \
-bios OVMF.fd \
-device ahci,id=ahci \
-device ide-hd,drive=disk,bus=ahci.0 \
-device ide-cd,drive=cd \
-drive id=cd,file=X86E921OE.ISO,if=none \
-drive id=disk,file=ovms.img,if=none \
-chardev socket,id=term0,port=12345,host=127.0.0.1,server=on,wait=off \
-serial chardev:term0
The output on the serial console with the various extra boot logging enabled is here:
https://pastebin.com/AX0tX4XR
I get some warnings about unsupported features in the CPU emulation when I start QEMU, which makes me wonder if the boot fails because VMS is relying on one of these features:
Code: Select all
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.07H:EBX.rdseed [bit 18]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.07H:EBX.sha-ni [bit 29]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.80000001H:EDX.fxsr-opt [bit 25]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.80000001H:ECX.misalignsse [bit 7]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.80000001H:ECX.3dnowprefetch [bit 8]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.80000001H:ECX.osvw [bit 9]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.80000001H:ECX.topoext [bit 22]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.8000000AH:EDX.nrip-save [bit 3]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.0DH:EAX.xsavec [bit 1]
I also tried this with an emulated Skylake processor, but VMS crashed after the swapper inswapped the first process with bugcheck code 20D. I got a warning about PCID functionality not being supported by QEMU, so I wonder if VMS was trying to use that functionality when it got to a point where it was starting the first process, and it crashed out afterwards.
I fully appreciate that what I am trying is not a supported configuration, but I am sharing some of these notes in case they are useful to someone with more knowledge of QEMU who may be able to get VMS to boot on an emulated CPU.