From owner-freebsd-virtualization@freebsd.org Wed Dec 16 19:40:49 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8552DA49BEB for ; Wed, 16 Dec 2015 19:40:49 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from mail-qk0-x22e.google.com (mail-qk0-x22e.google.com [IPv6:2607:f8b0:400d:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4157815F2 for ; Wed, 16 Dec 2015 19:40:49 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: by mail-qk0-x22e.google.com with SMTP id u65so62404574qkh.2 for ; Wed, 16 Dec 2015 11:40:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ara-ler-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=vtupTtoYje8tuqpfpQIzroOm953ZGHNFoif10VoNW+s=; b=ScxtCGBl+hPHdg7Qwg6cbtUyavyX89bJNVm2wCAMuK2T3FlLg6Een98wm/ZsaAg+6/ 9zwzGmrn54rd5Z0sttjpia5aVH9VT4tfNmZlkFKgU5t0kMDT6bMgDdY/KkCsXDn8PUxx K6r3DZ/yzMp556Tc0g0sW8mnr81gIaHyF2CDfnRfZr3PKeFUaEPKSQZ9GiG7CKhUQNhs QJ6/5SIv0Mic3gmqCwUwrOcQAGWHNKJsGC3jbUauqy5Sx1F2oxXXmX8miGyRyojHLQr1 arhf5tyUpeB6QsIuZIRhjaZusq4Tldr9xTSFtpS+AIYR0RVzmpxBEuoF9nadfWwppOUU R/GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=vtupTtoYje8tuqpfpQIzroOm953ZGHNFoif10VoNW+s=; b=co4VcjHq5DpoWI5x2+qWCkk7wN7YCeKWBaIgk3hgnOfkUfrnTT8WyYwNv6k2JdYTEu fG8CnQQjk5lN/IJS7TtJYl4D+Ka5wFjXgpuDRPVbj6D5MMcRbEY76OoRlQCbvFn+BCpx I1Ob7ZVvpzxux/kRBzqfO00+k2z/fYwBi+Xz4mPx3XRIOdawTYF76ttoZr42taCtV/D6 0gH5BvBo67mmMrpt/Ua7csZJRkiLUCq6aF9rEkBPTDyGZsyADMNaMszmCZbrJg+cdn1D 6URCpNE9vmkoyki2Uxi2uXpPKKx3HcX0sURxaZQhbyr0E5RmfaJhn4TNLdjfb8uy5Rgc 4egA== X-Gm-Message-State: ALoCoQlGxxr3skYi3pVP9Lrl16KUgD5Yq+Hxszmlz0w8+2IKj3geffiTSJqKJnUcOl/U8fmYubldKCnworCExn+rZNbRaefZHg== X-Received: by 10.13.219.213 with SMTP id d204mr1490491ywe.274.1450294848330; Wed, 16 Dec 2015 11:40:48 -0800 (PST) Received: from debian.ara-ler.com ([50.243.135.133]) by smtp.gmail.com with ESMTPSA id g128sm6252275ywf.13.2015.12.16.11.40.47 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 Dec 2015 11:40:47 -0800 (PST) Date: Wed, 16 Dec 2015 12:40:45 -0700 From: Sergey Manucharian To: Anish Cc: FreeBSD virtualization Subject: Re: CDROM options in bhyve Message-ID: <20151216194045.GJ9504@debian.ara-ler.com> References: <20151216043720.GB22018@dendrobates.araler.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2015 19:40:49 -0000 Excerpts from Anish's message from Wed 16-Dec-15 11:08: > >Is there any way to "change" it when the guest is already running? > You can specify at boot time, for example in vmrun.sh > > -s $(($nextslot+1)):0,virtio-blk,${isofile} > > 'isofile' is specified using '-I' argument > > $./vmrun.sh -I vm1 > > Once system is booted, you will see two virtio-block: > > 1. vtbd0 -> Boot HDD > > 2. vtbd1 -> CDROM image or ISO file. Yes, it is clear how to do at boot time. I'd like to be able to change it AFTER the guest is up and running. By the way, for Windows guest I'm using AHCI, not virtio (per the instructions): ... -s 4,ahci-cd,$CD ... I don't see any device created (I'm not sure what's the possible name though). Thanks, Sergey