From 2bbc068ab01dcded005773bd697906767463cbbb Mon Sep 17 00:00:00 2001 From: jan Date: Fri, 5 Nov 2021 10:18:50 +0000 Subject: [PATCH] Fix bootorder string for disk ok mlarkin@ --- usr.sbin/vmd/fw_cfg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/vmd/fw_cfg.c b/usr.sbin/vmd/fw_cfg.c index 8435e3fe143..4ec036912ca 100644 --- a/usr.sbin/vmd/fw_cfg.c +++ b/usr.sbin/vmd/fw_cfg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fw_cfg.c,v 1.4 2021/11/04 17:50:05 jan Exp $ */ +/* $OpenBSD: fw_cfg.c,v 1.5 2021/11/05 10:18:50 jan Exp $ */ /* * Copyright (c) 2018 Claudio Jeker * @@ -77,7 +77,7 @@ fw_cfg_init(struct vmop_create_params *vmc) switch (vmc->vmc_bootdevice) { case VMBOOTDEV_DISK: - bootorder = "/pci@i0cf8/*@2\nHALT"; + bootorder = "/pci@i0cf8/*@3\nHALT"; break; case VMBOOTDEV_CDROM: bootorder = "/pci@i0cf8/*@4/*@0/*@0,40000100\nHALT"; -- 2.20.1