Public bug reported:

I downloaded an armhf cloud image on jammy and tried to create a vm but
I got an error saying that tpm-this is not supported

$ wget 
https://cloud-images.ubuntu.com/oracular/current/oracular-server-cloudimg-armhf.img
$ sudo virt-install -n oracular-arm  --os-variant=generic  --ram=4096  
--vcpus=4  --disk ./oracular-server-cloudimg-armhf.img --import --graphics none 
--network bridge:virbr0 --arch=armv7l
WARNING  Using --osinfo generic, VM performance may suffer. Specify an accurate 
OS for optimal results.

Starting install...
ERROR    unsupported configuration: TPM model 'tpm-tis' is only available for 
x86 and aarch64 guests
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start oracular-arm
otherwise, please restart your installation.

But checking domcapabilities, it should be available

georgia@georgia:~$ virsh domcapabilities --arch armv7l | grep tpm
    <tpm supported='yes'>
        <value>tpm-tis</value>
    </tpm>

Unfortunately no other tpm model is listed, so I don't have a workaround
for this.

Relevant bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2078995
https://gitlab.com/libvirt/libvirt/-/issues/329

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: libvirt (Ubuntu Jammy)
     Importance: Undecided
         Status: New

** Also affects: libvirt (Ubuntu Jammy)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2077336

Title:
  Creation of armv7l vm fails due to tpm-tis

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/2077336/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to