Hi folks
If you are using KVM/QEMU to virtualize windows systems and you have decent (and sufficient) hardware you can pass thru to your VM -- this allows the VM to run at all but native speed especially if you can pass thru separate GPU's, or physical processors.
For grub bootloader and intel add this in the config file :
# GRUB boot loader configuration
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
GRUB_CMDLINE_LINUX="zswap.enabled=0 rootfstype=xfs intel_iommu=on iommu=pt" <<<<<<<<<<<<
simply add the intel_iommu etc to the relevant line.
For AMD there must be something similar.
For systemd boot -- haven't played enough with that yet but I imagine here most Linux users on this Forum would be using GRUB as their boot loader.
passing thru hardware means the actual OS hardware plus its native drivers etc are used which saves a lot of of potential overhead when normal "paravirtualisation" is used. Paravirtualisation emulates a lot of hardware so the same VM can run on a huge amount of different hardware and is fine for most things like Office docs, web browsing but get into multi-media editing, movie / other UHD streaming,game playing etc then you'll see the difference.
separating a physical processor in a multi processor system and passing thru a gpu should make your games etc run on a VM as per native windows.
Cheers
jimbo
If you are using KVM/QEMU to virtualize windows systems and you have decent (and sufficient) hardware you can pass thru to your VM -- this allows the VM to run at all but native speed especially if you can pass thru separate GPU's, or physical processors.
For grub bootloader and intel add this in the config file :
# GRUB boot loader configuration
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
GRUB_CMDLINE_LINUX="zswap.enabled=0 rootfstype=xfs intel_iommu=on iommu=pt" <<<<<<<<<<<<
simply add the intel_iommu etc to the relevant line.
For AMD there must be something similar.
For systemd boot -- haven't played enough with that yet but I imagine here most Linux users on this Forum would be using GRUB as their boot loader.
passing thru hardware means the actual OS hardware plus its native drivers etc are used which saves a lot of of potential overhead when normal "paravirtualisation" is used. Paravirtualisation emulates a lot of hardware so the same VM can run on a huge amount of different hardware and is fine for most things like Office docs, web browsing but get into multi-media editing, movie / other UHD streaming,game playing etc then you'll see the difference.
separating a physical processor in a multi processor system and passing thru a gpu should make your games etc run on a VM as per native windows.
Cheers
jimbo
My Computer
System One
-
- OS
- Windows XP,7,10,11 Linux Arch Linux
- Computer type
- PC/Desktop
- CPU
- 2 X Intel i7