QEMU exited with code 1

achraf

New Member
Dec 16, 2021
8
0
1
30
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)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!