sarah-walker-pcem / pcem

PCem
http://pcem-emulator.co.uk
GNU General Public License v2.0
1.52k stars 208 forks source link

[Feature] Is it possible to add hardware virtualization option to CPU emulation? #140

Closed gennyo closed 2 years ago

gennyo commented 2 years ago

As a super Turbo button.

PCem has much better peripheral device emulation than Virtual Box and VMWare, make it a better choice for runing really old or exotic softwares, but CPU usage is high for low end machines like many old laptops I'm using. (i7-6600U can't run Windows 98 or 2k in constant speed)

michael-manley commented 2 years ago

The point of PCem is an emulator, not a virtualizer. If you do want things like this, QEMU does allow older device emulation and can run on KVM, or even on top of Hyper-V if you are running Windows.

Coding for this would be a major pain as you have 2 competing standards (Intel VT and AMD-V) and it would just not be worth it for what the project is.

wilkovanderveen commented 2 years ago

Intel VT and AMD-V do have the same abstractions so you only need to write the code once. So the competing standards are not an issue if you use the abstractions available.