Re-Question on Windows Virtualization


JesseRBassett

Certified IT professional via Coursera Google IT
Member
VIP
Local time
8:39 AM
Posts
94
Location
Inver Grove Heights, MN
OS
Windows 11 Professional
Hello all,
Just wondering if any of you use Linux as your primary OS and have windows 11 in a virtualization environment. Wondering how effective that setup is and if it is worth it to do for my needs.

Thanks for responding!
 

My Computers

System One System Two

  • OS
    Windows 11 Professional
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion X360 Convertible
    CPU
    Core i5 processor
    Motherboard
    Hewert-Packkard
    Memory
    8gb
    Graphics Card(s)
    Intel® Integrated SoC
    Sound Card
    Realtek HD Audio Driver
    Screen Resolution
    15.6"
    Hard Drives
    500GB SSD
    Mouse
    Custom Wireless Mouse
    Internet Speed
    256 mbps DL 8-10 mbps UL
    Browser
    Mozilla Firefox
    Antivirus
    Windows Defender
  • Operating System
    Linux Mint 22
    Computer type
    Laptop
    Manufacturer/Model
    macOS mid 2012 macbook pro
    CPU
    Intel Celeron N4020C
    Motherboard
    Intel
    Memory
    16GB DDR4 Ram
    Graphics card(s)
    Intel Celeron
    Sound Card
    Realtek HD Audio
    Hard Drives
    256G Timetec SSD
    Internet Speed
    400mbps
    Browser
    Google Chrome
Sure this will work but you get quite a significant performance penalty compared with natively running Windows on Host.

See my tests.


Even a Windows VM using HyperV is significantly faster.

I cannot say of it is worth it - it depends on needs and hardware.

High end gaming, video rendering forget it.

It would probably be ok for light surfing, emails, word, games that do not require high speed.interaction etc.

You would need at least 8 GB on host and probably i5 or better CPU.

Setting up Linux for virtual TPUs is not easy. However you can use techniques to install bypassing TPM checks.

Frankly, I do not see a lot to be gained going down this route.

It is simply easier to just have a dual boot pc but you could not run Windows at same time.

If sound is less of an issue, I would run Windows as the host and Linux in a Hyper-V VM or as an OS under WSL (Windows subsystem for Linux).
 

My Computer

System One

  • OS
    Windows 11 Pro + Win11 Canary VM.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Zenbook 14
    CPU
    I9 13th gen i9-13900H 2.60 GHZ
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB soldered
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    laptop OLED screen
    Screen Resolution
    2880x1800 touchscreen
    Hard Drives
    1 TB NVME SSD (only weakness is only one slot)
    PSU
    Internal + 65W thunderbolt USB4 charger
    Case
    Yep, got one
    Cooling
    Stella Artois (UK pint cans - 568 ml) - extra cost.
    Keyboard
    Built in UK keybd
    Mouse
    Bluetooth , wireless dongled, wired
    Internet Speed
    900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

    Macrium Reflect Home V8
    Office 365 Family (6 users each 1TB onedrive space)
    Hyper-V (a vm runs almost as fast as my older laptop)
Sure this will work but you get quite a significant performance penalty compared with natively running Windows on Host.

See my tests.


Even a Windows VM using HyperV is significantly faster.

I cannot say of it is worth it - it depends on needs and hardware.

High end gaming, video rendering forget it.

It would probably be ok for light surfing, emails, word, games that do not require high speed.interaction etc.

You would need at least 8 GB on host and probably i5 or better CPU.

Setting up Linux for virtual TPUs is not easy. However you can use techniques to install bypassing TPM checks.

Frankly, I do not see a lot to be gained going down this route.

It is simply easier to just have a dual boot pc but you could not run Windows at same time.

If sound is less of an issue, I would run Windows as the host and Linux in a Hyper-V VM or as an OS under WSL (Windows subsystem for Linux).
Hi there

My normal laptop runs arch linux with KDE desktop and I run on that laptop 2X W11 VM's and a W2021 server VM all under KVM (not concurrentlythough on a modest laptop).

Windows performs at almost native speed - especially if you use pass thru for graphics and ensure you install the windows virtio drivers (iso downloadable from fedora site) on the VM. These act as the vbox guest additions on vbox or vmware tools on vmware windows guests.

@cereberus -- when you were testing Windows VM's on Linux did you install the virtio drivers on the Guest and for network adapter and disks select virtio as the hardware type. The virtio drivers are valid for any Windows GUEST on KVM/QEMU even though the iso is from the Fedora site.


download the 229 version.



As for tpm emulation on linux -- simple at least on arch-linux / manjaro linux simply install swtpm /swtpm-tools. No need even to initialise it etc. To install software in arch linux from the standard repos --- simply as super user (sudo) run pacman -S package.

If the software is in the user repos install the helper package -- then as a NORMAL (non su / sudo) user run yay package.

"Seemples".

The standard TPM emulation is the IBM version which Windows guests can use quite successfully -- on Windows guests simply go to "Add optional features" and add the TPM diagnostics feature and run it -- whether you are using an emulated or real TPM.

If you have a real tpm - you can pass it thru to a Windows vm as a real device -- sevice on most linux distros is /dev/tpm0.

There's no reason these days for Windows VM's to be slow on either a Windows OR a linux host -- on Windows use HYPER-V and on Linux use KVM/QEMU.

Both have improved massively over the last few years.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Thank you for the responses. I appreciate it. I am now running Ubuntu 22 on Host and Windows 11 Pro on Virtual. The Windows 11 Virtual is working flawlessly. I am using VmWare Professional for the software. I tried this on virtualbox and it didn't work.
 

My Computers

System One System Two

  • OS
    Windows 11 Professional
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion X360 Convertible
    CPU
    Core i5 processor
    Motherboard
    Hewert-Packkard
    Memory
    8gb
    Graphics Card(s)
    Intel® Integrated SoC
    Sound Card
    Realtek HD Audio Driver
    Screen Resolution
    15.6"
    Hard Drives
    500GB SSD
    Mouse
    Custom Wireless Mouse
    Internet Speed
    256 mbps DL 8-10 mbps UL
    Browser
    Mozilla Firefox
    Antivirus
    Windows Defender
  • Operating System
    Linux Mint 22
    Computer type
    Laptop
    Manufacturer/Model
    macOS mid 2012 macbook pro
    CPU
    Intel Celeron N4020C
    Motherboard
    Intel
    Memory
    16GB DDR4 Ram
    Graphics card(s)
    Intel Celeron
    Sound Card
    Realtek HD Audio
    Hard Drives
    256G Timetec SSD
    Internet Speed
    400mbps
    Browser
    Google Chrome
@cereberus Your test result is a surprise to me. Somehow I thought Linux would do a better job being a hypervisor than Windows, but apparently that is not the case.

I had thought of a setup like what the OP is planning, mainly because I am fed up with Windows, but haven't got a chance to actually try it out. But now that I see your test results, I may have to reconsider the whole idea. What a great find!
 

My Computer

System One

  • OS
    Windows 11
Back
Top Bottom