Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2014 02:38:11 +0000 (UTC)
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r271447 - head/share/examples/bhyve
Message-ID:  <201409120238.s8C2cBeu013101@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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=""



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409120238.s8C2cBeu013101>