diff options
author | Jan Klemkow <jan@cvs.openbsd.org> | 2021-11-04 17:50:06 +0000 |
---|---|---|
committer | Jan Klemkow <jan@cvs.openbsd.org> | 2021-11-04 17:50:06 +0000 |
commit | 4518c9caea0731085f5819e19004d2c376e86e10 (patch) | |
tree | 8fedbe862356641601d1711a10c86b646004115a /usr.sbin | |
parent | 2bb8e9a495cd9050bb4b6c97a98d223798f80e0d (diff) |
Fix broken "boot device cdrom" feature after a fix in seabios.
seabios fixes wrong LUN handling upstream. Thus, we have to adapt the LUN
of our cdrom bootorder string, too.
ok brynet@, dv@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/vmd/fw_cfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/vmd/fw_cfg.c b/usr.sbin/vmd/fw_cfg.c index fb4379c8956..8435e3fe143 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.3 2021/06/16 16:55:02 dv Exp $ */ +/* $OpenBSD: fw_cfg.c,v 1.4 2021/11/04 17:50:05 jan Exp $ */ /* * Copyright (c) 2018 Claudio Jeker <claudio@openbsd.org> * @@ -80,7 +80,7 @@ fw_cfg_init(struct vmop_create_params *vmc) bootorder = "/pci@i0cf8/*@2\nHALT"; break; case VMBOOTDEV_CDROM: - bootorder = "/pci@i0cf8/*@4/*@0/*@0,100\nHALT"; + bootorder = "/pci@i0cf8/*@4/*@0/*@0,40000100\nHALT"; break; case VMBOOTDEV_NET: /* XXX not yet */ |