On Mon, Dec 09, 2024 at 04:54:09PM -0700, hartm...@debian.org wrote: > With 10.8.0.0-1, my VM works fine. > I tend to use virsh create without virsh define. > I have my own automation (https://github.com/hadron/carthage ) on top of > libvirt, and having VMs persisted within libvirt creates complexity I do not > need. > > Unfortunately, when I try a VM configuration that works with the old version > with 10.10.0-1, it segfaults: [...] > > I have not looked into the upstream change. > I'd strongly prefer that things continue to work with a created but not > defined VM. > It's very useful in my situation. > If upstream is going to insist that VMs with TPM be defined, better error > handling than a segfault is required. > > I've attached a full traceback, although I don't think it is useful beyond > what I have shown. > To reproduce I think all you need to do is include a stanza like the > following in your devices section of the config: > <tpm model='tpm-crb'> > <backend type='emulator' version='2.0'/> > </tpm>
Thanks for the report. As it happens, this issue had already been encountered on RHEL: https://issues.redhat.com/browse/RHEL-69774 Upstream is aware of it and working on a fix. Once that materializes, I'll prepare a backport. -- Andrea Bolognani <e...@kiyuko.org> Resistance is futile, you will be garbage collected.
signature.asc
Description: PGP signature