Comment 6 for bug 1818937

Revision history for this message
Roman Bolshakov (roolebo) wrote :

The log line I've got is the following:
➜ vms ~/dev/qemu/x86_64-softmmu/qemu-system-x86_64 -accel hvf -m 2G -cdrom ~/Downloads/ubuntu-18.04.2-desktop-amd64.iso -hda ubuntu.qc
ow2
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
qemu-system-x86_64: hv_vcpu_run failed
qemu-system-x86_64: instruction error: 0x0000000000000007
qemu-system-x86_64: exit reason: 0x0000000000000030
qemu-system-x86_64: exit qualification: 0x0000000000000083
qemu-system-x86_64: pri proc based ctls: 0x0000000095206dfa
qemu-system-x86_64: sec proc based ctls: 0x00000000000000a3
qemu-system-x86_64: eptp: 0x000000000000003f
qemu-system-x86_64: gpa: 0x000000007d9ef000
qemu-system-x86_64: gla: 0xfffffe0000000ec0
qemu-system-x86_64: Error: HV_ERROR

Instruction error is 0x7 and Intel SDM 31-4 Vol. 3C states that:
The processor checks on the VMX controls and host-state area. If any of these checks fail, the VM-entry instruction fails. RFLAGS.ZF is set to 1 and either 7 (VM entry with invalid control field(s)) or 8 (VM entry with invalid host-state field(s)) is saved in the VM-instruction error field.