Index | Thread | Search

From:
Dave Voutila <dv@sisu.io>
Subject:
Re: vmm seems broken in latest snapshot
To:
Jesper Wallin <jesper@ifconfig.se>
Cc:
tech@openbsd.org, Philip Guenther <guenther@openbsd.org>
Date:
Fri, 03 May 2024 10:03:39 -0400

Download raw body.

Thread
Jesper Wallin <jesper@ifconfig.se> writes:

> Hi all,
>
> It seems like vmm/vmd breaks in the latest snapshot:
> OpenBSD 7.5-current (GENERIC.MP) #45: Thu May  2 20:53:53 MDT 2024
>
> If I try to start vmd, I get the following:
>
> $ doas /usr/sbin/vmd -dvf /etc/vm.conf
> vmd: vmd: /dev/vmm: Operation not supported by device
>
> Yet, it's supported according to dmesg:
>
> $ dmesg | egrep '(VMX/EPT|SVM/RVI)'
> vmm0 at mainbus0: SVM/RVI

Can confirm. Seems to be an issue related to AMD feature config with a
diff that's being tested in snapshots at the moment.

Doesn't affect Intel hosts, only AMD.

>
>
> Checking out the latest source and rebuilding the kernel manually
> makes this go away though.  I haven't investigated this further but
> figured I'd drop a mail here in case someone else runs into this. :-)

The diff being tested isn't committed, so building a kernel locally
effectively removes it from your machine.

I'm looking into it.