Re: Partial success enabling TPM2 in an existing qemu guest VM

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

 



Ed Greshko writes:


In a couple of months, if neither one of my VMs offer a Win11 upgrade I'll try to switching to an EFI VM, and copy swtpm's data to the new VM's swtpm, before the first boot, and see what happens…



All I can say is you have more patience with Windows than I have. Way more.  :-) :-)

This is mostly intellectual curiousity, something to tinker with, and a learning experience. I learned about qcow2 snapshots by screwing around with this thing. They are very useful, without them it would be a mess. And I did learn that qemu is capable of booting Windows 10 in secure boot mode.

When I pick this up again, in a month or two (unless I get a good lead, earlier) the first step would be to figure out how to create a new VM in virt-manager but preserve the data in the emulated TPM chip, to see if that makes Windows 10 survive the firmware transplant. I see that it's in a directory whose name is te VM's random UUID. So, what will it be? Copy the existing VM's TPM directory to the new VM when it gets created? virt-manager seems to automatically start the new VM after creating it, I don't really see a reason for this behavior, but I'd have to force-off the VM to get its UUID. I don't remember if I can edit the XML file in the custom installation mode, maybe I can cut/paste and create a VM with the same UUID, so that virt- manager-started swtpm ends up loading the same data?



Attachment: pgp3eHUBgv_v8.pgp
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux