[Pkg-libvirt-maintainers] Bug#1089616: Bug#1089616: Regression: starting a non-persistent VM with a TPM segfaults
Andrea Bolognani
eof at kiyuko.org
Tue Dec 10 21:54:55 GMT 2024
On Mon, Dec 09, 2024 at 04:54:09PM -0700, hartmans at 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 <eof at kiyuko.org>
Resistance is futile, you will be garbage collected.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-maintainers/attachments/20241210/b082a8fe/attachment.sig>
More information about the Pkg-libvirt-maintainers
mailing list