qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] vTPM 2.0 is recognized as vTPM 1.2 on the Win 10 virtual ma


From: 汤福
Subject: [Qemu-devel] vTPM 2.0 is recognized as vTPM 1.2 on the Win 10 virtual machine
Date: Thu, 16 Aug 2018 09:24:30 +0800 (GMT+08:00)

Hi,

I want to use the vTPM in a qemu Windows image. Unfortunately, it didn't work.
First, the equipment:
TPM 2.0 hardware
CentOS 7.2
Qemu v2.10.2
SeaBIOS 1.11.0
libtpm and so on

My host is centos 7.2 with the TPM 2.0 hardware and qemu v2.10.2.
I make the libtpm and seabios with ./configure, make and so on. I checked 
seabios with make menuconfig the TPM setting. It is enabled tpm by default.
Eventually, all works without errors.

I start the Widnows 10 image with:
qemu-system-x86_64 -display sdl -enable-kvm -m 2048 -boot d -bios bios.bin 
-boot menu=on -tpmdev 
cuse-tpm,id=tpm0,cancel-path=/dev/null,type=passthrough,path=/dev/tpm0  -device 
tpm-tis,tpmdev=tpm0 win10.img


First it looks all fine. Windows 10 booted up but the vTPM was recognized as 
TPM 1.2 instead of TPM 2.0 in device manager. I open the tpm Manager with 
tpm.msc but get error with No compatible TPM found.
If I use vTPM in a qemu linux image, everything gose well.


So, what could be the problem?
Thanks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]