Index | Thread | Search

From:
Crystal Kolipe <kolipe.c@exoticsilicon.com>
Subject:
Re: vmd(8): Use 32-bit direct kernel launch for both amd64 and i386
To:
tech@openbsd.org
Date:
Wed, 20 Aug 2025 14:23:45 +0100

Download raw body.

Thread
  • Crystal Kolipe:

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

  • 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.
    
    
  • Crystal Kolipe:

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