Windows 11 on KVM/QEMU: Can't get TPM information. Contact your device manufacturer

Stefan Berger

New member
Local time
3:43 PM
Posts
3
Hello!

A user of 'swtpm' is trying to run Windows 11 on KVM/QEMU with attached vTPM. He gets that error message "Can't get TPM information. Contact your device manufacturer". Using the same configuration on KVM/QEMU and vTPM with Windows 10 doesn't lead to this error message. What information is Win 11 trying to get now that Win 10 didn't care about? Is there are log file to look at?

Issue on github with screenshots: Windows 11: "Security processor troubleshooting" is reporting an error message. · Issue #579 · stefanberger/swtpm
 

My Computer

System One

  • Operating System
    Windows 10

jimbo45

Well-known member
Member
VIP
Local time
7:43 PM
Posts
635
Location
Hafnarfjörður IS
Hi folks
@Stefan Berger

What distro-- with Arch Linux simply : yay swtpm, with fedora: yum install swtpm. Ensure if necessary the library is installed as well. No need to start any services on the HOST for TPM.

In the VM no need to do anything with swtpm or initialize the virtual TPM - the VM software does it all.

On Arch Linux kernel 5.14.9 KDE GUI (wayland)


Screenshot_20211008_213918.png


KVM VM config :

Screenshot_20211008_215034.png

To test TPM on W11 :


Cheers
jimbo
 
Last edited:

My Computer

System One

  • Operating System
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7

Stefan Berger

New member
Thread Starter
Local time
3:43 PM
Posts
3
@jimbo45 Do you see the same error message as that swtpm user got with Win 11 or you don't see that error message?
Here's that screenshot:

1633726650902.png
 

My Computer

System One

  • Operating System
    Windows 10

Chrysalis

Member
VIP
Local time
8:43 PM
Posts
4
Location
UK
You set the cpu type to "host" on the QEMU configuration?
 

My Computer

System One

  • Operating System
    Windows 10
    Computer type
    PC/Desktop
    CPU
    9900k
    Motherboard
    Asrock Fatality K6 Z370
    Memory
    32 Gig 3200CL12
    Graphics Card(s)
    Nvidia 3800 RTX
    Sound Card
    Asus Xonar D2X
    Monitor(s) Displays
    LG 27GL850
    Screen Resolution
    2560x1440
    Hard Drives
    970 EVO 1TB
    860 EVO 1TB
    3 x 3TB WD Red
    2 x 4TB WD Red
    PSU
    Antec HCG 750
    Case
    Fractal Define R4
    Cooling
    Noctua NH-D15S
    Internet Speed
    80/20
    Antivirus
    Windows Defender

jimbo45

Well-known member
Member
VIP
Local time
7:43 PM
Posts
635
Location
Hafnarfjörður IS
You set the cpu type to "host" on the QEMU configuration?
Just choose specify CPU topography -- choose one from the dropdown that works -- you need though at least 2 vCPU's for W11. The models that work depend on your actual hardware. If your system works with "Host" leave it for the moment until people are clearer on once Ms starts applying the W11 restrictions on hardware.
 

My Computer

System One

  • Operating System
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Top Bottom