From owner-freebsd-virtualization@freebsd.org Mon Dec 14 16:43:13 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 AF790A4309C for ; Mon, 14 Dec 2015 16:43:13 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from mail-ob0-x236.google.com (mail-ob0-x236.google.com [IPv6:2607:f8b0:4003:c01::236]) (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 7F4561EBA for ; Mon, 14 Dec 2015 16:43:13 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: by obc18 with SMTP id 18so135116313obc.2 for ; Mon, 14 Dec 2015 08:43:12 -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=wlHrl8+YF0SqPe5W9/LICGVHtjJaizHqWpMCIzuLSCo=; b=ltLzpkHgfNIvLMSMTCJR3VRty1SkGZHDtuMCwTHOAksPVsJq9UtVv4eAZW1f8M6w8j ETUM37S4xSOBXHEiNNwPGXJ2zi3hioo/2GWmZitCQOFjYNADvEGd89qO6Ie1T6wXfaBn yxWTfcEG6MEF603Wh2hbIjKKWZXQR7DNdYW+ZrvnIZNcLXrek5EjtRltXT3ZjIk1ZU43 aW/29Sflm1GOO7IOcwUIOT2XGiICnCMDkKSsi4OwU9sqvytp1CCLT+dujrY540lfKb9B +dXl08IO5yf5EJuZTy1CvK/ClsNo1XVwAQ/d7KrE5F28OlBEEDk02ZBlqTuk0ZKbS686 C3gg== 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=wlHrl8+YF0SqPe5W9/LICGVHtjJaizHqWpMCIzuLSCo=; b=Rhhe/u8sTLlqsTQcQuk133/qMbr5UvQmDMhCPWMyPXVenY9JFe7PfRDBqrl6lgkelp 6LovuohWok3E3j3pZgg6CPZr9hBj9ffR9L+VhzJuO7y7jh64VX9zaBoDwPvtv+GzPdw6 z4UyexElUMMUhJ6ZQ45vBZBYGlFUAYqL55P/+brZmgDJEm5ji3sIAkySCInk7kDUfRA5 7b6N06/TEI81itb9xnPzHnufHmAlMv/3jxvEieixgJvU5hTORuDKjnmWCZX397Gp7lwo eyzfKebMgIPzLMJNEm9BYwN8ni5tpv6lYwaDtkKP1t60/EInR2m63Di+YYiWCZXGhzhu knYQ== X-Gm-Message-State: ALoCoQlS6FgDg7qZnZ/lZPzc7sQfFrACIjWisyUuLFEX75zzMyl/noKjQ0dNMZHmaVI+XVpjTFiP8c30fznPj9rfKzGiGOgflg== X-Received: by 10.60.74.100 with SMTP id s4mr26675240oev.36.1450111392402; Mon, 14 Dec 2015 08:43:12 -0800 (PST) Received: from debian.ara-ler.com ([50.243.135.133]) by smtp.gmail.com with ESMTPSA id gi5sm15432897obb.6.2015.12.14.08.43.11 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Dec 2015 08:43:11 -0800 (PST) Date: Mon, 14 Dec 2015 09:43:09 -0700 From: Sergey Manucharian To: freebsd-virtualization@freebsd.org Cc: Peter Grehan Subject: Re: Windows support in bhyve Message-ID: <20151214164309.GB5410@debian.ara-ler.com> References: <561187FB.8040506@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <561187FB.8040506@freebsd.org> 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: Mon, 14 Dec 2015 16:43:13 -0000 Excerpts from Peter Grehan's message from Sun 04-Oct-15 13:11: > As of r288524, bhyve has preliminary support to run Windows in headless > mode using UEFI firmware. > > Since it's headless, the install process consists of modifying the > Windows install ISO to include an 'unattend' XML script that automates > the install, and also inserting the virtio network driver currently > required by bhyve. > > This has been tested with 64-bit Windows Server 2k12r2 and 2k16 tp3, and > Windows 10. The server versions are recommended since they have serial > console support, whereas the desktop install is a black-screen experience. > > ISO repack instructions at: > http://people.freebsd.org/~grehan/bhyve_uefi/windows_iso_repack.txt > > Install/run instructions at: > http://people.freebsd.org/~grehan/bhyve_uefi/windows_install.txt > > Please give this a try and report back on how it goes. > That's really cool! Thanks for the instructions! I've installed Windows Server 2016 with no issues on a ZFS volume. Works fine. I can get the command prompt, set up IP address and so on. However I cannot get Remote Desktop connection working. I tried to (re)enable it from the command line: C:\Windows\system32>reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f The operation completed successfully. C:\Windows\system32>reg add "hklm\system\currentControlSet\Control\Terminal Server" /v "AllowTSConnections" /t REG_DWORD /d 1 /f The operation completed successfully. C:\Windows\system32>net start Termservice The Remote Desktop Services service is starting. The Remote Desktop Services service was started successfully. C:\Windows\system32>ipconfig Windows IP Configuration Ethernet adapter Ethernet: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::2cb4:3a4d:dff5:9f0c%3 IPv4 Address. . . . . . . . . . . : 192.168.4.5 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.4.1 But rdesktop cannot connect: $ ping 192.168.4.5 PING 192.168.4.5 (192.168.4.5): 56 data bytes 64 bytes from 192.168.4.5: icmp_seq=0 ttl=128 time=0.314 ms $ rdesktop 192.168.4.5 ERROR: 192.168.4.5: unable to connect Any ideas? Thanks, Sergey From owner-freebsd-virtualization@freebsd.org Mon Dec 14 17:10:29 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 E2FB8A442C9 for ; Mon, 14 Dec 2015 17:10:28 +0000 (UTC) (envelope-from g_amanakis@yahoo.com) Received: from nm30-vm1.bullet.mail.ne1.yahoo.com (nm30-vm1.bullet.mail.ne1.yahoo.com [98.138.90.46]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE98F1D31 for ; Mon, 14 Dec 2015 17:10:27 +0000 (UTC) (envelope-from g_amanakis@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1450112850; bh=EnDzeKnr0TffVWd1Qmmed6SXM9K1jWzZTHl113dWeeA=; h=In-Reply-To:References:Subject:From:Date:To:From:Subject; b=SBLXoH7tw2eg/r30WXjbJ5KB3bigU+acduD5+nvcWmABXDOoexnbzyEmaWsue1wLfc5BmCx3S9WeYBDHSI33GNzRSYvuu9hxdVPfM0FmvhM79VbRm4+IxRj2kD08yQTvd6dbHPayXd2V5NHsxMbAly/qtBWfrVcKB1xWY79sFpftLFwKlKfYcgswsf1iFkpa7+67uCZIhkk9sr5oKKvmARIIh2lxWP7boAFbo5VpM1GDHr0VaM4iCmWDXe0SCuzE3f0EN+gCmRD83ggEizMO0VPIzLgll76EA4jaM3RO904cvdQDgGV9/co+B5nlHGFAhOlYME1HoZ6HOayEi6O8AQ== Received: from [98.138.226.180] by nm30.bullet.mail.ne1.yahoo.com with NNFMP; 14 Dec 2015 17:07:30 -0000 Received: from [98.138.84.38] by tm15.bullet.mail.ne1.yahoo.com with NNFMP; 14 Dec 2015 17:07:30 -0000 Received: from [127.0.0.1] by smtp106.mail.ne1.yahoo.com with NNFMP; 14 Dec 2015 17:07:30 -0000 X-Yahoo-Newman-Id: 970182.34110.bm@smtp106.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: Thywx7gVM1ngvfOx1a6YRKzYY3NRPvP0UTrIcO6Nomt88XT PcZK0uzuF8oyCKP1gR0O5f8nrmJjkOzAYIV9y9bnDlcaMlld8G4BRbHnUpEc TnV965kBGvAL9fFFlaX8yLf8y5ZoxcMuCLfcMH.8_oJMuitbMx9BlWTN3MkC mNm_80TipfTj8pBnzwY2KyM32LVVZQwvEwDcecKKIBsymBX5bWcVcMITffYf EI586uGqlcNIINV7nZ1OfRWE7yfU_2Ju582bCx3ukb0yGew1NJXPHDq2PqyN VEWoc9W9z15BzOnYGvXwFFsLepPyX6uLody4JjteaOhg9fUAZAVps5oVNXg7 I54R3mIy84kESWNRrUPl0wYiEiLoBB4WBWUNi729tBjzAvSs4FvbqWsF18bF wQGkKS7DzSeJwtpX0tTERIVOvhrEA2TiK0WkBaI59ApHiI_hfjD6Bp5hqPNu n4RLud6x1cIXasvZUsEvlqsLnvcgbYuqNkplLlxgn7E_riDt7Sq1F6zDUHEe 8yQNjA.G6KWGO56egnj8s85gp8bZb5z9BO0ZoHoQsF9NLJhbCkY9_kla0ZB2 3qj9ItEgpm78- X-Yahoo-SMTP: 6sUo5IiswBDB2TZm6JKJ6DaI.Rsz4O0- User-Agent: K-9 Mail for Android In-Reply-To: References: <4F251D2F-8C0C-46FF-B5E1-D88DE84904D8@yahoo.com> MIME-Version: 1.0 Subject: Re: BAR and pci passthrough From: "G. Amanakis" Date: Mon, 14 Dec 2015 18:07:11 +0100 To: "freebsd-virtualization@freebsd.org" Message-ID: <43363997-6304-4BA3-BCCB-90FA62E00EE6@yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Mon, 14 Dec 2015 17:10:29 -0000 On December 14, 2015 1:34:16 PM GMT+01:00, Bendany Qian wrote: Hello G=2E Amanakis I also faced your problem=2E and I try your solution, now it can pass to VM=2E but it cannot work properly=2E Linux guest's dmesg say cannot start device=2E what is your situcation? success? Best Regards=2E Qian I can also pass it through but the linux-vm cannot request the IRQ of the = device, in my case it is an onboard USB controller which shares an IRQ with= the onboard graphics card on an X9SCM=2E What is your device? --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E From owner-freebsd-virtualization@freebsd.org Mon Dec 14 19:26:53 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 A87E9A430DD for ; Mon, 14 Dec 2015 19:26:53 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) by mx1.freebsd.org (Postfix) with ESMTP id 8AAF510A8 for ; Mon, 14 Dec 2015 19:26:53 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [10.1.1.2]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id E22E4D411 for ; Mon, 14 Dec 2015 19:26:46 +0000 (UTC) Subject: Re: Windows support in bhyve To: freebsd-virtualization@freebsd.org References: <561187FB.8040506@freebsd.org> <20151214164309.GB5410@debian.ara-ler.com> From: Allan Jude Message-ID: <566F17EE.6010408@freebsd.org> Date: Mon, 14 Dec 2015 14:26:38 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20151214164309.GB5410@debian.ara-ler.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b6S8SnrDNQb7x9DGRLAQ7iAitJ6eTQiU1" 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: Mon, 14 Dec 2015 19:26:53 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --b6S8SnrDNQb7x9DGRLAQ7iAitJ6eTQiU1 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015-12-14 11:43, Sergey Manucharian wrote: > Excerpts from Peter Grehan's message from Sun 04-Oct-15 13:11: >> As of r288524, bhyve has preliminary support to run Windows in headles= s=20 >> mode using UEFI firmware. >> >> Since it's headless, the install process consists of modifying the=20 >> Windows install ISO to include an 'unattend' XML script that automates= =20 >> the install, and also inserting the virtio network driver currently=20 >> required by bhyve. >> >> This has been tested with 64-bit Windows Server 2k12r2 and 2k16 tp3, a= nd=20 >> Windows 10. The server versions are recommended since they have serial= =20 >> console support, whereas the desktop install is a black-screen experie= nce. >> >> ISO repack instructions at: >> http://people.freebsd.org/~grehan/bhyve_uefi/windows_iso_repack.t= xt >> >> Install/run instructions at: >> http://people.freebsd.org/~grehan/bhyve_uefi/windows_install.txt >> >> Please give this a try and report back on how it goes. >> >=20 > That's really cool! Thanks for the instructions! >=20 > I've installed Windows Server 2016 with no issues on a ZFS volume. Work= s > fine. I can get the command prompt, set up IP address and so on. >=20 > However I cannot get Remote Desktop connection working. I tried to > (re)enable it from the command line: >=20 > C:\Windows\system32>reg add > "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" = /v fDenyTSConnections /t REG_DWORD /d 0 /f > The operation completed successfully. > =20 > C:\Windows\system32>reg add > "hklm\system\currentControlSet\Control\Terminal Server" /v "AllowTSCon= nections" /t REG_DWORD /d 1 /f =20 > The operation completed successfully. =20 >=20 > C:\Windows\system32>net start Termservice = =20 > The Remote Desktop Services service is starting. = =20 > The Remote Desktop Services service was started successfully. >=20 > C:\Windows\system32>ipconfig =20 > Windows IP Configuration >=20 > Ethernet adapter Ethernet: = =20 > =20 > Connection-specific DNS Suffix . : > Link-local IPv6 Address . . . . . : fe80::2cb4:3a4d:dff5:9f0c%3 = =20 > IPv4 Address. . . . . . . . . . . : 192.168.4.5 = =20 > Subnet Mask . . . . . . . . . . . : 255.255.255.0 = =20 > Default Gateway . . . . . . . . . : 192.168.4.1 >=20 > But rdesktop cannot connect: >=20 > $ ping 192.168.4.5 > PING 192.168.4.5 (192.168.4.5): 56 data bytes > 64 bytes from 192.168.4.5: icmp_seq=3D0 ttl=3D128 time=3D0.314 ms >=20 > $ rdesktop 192.168.4.5 > ERROR: 192.168.4.5: unable to connect >=20 > Any ideas? >=20 > Thanks, > Sergey >=20 > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@fr= eebsd.org" >=20 You likely have to allow it through the windows firewall. Last time I had to do this from a command prompt, i used netcmd or something, I don't recall now, it was 7 or 8 years ago. --=20 Allan Jude --b6S8SnrDNQb7x9DGRLAQ7iAitJ6eTQiU1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJWbxf6AAoJEBmVNT4SmAt+q8QQAJpOlz1tm1A3rVuRN/Zdqkd4 hqWPkBHb9hSJISGSmZGY8/iN/uOhRRRppUcqyO6PJNFRSuIu7Psu70/B3UaIUboT 3G/1eeXDNSi4j62M1MtxpuSGVHY8crhidntmZ+QyNZ42oRiHXkv2ObFBu/W21M/V rP9sy3jZpivu8P+v7NQzDjkErAifclhPkRf8wBNVQrjnpRWEmE8Zo2b7Vmdh9cmF LBzFVouv+nsEPG9yRhmbWsEChR3GZqynHSXCO9hLHmO0f3JBsVupXqY3KkM+Wljs +5uYLITGB82iTGQe5BYyQxZrzmXkHlJCEWU2Nf+HTIoY2j7WvMChGJsc9nXzy6FG kJJeCSlsBkCzhtNtyT9Js5vJvP6/jZ/cuvy/6OaM3EjKDH+QUrdo3Evc53otQY7s 0wTWQJjKUpP975mKaZruoAGaT44bFuUTyvjzpnNYH0hzLzCB0kyG6H1+sRO6ZYmG 57Zir5ZlV1hg27Mx75pym65b0FdqURBxnrTiWWHOsXwgRT3kGra4DR3e4tpga3Xg UUilnAyDV2aBB25KmrkdNhnwJUsSrlATRV+7neQBsAwRaZxJ5Lawn3ixErDKIFNU n6cQbOQVLsodXLXxq8ALtHLKxErAH+VSeYOFnOW55kiFiV6UFXuhfFwClpUlVyek 0WRFT9J+iq4PL+xraC78 =Vb2P -----END PGP SIGNATURE----- --b6S8SnrDNQb7x9DGRLAQ7iAitJ6eTQiU1-- From owner-freebsd-virtualization@freebsd.org Mon Dec 14 19:38:20 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 5C3BFA438F3 for ; Mon, 14 Dec 2015 19:38:20 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from mail-ob0-x22c.google.com (mail-ob0-x22c.google.com [IPv6:2607:f8b0:4003:c01::22c]) (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 2B2781798 for ; Mon, 14 Dec 2015 19:38:20 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: by obciw8 with SMTP id iw8so140132311obc.1 for ; Mon, 14 Dec 2015 11:38:19 -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=5xqA2e1WTB5zAr3jucH7G+MZb0WgN9BnI5jQByMCfAY=; b=w2gRdF63CUVHEL3bR1Ts1s+nGeZo8Yp+pnI8WQ7dZQOpVVzKoPezxbv3TA0kjajoPb 5zC+tRuVcQWjuSXLF2LvE+46ULvJBJWSP+9CgJhP9GvZhejM49M+DStGTbxEgHusV1d2 Ndu+lq8zfo249B73DY81At3CUAoWXFpWo+DaSCvW3qSHTz2y6WNV4wDh993lLrQHQfs+ RZfZuI3zG0sI+cqEHixEaCgzDKqmJNThiiA3t5Vcx+cO/cIiT5hx+pagR2VDtkWpHZn5 GUs4LCMwY8YZl8JMkl6dWMcz464VxYWc/O3THzE3Dk0KGuZEiv/fpEYzgnLDpJTHaelL TA5Q== 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=5xqA2e1WTB5zAr3jucH7G+MZb0WgN9BnI5jQByMCfAY=; b=d6dbta+g2yj49ndaTUDk4OcGmOZqVtcw02QqsjCKLk4/0bfKDM/YQXhwiQ2WJjXJSr lRTRc+TQJVOifO5xHe3kY/9dzkWUKKYStE1JOl3b0+RABgTXeFMeKbYgwdDhuAk+bcGA LlBQx6LosKriHEA1hTV9F5u8dIA7ugW28xdg5ZvY7xa72R0iI7d6MQxYmFXmnH7YRBmr t8nqqzergcQhUzx40EUbyIYH4Rp6AGqVduD0L1Wmli/LxQMlL0a0YlpDeGj/f5GSXZ8J kKlvRpVxAHtXQ/c1P3bqktAPsvDAIuvItPoz6uzTMQ/BQ48N2vTtJ5LsbuaAzx/gmoRE cjSw== X-Gm-Message-State: ALoCoQmxsQk7/tbZtGBLE65o4VODICpXdYG9yDX+Ec/Y3mw12YwtGHNTKoIbhI3gQMq+UJbl9u/Fvwi0rT02wu5mbk3qZdnJ0Q== X-Received: by 10.182.20.232 with SMTP id q8mr2604265obe.5.1450121899326; Mon, 14 Dec 2015 11:38:19 -0800 (PST) Received: from debian.ara-ler.com ([50.243.135.133]) by smtp.gmail.com with ESMTPSA id t7sm15726357obd.14.2015.12.14.11.38.18 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Dec 2015 11:38:18 -0800 (PST) Date: Mon, 14 Dec 2015 12:38:16 -0700 From: Sergey Manucharian To: Allan Jude Cc: freebsd-virtualization@freebsd.org Subject: Re: Windows support in bhyve Message-ID: <20151214193816.GB9504@debian.ara-ler.com> References: <561187FB.8040506@freebsd.org> <20151214164309.GB5410@debian.ara-ler.com> <566F17EE.6010408@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <566F17EE.6010408@freebsd.org> 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: Mon, 14 Dec 2015 19:38:20 -0000 Excerpts from Allan Jude's message from Mon 14-Dec-15 14:26: > On 2015-12-14 11:43, Sergey Manucharian wrote: > > > > But rdesktop cannot connect: > > > > $ ping 192.168.4.5 > > PING 192.168.4.5 (192.168.4.5): 56 data bytes > > 64 bytes from 192.168.4.5: icmp_seq=0 ttl=128 time=0.314 ms > > > > $ rdesktop 192.168.4.5 > > ERROR: 192.168.4.5: unable to connect > > You likely have to allow it through the windows firewall. > > Last time I had to do this from a command prompt, i used netcmd or > something, I don't recall now, it was 7 or 8 years ago. I hope I've disabled it through the command line. The ping didn't go through before, then it does. I thought it could be also RDP protocol version (it's 8.0) problem, tried xfreerdp and a connection from another Win7 Windows computer - no luck... I've also disabled Network Layer autentication in Widnows Server. Don't know what else can cause that. Sergey From owner-freebsd-virtualization@freebsd.org Mon Dec 14 20:26:53 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 121EDA433BC for ; Mon, 14 Dec 2015 20:26:53 +0000 (UTC) (envelope-from trentnthompson@gmail.com) Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) (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 9CDC91295 for ; Mon, 14 Dec 2015 20:26:52 +0000 (UTC) (envelope-from trentnthompson@gmail.com) Received: by lfcy184 with SMTP id y184so56465953lfc.1 for ; Mon, 14 Dec 2015 12:26:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6oYyfsKIT4M8eS3dsdLPVYnwWzGsI8z2Sg92J05Z3KA=; b=zMPPAo6H697OQ9j8kvBwGysOZFKNX3FFAU+0I9n4tp0bSIbCJm+HNIglsrt/jBhrc/ wDwkVSfcXz9SDwKitOsZd0arldvfQu+fWMiLsc5//+EPvNyG6y+qBRd15bjmeiokzyY/ TIXEi7hiVCgyfXEjFYVL1M6uDMzsY+Qm1RxOIA+L4ldT8r8iEKKdCyZz2DNG5F6X6oYr ihLP2kFn4DdQnXCFRETS2ceCFh6LhAIO1nFg13fsnrO5JOPSPeWj7CepSavodaFckzbx 13rKwiWJFXZq8iViMYw8QXnnmOJffTZMk26bH9YWLf9J4Q3R1+Bx8g6Y4/sw/V2Pfx2M NG3w== MIME-Version: 1.0 X-Received: by 10.25.165.141 with SMTP id o135mr13641184lfe.139.1450124810596; Mon, 14 Dec 2015 12:26:50 -0800 (PST) Received: by 10.25.198.196 with HTTP; Mon, 14 Dec 2015 12:26:50 -0800 (PST) In-Reply-To: <20151214193816.GB9504@debian.ara-ler.com> References: <561187FB.8040506@freebsd.org> <20151214164309.GB5410@debian.ara-ler.com> <566F17EE.6010408@freebsd.org> <20151214193816.GB9504@debian.ara-ler.com> Date: Mon, 14 Dec 2015 13:26:50 -0700 Message-ID: Subject: Re: Windows support in bhyve From: Trent Thompson To: Sergey Manucharian Cc: FreeBSD virtualization Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Mon, 14 Dec 2015 20:26:53 -0000 Sergey, Can you confirm Remote Desktop Services is running? You can try something like `net start | more` to see services that are running via CMD. -Trent From owner-freebsd-virtualization@freebsd.org Mon Dec 14 20:35:20 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 51997A43A41 for ; Mon, 14 Dec 2015 20:35:20 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from mail-oi0-x233.google.com (mail-oi0-x233.google.com [IPv6:2607:f8b0:4003:c06::233]) (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 150421A3C for ; Mon, 14 Dec 2015 20:35:20 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: by oian133 with SMTP id n133so21698645oia.3 for ; Mon, 14 Dec 2015 12:35:19 -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=Z/CQ37uEl5O156/Q2VldxJCy/VYd0gDlfYiqve865Sg=; b=HqcTojOPCBeM7djKTldaNanJLQ1WttuDqRb5OubtnYY8JU7buIvR7G13pL5llIYOgC OHSMw8JNZVS71kexZjptA3E4xP6xdoccaoF/h614QjpSWCDQAZr3y/61frVdKbOrJcLt arg7ajmRfDC4YBqX3L2JlRB8d1MPDN8XBDBLvRQq5HIbahtkIiEcgmLXWIVga0NCdEa9 52lMuRD0s3uVY/XYX7A9rg3KeiuQQZjlYIHqkj8RFrbQNUJis7fgM/rjkpGjND+LTrS7 E5DxSIGoddNgYE5VEOBqs0Z3QKhfxhpP/CqDnVgXq6W1Ceobp7pj2qhxZGNQoDNSdLXE Nl+Q== 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=Z/CQ37uEl5O156/Q2VldxJCy/VYd0gDlfYiqve865Sg=; b=g6be2ChcrTm+1x1r89dMPIAAzi4Mrp9hqenJSAOV6TYsfWAcWgksX/IYX4Tuobfjzw 7yD9AuvvRkj33Goc029NzD/v3AuVBBpQ3gATX1R+xCKaCr4EgrmBOhqdcxNBhFLZv8HE 4e0uPe8PnNzaHruCblpDBboWESLpmhAzwZXcEkoQ9xjZTr+sZbmr6b1wQogZxDsSTwuC Yi8BUEUcLkNkTXAQTz1DEAcNVvwiZMFpUAUEc1p5QSkqOIWhEuSDZI0nmXnnLOaH3K8t OTDK7Dl1rp9Fggh9c6VEWa+rpgNNTWdY2nGVShga/BD5eb6GCtYyS2C8KUdX2KtSJ3nN vfSA== X-Gm-Message-State: ALoCoQng3V24N4uxjRAIrW/sL/g5JwnNa2/K+DLUbIZGNvVTnJ0dfnHTL/aB132/u8OZzlhscEhY1iVHTWEl7VyX+4MWf+Gp7w== X-Received: by 10.202.107.68 with SMTP id g65mr25368107oic.135.1450125319197; Mon, 14 Dec 2015 12:35:19 -0800 (PST) Received: from debian.ara-ler.com ([50.243.135.133]) by smtp.gmail.com with ESMTPSA id jb7sm13366936obb.12.2015.12.14.12.35.18 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Dec 2015 12:35:18 -0800 (PST) Date: Mon, 14 Dec 2015 13:35:16 -0700 From: Sergey Manucharian To: Trent Thompson Cc: FreeBSD virtualization Subject: Re: Windows support in bhyve Message-ID: <20151214203516.GC9504@debian.ara-ler.com> References: <561187FB.8040506@freebsd.org> <20151214164309.GB5410@debian.ara-ler.com> <566F17EE.6010408@freebsd.org> <20151214193816.GB9504@debian.ara-ler.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: Mon, 14 Dec 2015 20:35:20 -0000 Excerpts from Trent Thompson's message from Mon 14-Dec-15 13:26: > Can you confirm Remote Desktop Services is running? > You can try something like `net start | more` to see services that are > running via CMD. It does: C:\Windows\system32>net start | more These Windows services are started: ..... Print Spooler Program Compatibility Assistant Service Remote Desktop Services Remote Procedure Call (RPC) RPC Endpoint Mapper Security Accounts Manager ..... The command completed successfully. C:\Windows\system32>sc query termservice SERVICE_NAME: termservice TYPE : 20 WIN32_SHARE_PROCESS STATE : 4 RUNNING (STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN) WIN32_EXIT_CODE : 0 (0x0) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x0 Thanks, Sergey From owner-freebsd-virtualization@freebsd.org Tue Dec 15 16:23:25 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 DC7A6A430FB for ; Tue, 15 Dec 2015 16:23:24 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::229]) (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 A34931D9F for ; Tue, 15 Dec 2015 16:23:24 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: by mail-oi0-x229.google.com with SMTP id o124so7897058oia.1 for ; Tue, 15 Dec 2015 08:23:24 -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=MznOKPzwGNkuC4gvZTV8dH381+vWfzU9oJ1bHx/mntE=; b=f7+cwMbGedPrXizLfLNYjrG+O2R3HXlheNkhHjkhIJWynO3b8KAZRIsACfpiBemZXE Vnatj7UkVDklkP6FZEzWe0xsCY2L8AUNDCvRxH2FlurhfIYrfAcId3KcwXpri40Kobnq lOjL89yHahguXTfuF8p76ILeSJFr7tfHyhA25tc65bFsIPSTw48JI6/+itydG8MMb13b Y2I1TRrLdIjqKyBgsSYygVebq2MEEmvosvi0IT2dI94b5ASoClxGrfyI7I6XxBE9bdWp mlqTyj5vmfCbvi3yXqHVaPvVc8k06CcE1alo0CGgpetRrZi+xCONFrkegGZIDjAvOI9I NBWg== 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=MznOKPzwGNkuC4gvZTV8dH381+vWfzU9oJ1bHx/mntE=; b=BHEfVJviiNa5eCgU7shZ5lR/1uD4LozOLshbGjmD76i4Rr8Lj061iL5dyHZthiMsF/ U++4wBT1KvuXX+IsRKzfWSd9W1o+ydJ1YqRPJ43LueWSz1CNBytYbidbaDdWjKiNFheP kvqFC/Lo/X1GZbj7J3q3RrLNTU85urEPHNQrj1RVoL+3oF8t0FTmKIA7qtFhdflXukyU fqIDeNULtVPvq1ezcFifgk/9v0lGPrLlwWown2EPYxfTk38ufpZnm8zPZGkjSnhyHj46 MN5Qo8HtGbOlmWYcGLQ6OP8zjwJppkNSrQpUI9mYPUBAsG6ffLJZQ95pYVutTbolJhSE hEoQ== X-Gm-Message-State: ALoCoQkRDrRgY+R61gH2GJg3WIj1O/W1m4W9KpSqNujvLW+6MByBT0E+Sza5/e+lJa31JNX0V/DEoQgTgmLiMRRiC7Gh9dLrvw== X-Received: by 10.202.81.5 with SMTP id f5mr14831807oib.72.1450196603580; Tue, 15 Dec 2015 08:23:23 -0800 (PST) Received: from debian.ara-ler.com ([50.243.135.133]) by smtp.gmail.com with ESMTPSA id r82sm689320oib.10.2015.12.15.08.23.22 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Dec 2015 08:23:22 -0800 (PST) Date: Tue, 15 Dec 2015 09:23:20 -0700 From: Sergey Manucharian To: freebsd-virtualization@freebsd.org Subject: Re: Windows support in bhyve Message-ID: <20151215162320.GF9504@debian.ara-ler.com> References: <561187FB.8040506@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <561187FB.8040506@freebsd.org> 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: Tue, 15 Dec 2015 16:23:25 -0000 Excerpts from Peter Grehan's message from Sun 04-Oct-15 13:11: > As of r288524, bhyve has preliminary support to run Windows in headless > mode using UEFI firmware. > > Since it's headless, the install process consists of modifying the > Windows install ISO to include an 'unattend' XML script that automates > the install, and also inserting the virtio network driver currently > required by bhyve. > > This has been tested with 64-bit Windows Server 2k12r2 and 2k16 tp3, and > Windows 10. The server versions are recommended since they have serial > console support, whereas the desktop install is a black-screen experience. > > ISO repack instructions at: > http://people.freebsd.org/~grehan/bhyve_uefi/windows_iso_repack.txt > > Install/run instructions at: > http://people.freebsd.org/~grehan/bhyve_uefi/windows_install.txt > > Please give this a try and report back on how it goes. > Another report: Windows 2012 works perfectly. FreeBSD 11-CURRENT on Thinkpad T430. Also I was able to pass through USB3 controller to Windows. Thinkpad has another USB2 controller which I kept with FreeBSD. Thanks! Sergey From owner-freebsd-virtualization@freebsd.org Tue Dec 15 20:53:27 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 2A462A48611 for ; Tue, 15 Dec 2015 20:53:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1AAB41289 for ; Tue, 15 Dec 2015 20:53:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tBFKrQr1091346 for ; Tue, 15 Dec 2015 20:53:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 203820] kernel panic when trying to unload vmm(4) and VirtualBox VMs are running Date: Tue, 15 Dec 2015 20:53:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ilavsky.martin@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Tue, 15 Dec 2015 20:53:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203820 --- Comment #6 from martin ilavsky --- (In reply to John Baldwin from comment #5) Yeah, it does make sense that only one monitor should be running. I went trough it went I was trying to figure out where the problem was, or at least what it was causing. Not that I understand what it does exactly, but I got the idea at least. For others who may experience the same issue I created a thread on forums and here I created a PR, maybe it catches somebody's attention. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@freebsd.org Wed Dec 16 04:37:23 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 DBBEEA497A5 for ; Wed, 16 Dec 2015 04:37:23 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from mail-ob0-x22b.google.com (mail-ob0-x22b.google.com [IPv6:2607:f8b0:4003:c01::22b]) (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 A8C6D1EC1 for ; Wed, 16 Dec 2015 04:37:23 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: by mail-ob0-x22b.google.com with SMTP id no2so24150282obc.3 for ; Tue, 15 Dec 2015 20:37:23 -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:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=oweq2aok/pnlo7fg+dr2AevJHxEQfNt3BaeN3h/t6NM=; b=sNV4j5QvDY/bDnTuJ3vYkf0kGZS+RRjFQyNwJHOMMWWOeF3uCA9ac+/0gFe8/iuGMY 49X2rvgIrEdpyvpkcMevhfQ4UYuSYpNnTqkFQmQtRD7SldWvfxpKqJUEC7iVk8Py9pU0 kAeCxsQSZjl1VYml2CzHZgtySqSmrlF+WMKwXJDxf5AK+iUq3og00soFEop76woOAh4G rb0kfCx+TWQIkedScDRpME0jAth9PI9U+fLx04EXjFzz99j8kC4Nypx9+HUhjkkgV9Fv X2ueQyHdYWtzak608Cyy+9D7h1ZxEemTCVj7FqB7RKk/Qf7Wr3EFaZWN8ul8qIH/H1QT mN4Q== 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:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=oweq2aok/pnlo7fg+dr2AevJHxEQfNt3BaeN3h/t6NM=; b=QPV+Tn1+ch1Sv8YzeSKWIphBYuYugOD+05aYy5e4prp9aH/A3AXf8/W6Whnh5nxDYV O6gE7HRSSC8gMryNP/+QgEVTV1louY5SHCOs6oGnloF3veRnddQjLGBE/lK4TBINE69Y +igL2wRGwwkMa6OCFOWaLsa1KZQp1RAn7mzmo6YHuQowf78nchH9DlUksrbhuv+cYrib aQwJOEYmyZYGlMxub8pj4qSdfcJHEE2sscdIBXQBb0/fT0SGb74fCw8YKsQyzfcUiN0F ybz4/I4nC4RiB2rvefrL1fbMs2NCpSI4d/n/kwKHhWURNazl/rr5eUrDBAkaS/1jST6W vVQQ== X-Gm-Message-State: ALoCoQkynDNTc09vVqS1cOkmOYYVMJ65T5a18vo2tL4FScQwEGwjX/T8/DtILfp0ZUv/MA6kyf5vxo/yTTw52SbfKl/qgDOSag== X-Received: by 10.182.117.225 with SMTP id kh1mr35130658obb.29.1450240642666; Tue, 15 Dec 2015 20:37:22 -0800 (PST) Received: from dendrobates.araler.com (70-59-19-232.hlrn.qwest.net. [70.59.19.232]) by smtp.gmail.com with ESMTPSA id t84sm1986003oie.1.2015.12.15.20.37.21 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Dec 2015 20:37:22 -0800 (PST) Date: Tue, 15 Dec 2015 21:37:20 -0700 From: Sergey Manucharian To: freebsd-virtualization@freebsd.org Subject: CDROM options in bhyve Message-ID: <20151216043720.GB22018@dendrobates.araler.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 04:37:24 -0000 Hello, Currently bhyve supports attaching a cd image when started. Is there any way to "change" it when the guest is already running? Is there a way to attach the host's CD/DVD drive? E.g. it would be useful to be able creating symlink to an image file, and then re-point it to another one (currently does not work). Thanks, Sergey From owner-freebsd-virtualization@freebsd.org Wed Dec 16 19:08:14 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 3DA20A485B5 for ; Wed, 16 Dec 2015 19:08:14 +0000 (UTC) (envelope-from akgupt3@gmail.com) Received: from mail-vk0-x22d.google.com (mail-vk0-x22d.google.com [IPv6:2607:f8b0:400c:c05::22d]) (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 F3E701E4A for ; Wed, 16 Dec 2015 19:08:13 +0000 (UTC) (envelope-from akgupt3@gmail.com) Received: by mail-vk0-x22d.google.com with SMTP id a188so32795728vkc.0 for ; Wed, 16 Dec 2015 11:08:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XS+t+GG6Oga5aoFM+ePDoZc4nL2n8m1Bv9PMQXVyGQM=; b=zpM9R2+OPilVX6cnTWWCKJdc7juK5SmjaSV1hkuHcxCwd5XOCV8pL+pVYiZ8tmRPAZ iy++fLjMvwgbE685dEgDMaJFCEGP8agMtvXsDAzD7dRckMtlCYYDQENmoAX7if98PPq0 0mLz4DxrdSEAb9aBidYJmwDuSCqIuHUghLo0ev4hglqSpLbcMLa4kL6von/S0vGAtnZP EF8vUraN56VvRmmYrFpuuZkiZLj4YDtXmSZ5rJSYsmro/HYVCcfrvF4zPiIBHPRSLclw IaDWDEunLKPxPGtYV8etEj6hON3nlX5K98wEgVTKnzCMdZ1i2YtQTl4gLRjxoXTFkACw YsZw== MIME-Version: 1.0 X-Received: by 10.31.188.200 with SMTP id m191mr36041116vkf.102.1450292892984; Wed, 16 Dec 2015 11:08:12 -0800 (PST) Received: by 10.31.97.65 with HTTP; Wed, 16 Dec 2015 11:08:12 -0800 (PST) In-Reply-To: <20151216043720.GB22018@dendrobates.araler.com> References: <20151216043720.GB22018@dendrobates.araler.com> Date: Wed, 16 Dec 2015 11:08:12 -0800 Message-ID: Subject: Re: CDROM options in bhyve From: Anish To: Sergey Manucharian Cc: FreeBSD virtualization Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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:08:14 -0000 >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. On Tue, Dec 15, 2015 at 8:37 PM, Sergey Manucharian wrote: > Hello, > > Currently bhyve supports attaching a cd image when started. > Is there any way to "change" it when the guest is already running? > Is there a way to attach the host's CD/DVD drive? > > E.g. it would be useful to be able creating symlink to an image file, > and then re-point it to another one (currently does not work). > > Thanks, > Sergey > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" > 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 From owner-freebsd-virtualization@freebsd.org Thu Dec 17 08:29:53 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 0E37BA49107 for ; Thu, 17 Dec 2015 08:29:53 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id C57BA1133 for ; Thu, 17 Dec 2015 08:29:52 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id C219F20E868A for ; Thu, 17 Dec 2015 18:23:23 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id BC1C5282027 for ; Thu, 17 Dec 2015 18:23:23 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I-LLXNvn98nX for ; Thu, 17 Dec 2015 18:23:23 +1000 (AEST) Received: from Peters-MacBook-Pro.local (unknown [120.29.51.253]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 3CE1A2804E8; Thu, 17 Dec 2015 18:23:21 +1000 (AEST) Subject: Re: CDROM options in bhyve To: Sergey Manucharian References: <20151216043720.GB22018@dendrobates.araler.com> <20151216194045.GJ9504@debian.ara-ler.com> Cc: Anish , FreeBSD virtualization From: Peter Grehan Message-ID: <567270F8.80102@freebsd.org> Date: Thu, 17 Dec 2015 18:23:20 +1000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20151216194045.GJ9504@debian.ara-ler.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=B9IZqLZM c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=FFiZhP+5FKqqz3NPfpwndQ==:17 a=3FMX7HLxAAAA:8 a=6I5d2MoRAAAA:8 a=N659UExz7-8A:10 a=wUQvQvOEmiQA:10 a=D90FII_wfunWwiwOBJQA:9 a=pILNOxqGKmIA:10 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: Thu, 17 Dec 2015 08:29:53 -0000 Hi Sergey, > 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. bhyve doesn't offer any type of dynamic device reconfiguration at the moment. > 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). It should be a 'D' drive. Appended is a list from a w2k16 VM, with a FreeBSD ISO on the ahci-cd drive (so it isn't bootable). You can also view this graphically using Windows Administrative Tools -> System Information -> Components -> CDROM. later, Peter. C:\Windows\system32>diskpart Microsoft DiskPart version 10.0.10514 Copyright (C) 1999-2013 Microsoft Corporation. On computer: WIN2016 DISKPART> list volume Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --------- -------- Volume 0 D 11_0_CURREN CDFS CD-ROM 211 MB Healthy Volume 1 C Windows NTFS Partition 29 GB Healthy Boot Volume 2 FAT32 Partition 400 MB Healthy System From owner-freebsd-virtualization@freebsd.org Thu Dec 17 15:52:28 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 C4ABDA4A953 for ; Thu, 17 Dec 2015 15:52:28 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from mail-yk0-x22f.google.com (mail-yk0-x22f.google.com [IPv6:2607:f8b0:4002:c07::22f]) (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 8ABCC10C8 for ; Thu, 17 Dec 2015 15:52:28 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: by mail-yk0-x22f.google.com with SMTP id v6so23359068ykc.2 for ; Thu, 17 Dec 2015 07:52:28 -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=+QhABTSfaXz3HDQ3OYHseaEMS8vIq0vOvIpAnqBsoY4=; b=dTIFeHxhzQmK++utzD6gY2zthU4wP8/xfrjlvhJuJpF6HzKKNT32KEF2OCnrOnh3m7 aWR2Njqwq+or9IjgPy7JNPLkEU2R6UOk/j/Sq1utKsTQnn1oqr8tOlABUpqD/yt+iNsX M9c4Yn37eJEilmug5Sxd1L38iO7mxnicKESG4X4735h6Ulfn2b+Abvxg7BHB2ru3BjyK xWCy/bbGqvu+aKFfLBPQG5geOer3RFhUtIBRreboBO7kxroED+lQmkFlSlkmep5N2RUd BXOE+d/dnkBBMV03U3sKzZgQjPPTMdSKuF3mvg/vYBjQZI0q1qtHSBNFidGAcsrF3ZMR 6hYw== 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=+QhABTSfaXz3HDQ3OYHseaEMS8vIq0vOvIpAnqBsoY4=; b=l2WdIa09CKE7wTHF606EVNVWDO8vVtOgG3btymE6Nci/zw/skrU61EmJoNmC09ylGi serJawD873vVZQNE7YeOU6aQ1+FO7IhdZ6PGQ6mV71FSH+msvRWqX92c5DwBdAzBBPB4 zG8DQNz5eUe+PyZeqxqs20sRBNUMoGKEBTUn8zcaOM0m8u8T/0vWIp9MhdyOZsX2iELh WKD37AIEF1O6F8lvXqfqTIY9xbMtfAdOf+2Q5lKxUKocXH+D8OiQOEtqX/3xLwjZRyJW sEiyGAsYSYdsZ82vuoEWwvwUa/o/a/PLUNhlZJQeIqbKGkXl7+uJfS/aBI+FupVNh35E qmew== X-Gm-Message-State: ALoCoQkxpcc7GwXCtuoAUbJXs0jEneQZdwuzYX0q6gz+BtYxuudKysATvbUIbJRtFof3A3bc8dMzDC/CctDA1tTg7wPyPshN5g== X-Received: by 10.13.226.20 with SMTP id l20mr18395105ywe.164.1450367547404; Thu, 17 Dec 2015 07:52:27 -0800 (PST) Received: from debian.ara-ler.com ([50.243.135.133]) by smtp.gmail.com with ESMTPSA id g128sm10812279ywf.13.2015.12.17.07.52.26 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 Dec 2015 07:52:26 -0800 (PST) Date: Thu, 17 Dec 2015 08:52:24 -0700 From: Sergey Manucharian To: Peter Grehan Cc: Anish , FreeBSD virtualization Subject: Re: CDROM options in bhyve Message-ID: <20151217155224.GA3487@debian.ara-ler.com> References: <20151216043720.GB22018@dendrobates.araler.com> <20151216194045.GJ9504@debian.ara-ler.com> <567270F8.80102@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <567270F8.80102@freebsd.org> 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: Thu, 17 Dec 2015 15:52:29 -0000 Hi Peter, Excerpts from Peter Grehan's message from Thu 17-Dec-15 18:23: > It should be a 'D' drive. Appended is a list from a w2k16 VM, with a > FreeBSD ISO on the ahci-cd drive (so it isn't bootable). You can also view > this graphically using Windows Administrative Tools -> System Information -> > Components -> CDROM. I think I haven't expressed my thoughts properly. Everything is OK on the guest side. The cdrom device is working fine in both Linux and Windows guests. My original question was about changing the cdrom image in the host when the guset is up and running - to make the guest seeing a new disk in the virtual drive. That's why I thought Anish mentioned devices created in the host system (vtbd0), but I was wrong. I was thinking about an idea to use a symlink to an .iso file in the host before the guest is booted, then, if needed, to re-point the symlink to another .iso file. But that doesn't work, of course. Thanks, Sergey