From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkC4y-0005DO-JM for qemu-devel@nongnu.org; Wed, 14 Sep 2016 11:26:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkC4t-0000AB-79 for qemu-devel@nongnu.org; Wed, 14 Sep 2016 11:26:27 -0400 Received: from indium.canonical.com ([91.189.90.7]:40560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkC4t-00009z-1i for qemu-devel@nongnu.org; Wed, 14 Sep 2016 11:26:23 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1bkC4s-0001Om-7X for ; Wed, 14 Sep 2016 15:26:22 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 363EB2E80C2 for ; Wed, 14 Sep 2016 15:26:22 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 14 Sep 2016 15:18:59 -0000 From: Markus Heberling Reply-To: Bug 1615823 <1615823@bugs.launchpad.net> Sender: bounces@canonical.com References: <20160822203622.9253.10775.malonedeb@wampee.canonical.com> Message-Id: <20160914151859.11804.11497.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 I have the same problem with Windows 10 Enterprise running under qemu-2.5.0-9.fc23.1.tpmfix (which is the qemu version containing the fix you mentioned above.) on fedora 23. The same qemu version runs windows 7 enterprise with TPM just fine. So there seems to be some change in the way Windows uses TPM between 7 and 10. -- = 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