[Bug 274810] [regression] FreeBSD 14.0-RC3 crash during early boot on Vultr with custom ISO

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 01 Nov 2023 09:18:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274810

--- Comment #15 from Zhenlei Huang <zlei@FreeBSD.org> ---
I managed to repeat this with QEMU 7.2.5 on Debian 12.2.0 host.

```
# uname -a
Linux debian 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29)
x86_64 GNU/Linux
# qemu-system-x86_64 --version
QEMU emulator version 7.2.5 (Debian 1:7.2+dfsg-7+deb12u2)
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers 
```

A minimal script to repeat (be sure firstly load kvm / kvm_intel, AMD is not
tested yet):

```
#!/bin/sh

qemu-system-x86_64 \
        -vnc 0.0.0.0:1,password=on \
        -monitor stdio \
        --enable-kvm \
        --cpu host,hv-vpindex,hv-synic \
        --smp 1 \
        --m 512M \
        --cdrom FreeBSD-14.0-RC3-amd64-bootonly.iso
```

The Vultr 's enabled feature flags should be equivalent to 
```
--enable-kvm \
--cpu
host,hv-relaxed,hv-vapic,hv-vpindex,hv-synic,hv-time,hv-stimer,hv-xmm-input
```

I've tested the patch with QEMU, it still works :)

-- 
You are receiving this mail because:
You are the assignee for the bug.