You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Pieter Harvey <pi...@icloud.com.INVALID> on 2021/12/17 15:10:56 UTC

UEFI on KVM silently becomes BIOS mode

Hello,Maybe it's something wrong with CloudStack, maybe it's my brain but I have an issue regarding UEFI on CloudStack (4.16) + KVM (Ubuntu 20.04)1. CloudStack Compute node is running, and can boot machines configured as UEFI in the GUI (secure or legacy).2. When the machine is booted, I check the virsh xml config on the host and noticed that the machine is still in BIOS mode, even though CloudStack "thinks" it has deployed a fresh UEFI enabled instance.I have configured uefi.properties on the agent and the host is UEFI enabled in CloudStack but this is the config snippet of a deployed machine<os>    <type arch='x86_64' machine='pc-q35-4.2'>hvm</type>    <boot dev='cdrom'/>    <boot dev='hd'/>    <smbios mode='sysinfo'/></os>However what I am expecting to see is: <os firmware="efi">    <type arch='x86_64' machine='pc-q35-4.2'>hvm</type>    <loader secure="yes"/>    <boot dev='cdrom'/>    <boot dev='hd'/>    <smbios mode='sysinfo'/></os>So CloudStack has changed the default machine type from 440fx to q35 but no mention of UEFI or secureboot options in the output XML.Any tips to get UEFI and possibly secure boot fully working?- Pieter

RE: UEFI on KVM silently becomes BIOS mode

Posted by Piotr Pisz <pi...@piszki.pl>.
Hi Pieter,

 

I have just checked, everything works as expected, maybe you have something wrongly configured, check according to this:

 

https://lab.piszki.pl/cloudstack-vm-with-vtpm-and-secure-boot-uefi/

 

Regards,

Piotr

 

 

From: Pieter Harvey <pi...@icloud.com.INVALID> 
Sent: Friday, December 17, 2021 4:11 PM
To: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>
Subject: UEFI on KVM silently becomes BIOS mode

 

Hello,

 

Maybe it's something wrong with CloudStack, maybe it's my brain but I have an issue regarding UEFI on CloudStack (4.16) + KVM (Ubuntu 20.04)

 

1. CloudStack Compute node is running, and can boot machines configured as UEFI in the GUI (secure or legacy).

 

2. When the machine is booted, I check the virsh xml config on the host and noticed that the machine is still in BIOS mode, even though CloudStack "thinks" it has deployed a fresh UEFI enabled instance.

 

I have configured uefi.properties on the agent and the host is UEFI enabled in CloudStack but this is the config snippet of a deployed machine

 

<os>

    <type arch='x86_64' machine='pc-q35-4.2'>hvm</type>

    <boot dev='cdrom'/>

    <boot dev='hd'/>

    <smbios mode='sysinfo'/>

</os>

 

However what I am expecting to see is: 

 

<os firmware="efi">

    <type arch='x86_64' machine='pc-q35-4.2'>hvm</type>

    <loader secure="yes"/>

    <boot dev='cdrom'/>

    <boot dev='hd'/>

    <smbios mode='sysinfo'/>

</os>

 

So CloudStack has changed the default machine type from 440fx to q35 but no mention of UEFI or secureboot options in the output XML.

 

Any tips to get UEFI and possibly secure boot fully working?

 

- 

Pieter