On Sat Jul 19 15:24:14 2025 +0000, Bernhard Übelacker wrote:
Unfortunately a VM with `cpu host` is not possible because this CPU misses the vmx/Intel-VT extension ... Had hoped I can avoid installing a Windows 7 on this machine. See below the output of the ntdll:virtual test inside a Windows 7. If I read it right my change is then not reflecting what Windows does. But would that mean using `EnabledFeatures` in `__wine_syscall_dispatcher` is wrong?
C:\temp> ntdll_test.exe virtual virtual.c:3293: system page size 0x1000 virtual.c:313: Tests skipped: NtAllocateVirtualMemoryEx() is missing virtual.c:722: Tests skipped: NtAllocateVirtualMemoryEx() is missing virtual.c:1662: Test failed: NtMapViewOfSection returned address 000007FEFC300000 virtual.c:1692: Tests skipped: NtMapViewOfSectionEx() is not supported. virtual.c:2516: Tests skipped: no NtSetInformationVirtualMemory in ntdll virtual.c:2033: XState EnabledFeatures 0xf95a0000, EnabledSupervisorFeatures 0, EnabledVolatileFeatures 3. virtual.c:2038: Test failed: Got unexpected feature_mask 3. virtual.c:2038: this is the last test seen before the exception 0374:virtual: unhandled exception c0000005 at 0000000000000000
For completeness, this is the lscpu output:
root@aspire8735:~# lscpu Architektur: x86_64 CPU Operationsmodus: 32-bit, 64-bit Adressgrößen: 36 bits physical, 48 bits virtual Byte-Reihenfolge: Little Endian CPU(s): 2 Liste der Online-CPU(s): 0,1 Anbieterkennung: GenuineIntel BIOS-Anbieterkennung: Intel Modellname: Pentium(R) Dual-Core CPU T4500 @ 2.30GHz BIOS-Modellname: CPU Version CPU @ 2.3GHz BIOS-Prozessorfamilie: 190 Prozessorfamilie: 6 Modell: 23 Thread(s) pro Kern: 1 Kern(e) pro Sockel: 2 Sockel: 1 Stepping: 10 Skalierung der CPU(s): 52% Maximale Taktfrequenz der CPU: 2300,0000 Minimale Taktfrequenz der CPU: 1200,0000 BogoMIPS: 4588,54 Markierungen: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm pti dtherm Caches (Gesamtsumme): L1d: 64 KiB (2 Instanzen) L1i: 64 KiB (2 Instanzen) L2: 1 MiB (1 Instanz) NUMA: NUMA-Knoten: 1 NUMA-Knoten0 CPU(s): 0,1 Schwachstellen: Gather data sampling: Not affected Indirect target selection: Not affected Itlb multihit: KVM: Mitigation: VMX unsupported L1tf: Mitigation; PTE Inversion Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled Meltdown: Mitigation; PTI Mmio stale data: Unknown: No mitigations Reg file data sampling: Not affected Retbleed: Not affected Spec rstack overflow: Not affected Spec store bypass: Vulnerable Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Spectre v2: Mitigation; Retpolines; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected Srbds: Not affected Tsx async abort: Not affected root@aspire8735:~#
Is using a USB drive with Windows 7 an option?