I would like to create a custom image (using mkosi), upload it as a vhd (using qemu-img) to my storage account, so that it supports confidential VMs. What should I do?

cloud D 40 Reputation points
2025-05-02T13:24:39.6766667+00:00

Using the portal, in "images" I created one from my VHD and then tried to create a VM from it. However, under security type, when I try to select "Confidential VM", I see "Trusted launch virtual machine is required when using 1P Gallery images.".

What am I missing?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,743 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.