svn commit: r271447 - head/share/examples/bhyve

Craig Rodrigues rodrigc at FreeBSD.org
Fri Sep 12 02:38:11 UTC 2014


Author: rodrigc
Date: Fri Sep 12 02:38:10 2014
New Revision: 271447
URL: http://svnweb.freebsd.org/changeset/base/271447

Log:
  Attach the ISO to an ahci-cd emulated device.  The
  ISO will appear to be mounted on a /dev/cd device
  instead of /dev/vtbd.  This is similar to how other
  virtualization environments handle mounting ISO images.
  
  Reviewed by: neel

Modified:
  head/share/examples/bhyve/vmrun.sh

Modified: head/share/examples/bhyve/vmrun.sh
==============================================================================
--- head/share/examples/bhyve/vmrun.sh	Fri Sep 12 00:55:42 2014	(r271446)
+++ head/share/examples/bhyve/vmrun.sh	Fri Sep 12 02:38:10 2014	(r271447)
@@ -196,7 +196,7 @@ while [ 1 ]; do
 			exit 1
 		fi
 		BOOTDISK=${isofile}
-		installer_opt="-s 31:0,virtio-blk,${BOOTDISK}"
+		installer_opt="-s 31:0,ahci-cd,${BOOTDISK}"
 	else
 		BOOTDISK=${virtio_diskdev}
 		installer_opt=""


More information about the svn-src-all mailing list