qemu-server/PVE/QemuServer
Filip Schauer 89d5b1c90b prevent starting a 32-bit VM using a 64-bit OVMF BIOS
Instead of starting a VM with a 32-bit CPU type and a 64-bit OVMF image,
throw an error before starting the VM telling the user that OVMF is not
supported on 32-bit CPU types.

To obtain a list of 32-bit CPU types, refer to the builtin_x86_defs in
target/i386/cpu.c of QEMU. Exclude any entries that have the long mode
feature (CPUID_EXT2_LM).

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
2024-03-08 14:24:32 +01:00
..
Agent.pm tree wide cleanup of s/return undef/return/ 2020-10-16 16:20:05 +02:00
CGroup.pm add PVE::QemuServer::Cgroup 2020-11-24 12:00:33 +01:00
Cloudinit.pm fix #4085: properly activate cicustom storage(s) 2024-01-31 12:28:46 +01:00
CPUConfig.pm prevent starting a 32-bit VM using a 64-bit OVMF BIOS 2024-03-08 14:24:32 +01:00
Drive.pm drive: product/vendor: add comment with rationale for limits 2024-01-26 11:28:32 +01:00
Helpers.pm vm start: set higher timeout if using PCI passthrough 2023-10-06 18:12:07 +02:00
ImportDisk.pm api: support VM disk import 2022-04-04 16:41:13 +02:00
Machine.pm machine: get current: add flag if current machine is deprecated in list context 2023-11-12 18:48:01 +01:00
Makefile introduce QMPHelpers module 2023-09-18 17:08:48 +02:00
Memory.pm add memory parser 2023-09-18 17:08:48 +02:00
Monitor.pm mon_cmd: add explicit return 2019-11-30 17:24:55 +01:00
OVF.pm parse ovf: untaint path when calling file_size_info 2022-03-11 10:45:59 +01:00
PCI.pm enable cluster mapped PCI devices for guests 2023-06-16 16:24:02 +02:00
QMPHelpers.pm introduce QMPHelpers module 2023-09-18 17:08:48 +02:00
USB.pm enable cluster mapped USB devices for guests 2023-06-16 16:24:02 +02:00