Index | Thread | Search

From:
Mike Larkin <mlarkin@nested.page>
Subject:
Re: vmd(8): Use 32-bit direct kernel launch for both amd64 and i386
To:
tech@openbsd.org
Date:
Wed, 20 Aug 2025 09:50:23 -0700

Download raw body.

Thread
  • Mike Larkin:

    vmd(8): Use 32-bit direct kernel launch for both amd64 and i386

  • 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.
    >
    
    Can you provide a dmesg of one of these systems? (the host dmesg)
    
    We have an idea why this might be failing.
    
    If you don't want to provide the whole thing, just the cpuX lines would
    be fine.
    
    -ml
    
    
  • Mike Larkin:

    vmd(8): Use 32-bit direct kernel launch for both amd64 and i386