From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmI1a-0005Je-AC for qemu-devel@nongnu.org; Tue, 20 Sep 2016 06:11:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmI1V-0006TE-8J for qemu-devel@nongnu.org; Tue, 20 Sep 2016 06:11:38 -0400 Received: from indium.canonical.com ([91.189.90.7]:51319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmI1V-0006RG-2A for qemu-devel@nongnu.org; Tue, 20 Sep 2016 06:11:33 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1bmI1U-0000LE-Ac for ; Tue, 20 Sep 2016 10:11:32 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 4A7A42E80C1 for ; Tue, 20 Sep 2016 10:11:32 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 20 Sep 2016 10:03:57 -0000 From: Kelvin Middleton Reply-To: Bug 1615823 <1615823@bugs.launchpad.net> Sender: bounces@canonical.com References: <20160822203622.9253.10775.malonedeb@wampee.canonical.com> Message-Id: <20160920100357.7039.57661.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1615823] Re: Windows 10 reports no compatible TPM found yet device manager shows it? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org So I used the Windows Media Creation tool to generate a more recent ISO which resulted in a date stamp of July-16. Using this Win10Pro image my TPM is now recognised by the TPM Administrator, I re-tested my older ISO in the same guest and this still had the problem so conclusive enough for me. Still using 2.7.0 git tag built from source tree -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1615823 Title: Windows 10 reports no compatible TPM found yet device manager shows it? Status in QEMU: New Bug description: Ubuntu 16.04 with stock kvm, libvirt, ovmf Qemu 2.5 installed from stock ubuntu ppa Qemu 2.6.1 built from tarball. Qemu 2.7.0-rc4 built from tarball. Windows 10 guest reports a TPM device is installed and the driver functional under Device Manager-->Security Devices. TPM Administrator however advises no compatible TPM chip can be found. Qemu 2.5 is buggy and prevents the guest loading the TPM driver, this was addressed by http://git.qemu.org/?p=3Dqemu.git;a=3Dcommit;h=3D2b1c2e8e5f1990f0a201a8cb= f9d366fca60f4aa8 Have tested the below cmd out on both qemu-2.6.1 and qemu-2.7.0-rc4, both suffer the same problem. My TPM is most certainly compatible as installing Win10Pro onto the same host as bare metal provides me the desired and expected functionality aka Bitlocker and TPM Administrator work. sudo ./qemu-system-x86_64 \ -enable-kvm \ -machine q35 \ -cpu host \ -m 4096 \ -smp 4,sockets=3D1,cores=3D2,threads=3D2 \ -device i82801b11-bridge,id=3Dpci.1,bus=3Dpcie.0,addr=3D0x1e \ -device pci-bridge,chassis_nr=3D2,id=3Dpci.2,bus=3Dpci.1,addr=3D0x1 \ -device qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D67108864,vgam= em_mb=3D16,bus=3Dpcie.0,addr=3D0x2 \ -drive file=3D/usr/share/qemu/OVMF.fd,if=3Dpflash,format=3Draw,unit=3D0,r= eadonly=3Don \ -drive file=3D/mnt/120GB_SSD/wintpm_VARS.fd,if=3Dpflash,format=3Draw,unit= =3D1 \ -drive file=3D/mnt/120GB_SSD/wintpm.qcow2,format=3Dqcow2,if=3Dnone,id=3Dd= rive-virtio-disk0 \ -device virtio-blk-pci,scsi=3Doff,bus=3Dpci.2,addr=3D0x3,drive=3Ddrive-vi= rtio-disk0,id=3Dvirtio-disk0,bootindex=3D2 \ -drive file=3D"/mnt/share/Filestorage/Images/Microsoft Windows 10 Pro x64= .iso",format=3Draw,if=3Dnone,media=3Dcdrom,id=3Ddrive-sata0-0-0,readonly=3D= on \ -device ide-cd,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0 \ -drive file=3D/mnt/share/Filestorage/Images/virtio-win-0.1.117.iso,format= =3Draw,if=3Dnone,media=3Dcdrom,id=3Ddrive-sata0-0-1,readonly=3Don \ -device ide-cd,bus=3Dide.1,drive=3Ddrive-sata0-0-1,id=3Dsata0-0-1 \ -tpmdev passthrough,id=3Dtpm-tpm0,path=3D/dev/tpm0,cancel-path=3D/sys/cla= ss/tpm/tpm0/device/cancel \ -device tpm-tis,tpmdev=3Dtpm-tpm0,id=3Dtpm0 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1615823/+subscriptions