Re: How to move emulated SWTPM data to a new VM

2021-09-24 Thread Sam Varshavchik
Tomáš Golembiovský writes: On Thu, Sep 23, 2021 at 08:32:46PM -0400, Sam Varshavchik wrote: > I have an existing VM with an emulated TPM module. > > I'm trying to create a replacement VM, pointing to the same disk image that > the existing VM uses, and also migrate the existing TPM module to it.

Re: How to move emulated SWTPM data to a new VM

2021-09-24 Thread Tomáš Golembiovský
On Thu, Sep 23, 2021 at 08:32:46PM -0400, Sam Varshavchik wrote: > I have an existing VM with an emulated TPM module. > > I'm trying to create a replacement VM, pointing to the same disk image that > the existing VM uses, and also migrate the existing TPM module to it. > > Would just copying ever

How to move emulated SWTPM data to a new VM

2021-09-23 Thread Sam Varshavchik
I have an existing VM with an emulated TPM module. I'm trying to create a replacement VM, pointing to the same disk image that the existing VM uses, and also migrate the existing TPM module to it. Would just copying everything in /var/lib/libvirt/swtpm/ work? I did some practice runs, and i