QEMU exited with code 1

achraf

New Member
Dec 16, 2021
8
0
1
32
when virtual machines start i get this error and they stop

first error :

Code:
 Error: KVM virtualisation configured, but not available. Either disable in VM configuration or enable in BIOS.
│
│   with proxmox_vm_qemu.test_server[0],
│   on main.tf line 21, in resource "proxmox_vm_qemu" "test_server":
│   21: resource "proxmox_vm_qemu" "test_server" {

After a manually seeting , i disable KVM virtualisation from the proxmox UI ; i get this error again :

Code:
generating cloud-init ISO
kvm: CPU model 'host' requires KVM
TASK ERROR: start failed: QEMU exited with code 1

I configure this in the system of virtaulbox (the proxmox VM) but is still the same error .

thank you for helping me .
 
Last edited:
You need to change the CPU model from "host" to "kvm64" if you really want to run without KVM virtualisation.

(see VM Config/Hardware/Processor)