Index | Thread | Search

From:
Hans-Jörg Höxer <hshoexer@genua.de>
Subject:
Re: [EXT] Re: vmd(8): Use 32-bit direct kernel launch for both amd64 and i386
To:
<tech@openbsd.org>
Date:
Wed, 20 Aug 2025 16:23:12 +0200

Download raw body.

Thread
On Wed, Aug 20, 2025 at 02:23:45PM +0100, Crystal Kolipe wrote:
> On Wed, Aug 20, 2025 at 02:24:34PM +0200, Hans-Jrg Hxer wrote:
> > The diff can be tested with amd64 and i386 ramdisk kernels like this:
> > 
> > # vmctl start -c -b i386/bsd.rd myvm
> > # vmctl start -c -b amd64/bsd.rd myvm
> > 
> > Using a BIOS boot image (eg. /etc/firmware/vmm-bios) is not affected by
> > this change.
> 
> On a few of our systems this diff is throwing vm_resetcpu: failed, and the
> corresponding vms don't start.
> 
> Does this change rely on any other recent commits?
> 
> If not, I suspect that some of our local changes are breaking it.
> 
> We have various production systems deployed with vms that boot directly in to
> the kernel without using a bios image, including several custom kernel
> configs, so I would like to test this on them, but unfortunately most of the
> interesting systems are running a heavily modified 7.7-release rather than
> -current.
> 

First of all:  Thanks for testing!

This diff does rely on commits more recent than 7.7-release.  It won't
apply cleanly on 7.7-release sources.  To understand what you are doing:
You are running a currnet vmd with this patch on a 7.7-release based
system?