[pve-devel] [PATCH installer 0/3] export hvm support flag through runtime env
Christoph Heiss
c.heiss at proxmox.com
Mon Jul 3 09:34:57 CEST 2023
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(-)
--
2.40.1
More information about the pve-devel
mailing list