[pve-devel] applied-series: [PATCH installer 0/3] export hvm support flag through runtime env

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jul 13 15:50:32 CEST 2023


Am 03/07/2023 um 09:34 schrieb Christoph Heiss:
> Currently, the logic to check whether hardware-accelerated
> virtualization is supported or not by the host cpu is duplicated.
> 
> This adds a `hvm_supported` flag to the runtime environment info,
> indicating whether it is supported or not, which can then be used by the
> graphical and console installer to display a message to the user as
> appropriate.
> 
> pve-installer:
> 
> Christoph Heiss (3):
>   run env: add hardware-accelerated virtualization support flag
>   proxinstall: check hvm support through runtime env info
>   tui: check hvm support through runtime env info instead of open-coding
> 
>  Proxmox/Install/RunEnv.pm          | 25 +++++++++++++++++++++++++
>  proxinstall                        | 13 +++++--------
>  proxmox-tui-installer/Cargo.toml   |  2 --
>  proxmox-tui-installer/src/main.rs  | 25 ++++++++++---------------
>  proxmox-tui-installer/src/setup.rs |  4 ++++
>  5 files changed, 44 insertions(+), 25 deletions(-)
> 

applied, thanks!





More information about the pve-devel mailing list