From owner-freebsd-virtualization@freebsd.org Sun Aug 9 09:12:30 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 9E40B99891F for ; Sun, 9 Aug 2015 09:12:30 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::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 34E90173D for ; Sun, 9 Aug 2015 09:12:30 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: by wijp15 with SMTP id p15so103015389wij.0 for ; Sun, 09 Aug 2015 02:12:28 -0700 (PDT) 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 :content-type; bh=v1vm9fm1TlGcbB50O7i75x3aPlUhYXnFVcjfgjVri+s=; b=A+Zp9jKo7IPGjlkFxa4JQtJsyjM+m/ORYfg0rak0RjzM0Su/6rn6RALjF1GbqsgvHo UWMsVBs+H4ZDTZbJR9P8l8TL08fdlEYS/1aksvn/Bpa0nAzcABe8V18xp5zvgHMjEOb7 /cY+M02aFj9fWJjGyLbGuzgmbtVThSUfbUDz30rRLxURQK2R/F8jm57o2jYbRl8bccrf xNK08C7/EIqrJbq+odpYmYzA5tXxrFYIabnUmDijvc3WyoHGJuWsNhBXfWvkzuKiwH8F HyZMTTZsXBaojmJDQRV2MEFdPi1akR+vIFwYtd1+U3jaxNMCBQqxfFzN2WmcAFpta9Yf nKmg== MIME-Version: 1.0 X-Received: by 10.180.20.198 with SMTP id p6mr14216897wie.38.1439111548525; Sun, 09 Aug 2015 02:12:28 -0700 (PDT) Received: by 10.194.115.3 with HTTP; Sun, 9 Aug 2015 02:12:28 -0700 (PDT) In-Reply-To: References: Date: Sun, 9 Aug 2015 11:12:28 +0200 Message-ID: Subject: Re: FreeBSD 10.2 RC2 under Windows 10 Hyper-V From: "C. L. Martinez" To: "freebsd-virtualization@freebsd.org" 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: Sun, 09 Aug 2015 09:12:30 -0000 One more question about this topic. Is it possible to setup release 10.2 rc3 as a generation2 VM with secure boot disabled?? On Friday, August 7, 2015, C. L. Martinez wrote: > On Fri, Aug 7, 2015 at 9:21 AM, Wei Hu > > wrote: > > What is your Hyper-V version, 2012R2, 2012 or earlier? UDP offloading is > not working > > Properly on 2012 and earlier Hyper-V. I committed a patch r286058 to > 10.2 release branch on July 30th to disable UDP offloading on these > releases. It might not be in RC2, should be in the upcoming RC3. > > > > Also is it working on any other 10.x releases on Hyper-V? > > > > Thanks, > > Wei > > > It is a Windows 10 Enterprise host. Some time ago, I was used Windows > 2012 R2 host and i need to disable tso and rx and tx checksums ... > > But this is a Windows 10 host ... > From owner-freebsd-virtualization@freebsd.org Sun Aug 9 17:05: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 2B66899885A for ; Sun, 9 Aug 2015 17:05:23 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::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 B75F398A for ; Sun, 9 Aug 2015 17:05:22 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: by wijp15 with SMTP id p15so110018645wij.0 for ; Sun, 09 Aug 2015 10:05:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=0nQyNUYKkOAw63ZEcvzmW2B15+vh3mz5QDzH05dyHZc=; b=Sidmi3M45HhbAT6OO4tsbR6j4z3tzSfXEJub24biB3bofhL47NIayA9u7imKYeLJCy /KklhJExTbcOYFVDqEVqfmL1C7VenlZwmbCIHQex+GNNzcXU3rvQ+GFU1+DU9lG/6/iF vE1UhYFbuL5jxE3Z1JdK4RXQ8MPLhtr6qdg5ueFdCBbTjrtNLk0Yq5Mnq0ip1Z/YAemF buW85+NytOZNvFwti1kX3QKP+ub6i7SqqQch6YVjZMsf+QzXto028OOP5EGefIEUPrVo AlLFCQZ541VjpZYYDz7Lcx0OB2J/6s+Yv2HL9IeTrIDOV2WIBWNuKHyIwjIGMO21aJjJ FUew== X-Received: by 10.194.250.69 with SMTP id za5mr35941055wjc.90.1439139921236; Sun, 09 Aug 2015 10:05:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.115.3 with HTTP; Sun, 9 Aug 2015 10:04:41 -0700 (PDT) In-Reply-To: References: From: "C. L. Martinez" Date: Sun, 9 Aug 2015 19:04:41 +0200 Message-ID: Subject: Re: FreeBSD 10.2 RC2 under Windows 10 Hyper-V To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=UTF-8 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: Sun, 09 Aug 2015 17:05:23 -0000 On Sun, Aug 9, 2015 at 11:12 AM, C. L. Martinez wrote: > One more question about this topic. Is it possible to setup release 10.2 rc3 > as a generation2 VM with secure boot disabled?? > > > On Friday, August 7, 2015, C. L. Martinez wrote: >> >> On Fri, Aug 7, 2015 at 9:21 AM, Wei Hu wrote: >> > What is your Hyper-V version, 2012R2, 2012 or earlier? UDP offloading is >> > not working >> > Properly on 2012 and earlier Hyper-V. I committed a patch r286058 to >> > 10.2 release branch on July 30th to disable UDP offloading on these >> > releases. It might not be in RC2, should be in the upcoming RC3. >> > >> > Also is it working on any other 10.x releases on Hyper-V? >> > >> > Thanks, >> > Wei >> > >> It is a Windows 10 Enterprise host. Some time ago, I was used Windows >> 2012 R2 host and i need to disable tso and rx and tx checksums ... >> >> But this is a Windows 10 host ... Ok, more info about FreeBSD 10.2 RC3 relase under Hyper-V: a) Generation2 VM doesn't works (I assume that it is expected) in Windows 2012 R2 and Windows 10 Hyper-V hosts (both fully patched) b) PF rules doesn't works when freebsd runs as a virtual firewall under Windows 2012 R2 and Windows 10 Hyper-V hosts (both fully patched). At this point, any idea how goes wrong?? Thanks. From owner-freebsd-virtualization@freebsd.org Mon Aug 10 00:32:40 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 6365B99E9FE for ; Mon, 10 Aug 2015 00:32:40 +0000 (UTC) (envelope-from kyliel@microsoft.com) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0141.outbound.protection.outlook.com [207.46.100.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C118EA26 for ; Mon, 10 Aug 2015 00:32:39 +0000 (UTC) (envelope-from kyliel@microsoft.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=vU2w+zsw9I1PyDUyyE18VDBKHHU18W36iqY+HJs09OE=; b=HJDfagUuXk07cLDPef29nlmRrChCuuUwP7g8n2EwELuebRmTdJHQwavdLca6ZraL/AgMl7NE47gVcvxct77YMyPdpTwmosw09Qy+kcZGuTdXxg28vfHrHd2OuayYyf2Ek49j35GmNlP2bIyC0xPaOCswQDm1RVsipKoTx6z6PMw= Received: from BY2PR03CA008.namprd03.prod.outlook.com (10.255.93.25) by BL2PR03MB177.namprd03.prod.outlook.com (10.255.230.143) with Microsoft SMTP Server (TLS) id 15.1.231.11; Mon, 10 Aug 2015 00:32:29 +0000 Received: from BL2FFO11FD033.protection.gbl (10.255.93.4) by BY2PR03CA008.outlook.office365.com (10.255.93.25) with Microsoft SMTP Server (TLS) id 15.1.225.19 via Frontend Transport; Mon, 10 Aug 2015 00:32:28 +0000 Authentication-Results: spf=pass (sender IP is 206.191.230.36) smtp.mailfrom=microsoft.com; gmail.com; dkim=none (message not signed) header.d=none; Received-SPF: Pass (protection.outlook.com: domain of microsoft.com designates 206.191.230.36 as permitted sender) receiver=protection.outlook.com; client-ip=206.191.230.36; helo=064-smtp-out.microsoft.com; Received: from 064-smtp-out.microsoft.com (206.191.230.36) by BL2FFO11FD033.mail.protection.outlook.com (10.173.161.129) with Microsoft SMTP Server (TLS) id 15.1.243.9 via Frontend Transport; Mon, 10 Aug 2015 00:32:26 +0000 Received: from HKNPR30MB018.064d.mgd.msft.net (141.251.57.150) by HKNPR30MB020.064d.mgd.msft.net (141.251.57.152) with Microsoft SMTP Server (TLS) id 15.1.231.11; Mon, 10 Aug 2015 00:32:17 +0000 Received: from HKNPR30MB018.064d.mgd.msft.net ([141.251.57.150]) by HKNPR30MB018.064d.mgd.msft.net ([141.251.57.150]) with mapi id 15.01.0231.011; Mon, 10 Aug 2015 00:32:17 +0000 From: Kylie Liang To: "C. L. Martinez" , "freebsd-virtualization@freebsd.org" Subject: RE: FreeBSD 10.2 RC2 under Windows 10 Hyper-V Thread-Topic: FreeBSD 10.2 RC2 under Windows 10 Hyper-V Thread-Index: AQHQ0oOM10VkjWMgik+4sBb6gEls554D5e+AgAB81uA= Date: Mon, 10 Aug 2015 00:32:16 +0000 Message-ID: <22dfe504f7ad4e4db11ee08438c8cfbf@HKNPR30MB018.064d.mgd.msft.net> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [139.227.87.4] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD033; 1:bFfugNzkrBxkVNpTdqdln/WZgzWyNGJUPIt0iJ0fXlEhpOirAvdE8hBHYpCk9Li8NIWREJkQHMggRUaO91NaPSYEJmC8mY1SFX4ekVEfkFpxyaajDka7lF1azt2llhTx7gjA6etpGxKDl+2VnxiK1jFiSQfbXVV0s2xB6/6/o4OOI5sSb3VW7mf69PTBiIG5g2FEosxLCEPH7qUeLL6oTuTJ1AIyihfYRzeUMxQDxBxlNJ3Y7dQYV6iu0rirp4IkfZZLog1bwXPCh0rqCnzi6A== X-Forefront-Antispam-Report: CIP:206.191.230.36; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(438002)(13464003)(24454002)(377454003)(3905003)(164054003)(199003)(189002)(68736005)(2501003)(106116001)(2656002)(24736003)(47776003)(189998001)(15975445007)(16796002)(10090500001)(10290500002)(64706001)(77156002)(10400500002)(92566002)(93886004)(81156007)(23726002)(5005710100001)(62966003)(69596002)(19580395003)(33646002)(86146001)(102836002)(46406003)(106466001)(50466002)(5001920100001)(2900100001)(5001860100001)(66066001)(76176999)(50986999)(86612001)(2950100001)(19580405001)(107886002)(108616004)(87936001)(86362001)(5001770100001)(575784001)(5001830100001)(6806004)(5001960100002)(4001540100001)(54356999)(97736004)(5003600100002)(97756001)(46102003); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB177; H:064-smtp-out.microsoft.com; FPR:; SPF:Pass; PTR:ErrorRetry; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB177; 2:4FvaDbuV/jydRkbIaAwR0zwwDmJKNAlkAtl0HoZcNNf1z+8ZqlJn3w1GhKUrDSeVgy/JfYV+qejs5M45VrvfeaHBFM9FYBpVg3bPClFV1izPrm+q23VRdJeEETwsU7XhpMbqSeJjR/mX87mdtwNb7tqqNqxp3I3IsIaxtknMhzs=; 3:FFHNuGKiAnEdiKndM5UvKC0LvmPDZswFNF/Jx0PfmAwae9ORDEahpfaS8qsfQ3h3FBsVkSgDl2lQQfl8CqPL8dTJGblG8xNwkREpWBLAr7R3N40Z86kCRR2ygwL2/eRbdZV5nhH5Id6ZkB/fA8S6BH3p47ybx+G2CDBRQiN+J9+yxnP3RHXEAJpyvwy49PDVe9cQRd9dhp4JqPCE1aGmNjI3T2dBDVj5uZ41oenzzh1qB5UeGREKCZvJTulKMGuWhnRo6rcGMixsIYQUufL4+w==; 25:8OX29IeIft3+40w3o/XOWWsfK0+NsIAvdakfJwCTiSj+TvHDXVd0hPEUJP85y2RTNb+cg8YZQyT85HzajAax6fkGg0mZh78PFPJTyYTMeLqxO+MzVV+966PdNrydCNHk9LgfB+c7Hou7MsjqEulK97SsT4dIL8xpA7xPq+7bdHXdjdY5g1R9Zw1xPn2LYnp8yXZs6qoK9IN8vko6hXHhGMBHUhhgkRo/EUvPegZDFOPVeErQbwKIx3V1axOu0c6V X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(42134001)(42139001); SRVR:BL2PR03MB177; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB177; 20:WO5J2SXqMifwtKDhBVY67rp5bdZGpQ58m3v/NJGgOF13aco+5Cz9bg29yJ3Sh+PESQwNoNo0QCE9wdPWngcqzbOirZoXFTDEXN/3L0gZ4i4tMVvTdU7sHYsXwN+IeQhA5yKXZGfc4t7fnGY90ZWSAi/fiFNjS/UB6TVWVswhly2b8yiBUc6DdPcC4Dd6j3uwgIS+L+9dLOTsteBanjJTWpMDf2/DZKfdF/ORaat8eWi6lzG5rbrAGrXGlE3Bt2YrHMzVoC0LG205F9PPp0aVwfcP8NYT5G3tK31d0aKlFNwDzHUHdv0kbh0jA7NntIMcP/dMlINgwHFYVLFXYnSjeTVCoYH66B4W9eFA+qdSa0ymhlKdB+3zxsIUiLqD8TiIJBqkPYAIDScpnc7S9p1itahh2sE+Bd9iIR9Yn/OIqcTD0TMRGSUOD3ycfLxJbTDUT86mOFozxQkYumJwGw41mSiGK0XSYUWorc2CkUu40Ru/hdiDaVfj1LvhqgS9plfX; 4:HBgX0j3ePQWcbjuxr7fcVOaEr5XJRKDTHc3d0q8vlbNQP1OB01lW/l54QkJ0zGPgmWy3mw68DcDLSbcR/Cnkz0GlEjQ/RpV0ZgCaXQ4lVxUSNCF/B0J0JcUa236XGgB++4mxBtMxVZMePhppq/7PhO4VWnyWm2VHL5plFhjdcmL/Vqnw/V05ZsoMleBY9l82mJ4pF4TMmD0Lzrmbm3BsVX4w/kqLaxvrw/jIt8B7d86XgzMM3N0jWSN2FuR8fFKIQPpw0jd7Fg6CZ5Gl67+TZyUe/I5z7KGSkZvIGfP9owJdIuY0LuGlMik2UkOr3ciG X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(108003899814671); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BL2PR03MB177; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB177; X-Forefront-PRVS: 06640999CA X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL2PR03MB177; 23:OoZHPpdXTbQf4ilWFvf/ryZtGE9/QslvC/lbwXK2k0?= =?us-ascii?Q?cbABOML3F0UfxMzg4F8/Pr/xUdW1znfhsdvQ1Zc0Iil/CIGT4TXh+Q7YuBxg?= =?us-ascii?Q?5Fw2gV4//QzXa4w8TAMxG/HUElcpVia7lsq0UE93IfeBEUAi0TbFJZbGZrB9?= =?us-ascii?Q?9FXCSCc7Tzvcdzo7GP1pLjLcDhKa1GKpz/qnL0ZDC9y+fnLMmwTh17DYzA9Q?= =?us-ascii?Q?N8U/ArUvp5G20kcKA9ibX4Xk3AsdeMSSy+gDDupDxmaCAkmB7n+2bOFdroSm?= =?us-ascii?Q?wzHotURXbCdDGrJKTFkBcvByFQT57oAgmpyonLNM72fWOc0fH6e3GI/6JRYM?= =?us-ascii?Q?uBIR1dpw0HQ3BlvSS8lLsdHEuI5AsJ9rhUoA1PXLKXj0bRV26Ge53ifilFLJ?= =?us-ascii?Q?sTk0FjfSlpqCNueZmcJvEdsJprS4qo2SQfc/Uzz7p9znLokIk1KTU83Kr+NV?= =?us-ascii?Q?o+Q4r7e+1ahFmM4FddLhirkMsy1NP2nN9DygAw+/lEcrPn++vWUSqB21Cvj6?= =?us-ascii?Q?7tzfcFJuzPqFpqMuw/zEBSdimVE7wvHD6KbuVK5/Ml/YKJAFdCCzObPzV0r4?= =?us-ascii?Q?PsUWWmoFsA27hMPvZdBhO6qd31kGthguCoizQm34udoRSHHUVk9cTVV0TtT4?= =?us-ascii?Q?EVyDpq684YCzgq9DQg7gYinas7JWNUsYYbTogyn0TR+9kdf7Qa+DBlBRPL1w?= =?us-ascii?Q?K9eqWhrwkilJsNSmpWmIOaCQqaCKqN71r0dsPLZTGGJFL1sl68pKHXsfc7K5?= =?us-ascii?Q?d4hLxzIz6oJIsRMGm78Tgg7NDjErUVz+4EYIqhyBknj7CxGibmTWolYMbrWB?= =?us-ascii?Q?YDq9POFb5PHtJkjA0RyQ7PovkCl2rRif/QoQy9+lp56z1nL9hBQ37Mf0OcoK?= =?us-ascii?Q?CWyfd4SahXYLzbsgraUijYIXFwugFiMfqpC2xi6FHhiDgtG5f1yGmCYNMSzK?= =?us-ascii?Q?hoURGbkHtbwGXFdt8M3QhamUvBXyLJPlUA58hKAHbagrSy++Ha9nQFE2Rc1z?= =?us-ascii?Q?3l1SZf2OKDgFwckygU3joasc4BXcQy2F5Yyis/D2ZhnwqvwNTuMaUujXJDxK?= =?us-ascii?Q?5to9Y43WOq9B/PETO2D49Pac4wvYLQ/bWkew+se6lhEDORJoM662TDDV+Khv?= =?us-ascii?Q?7jALfVirbmcE3XqBEe9tky7uaUwbFBScBXErKebYivgliVC88EdNNOc6etuf?= =?us-ascii?Q?/ruNEGEjCxm6Awmh/mpAXHoaz6bEG2EVX6TQ+n2D+tCHT5kHSM8fO6wxs0ha?= =?us-ascii?Q?g7Y++Mw68NzPLyGt0eI2P9gvHr6DAJmJVLPNK9RSlkdf2i4LI+XtFnWOzX7S?= =?us-ascii?Q?k+Ue7ofU3DjVdDu5U+nASsWzuzmhy4mxSs6gKJttqb8nEikksA1DoGeUhwEY?= =?us-ascii?Q?CgpIroS9pPHkVMxcqJidRdho9tmZ7SKPsmI9KyHne7a/cdU81y2F/tWVaHFV?= =?us-ascii?Q?bbAOQrC7CVq/2HfZVGJsVWEvuWBxN8jczH6pRRk9JU4EKjvbJg6hbB/Fkbjo?= =?us-ascii?Q?ldAzriUMjHpOnJgYCMioQ5dnIobI1QpDUh4ckBgxLc/5ipvZGm+IHPRmJGl4?= =?us-ascii?Q?1Dse+5sTpDp7uXC1vyIZAtNqBRnHY/rFWcJ8woDjuVxi2/8qNK+LXuvyxP9r?= =?us-ascii?Q?OLGMUt7gN+RMcryIsXbQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB177; 5:6zvztgk6fnv38Os2CKh0D/zAuqaR9vfGr82xXilTr1czS2wg+4izZiMOpdqBidiV9g3J2me8JapDVZXfWQO1aWfQJKP+VE1T5SlZl+RRIeJi30sBxs/BfOIIdAwiYiz69gKeb+Yp+zLrN6QdXT9rUQ==; 24:qJ4ZAHaXTe9EcbpTylKmIBfuQ9OUzSExijPmqd9xCk2bd1VtBruBifM1D9qZTrSWXpX9bbuTkYuUy5p2XykbLCTWw6mqPuIV9Vug903V2tU=; 20:EiB8els9tnYlJ8qTcCBdoieXeXQAdUWofL6KIY8OfVbmpzEWjcEeFIb5b5XPn4uSqj+T2vfO7LsbvV5tOun7Xw== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Aug 2015 00:32:26.6726 (UTC) X-MS-Exchange-CrossTenant-Id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=72f988bf-86f1-41af-91ab-2d7cd011db47; Ip=[206.191.230.36]; Helo=[064-smtp-out.microsoft.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB177 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, 10 Aug 2015 00:32:40 -0000 Gen2 VM is not supported for FreeBSD guest yet. Could you please share me w= hy do you need this feature to help us prioritize it? Thank you. -----Original Message----- From: owner-freebsd-virtualization@freebsd.org [mailto:owner-freebsd-virtua= lization@freebsd.org] On Behalf Of C. L. Martinez Sent: Monday, August 10, 2015 1:05 AM To: freebsd-virtualization@freebsd.org Subject: Re: FreeBSD 10.2 RC2 under Windows 10 Hyper-V On Sun, Aug 9, 2015 at 11:12 AM, C. L. Martinez wrot= e: > One more question about this topic. Is it possible to setup release=20 > 10.2 rc3 as a generation2 VM with secure boot disabled?? > > > On Friday, August 7, 2015, C. L. Martinez wrote: >> >> On Fri, Aug 7, 2015 at 9:21 AM, Wei Hu wrote: >> > What is your Hyper-V version, 2012R2, 2012 or earlier? UDP=20 >> > offloading is not working Properly on 2012 and earlier Hyper-V. I=20 >> > committed a patch r286058 to >> > 10.2 release branch on July 30th to disable UDP offloading on these=20 >> > releases. It might not be in RC2, should be in the upcoming RC3. >> > >> > Also is it working on any other 10.x releases on Hyper-V? >> > >> > Thanks, >> > Wei >> > >> It is a Windows 10 Enterprise host. Some time ago, I was used Windows >> 2012 R2 host and i need to disable tso and rx and tx checksums ... >> >> But this is a Windows 10 host ... Ok, more info about FreeBSD 10.2 RC3 relase under Hyper-V: a) Generation2 VM doesn't works (I assume that it is expected) in Windows 2= 012 R2 and Windows 10 Hyper-V hosts (both fully patched) b) PF rules doesn't works when freebsd runs as a virtual firewall under Win= dows 2012 R2 and Windows 10 Hyper-V hosts (both fully patched). At this point, any idea how goes wrong?? Thanks. _______________________________________________ freebsd-virtualization@freebsd.org mailing list https://na01.safelinks.prot= ection.outlook.com/?url=3Dhttp%3a%2f%2flists.freebsd.org%2fmailman%2flistin= fo%2ffreebsd-virtualization&data=3D01%7c01%7ckyliel%40064d.mgd.microsoft.co= m%7c8a8cc24701ff45603ed908d2a0dcba5a%7c72f988bf86f141af91ab2d7cd011db47%7c1= &sdata=3DjSDtvu7wqqWxqerCTuC%2bSneMOzRSixbq5gicgkpMT5M%3d To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebs= d.org" From owner-freebsd-virtualization@freebsd.org Mon Aug 10 04:46:26 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 F0E7C99D1D0 for ; Mon, 10 Aug 2015 04:46:26 +0000 (UTC) (envelope-from weh@microsoft.com) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0131.outbound.protection.outlook.com [65.55.169.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 755D589F for ; Mon, 10 Aug 2015 04:46:25 +0000 (UTC) (envelope-from weh@microsoft.com) Received: from BY1PR03MB1435.namprd03.prod.outlook.com (10.162.127.153) by BY1PR03MB1466.namprd03.prod.outlook.com (10.162.210.12) with Microsoft SMTP Server (TLS) id 15.1.225.19; Mon, 10 Aug 2015 04:46:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=mgtyVpTCeiBa8WYgU4kFMS7GmxxooRcVaJ0R8TDJ8S0=; b=RkoQVRouv12GtsEG9na1KNJcIc+oaIzntP+a737fHyc/epMWAbxhaWg7kz66Ol7Rv9DM+nVAPD4YfaFbiNr7oMMSoUn0UpQVu3WS6hoMElYfnOr8fkmi6RS7doMWKEDYk+8yy8RdqLSdkEra7i0GanseOP2fcq1rBzp5D/i720w= Received: from BY1PR03MB1434.namprd03.prod.outlook.com (10.162.127.152) by BY1PR03MB1435.namprd03.prod.outlook.com (10.162.127.153) with Microsoft SMTP Server (TLS) id 15.1.225.19; Mon, 10 Aug 2015 04:46:16 +0000 Received: from BY1PR03MB1434.namprd03.prod.outlook.com ([10.162.127.152]) by BY1PR03MB1434.namprd03.prod.outlook.com ([10.162.127.152]) with mapi id 15.01.0225.018; Mon, 10 Aug 2015 04:46:16 +0000 From: Wei Hu To: "C. L. Martinez" , "freebsd-virtualization@freebsd.org" Subject: RE: FreeBSD 10.2 RC2 under Windows 10 Hyper-V Thread-Topic: FreeBSD 10.2 RC2 under Windows 10 Hyper-V Thread-Index: AQHQ0G8WC6Z2o5t69U6YdiysJdYTSJ3/t9YAgABnbACAAAG+QIAADVeAgAM30QCAAIPwgIAAux2g Date: Mon, 10 Aug 2015 04:46:15 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=weh@microsoft.com; x-originating-ip: [167.220.232.8] x-microsoft-exchange-diagnostics: 1; BY1PR03MB1435; 5:LG237VMsguJv4fqgJxcfJ/htHdBEbPFV9J6SbIf24If+6PbGML7s2Bb/cbjM8ZvSqGCogGK3X2q9tR6oWeDlVOPOX926L6GZ+Yn+544cm2KPU1Buo6JH+ZNWMU/XY63kos/GSM2flfk7Nf9pvTFwPg==; 24:chDbrP+Ap3bksu/U9tHZj29WvJUW3DyAVffgTkVvBcGiOz8wkf2XaQisW6Qyt7K35QUOq7Q51DHG/t9hDYlfRlipv8FqLvmjZHmPP8l/uJg=; 20:hM22/V5voC87Ubx4I+ZtqonlkcAFz1+PAfSOwmS7abTAmZkQ+IwNEGn+6Kfxa2eGIz5bwbZUeU+4fNbrFy6I9A== x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(42134001)(42139001); SRVR:BY1PR03MB1435; UriScan:; BCL:0; PCL:0; RULEID:(42134001)(42139001); SRVR:BY1PR03MB1466; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(108003899814671); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY1PR03MB1435; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1435; x-forefront-prvs: 06640999CA x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(164054003)(189002)(24454002)(13464003)(199003)(377454003)(66066001)(92566002)(2501003)(5001960100002)(64706001)(10090500001)(107886002)(189998001)(106356001)(77096005)(76176999)(101416001)(50986999)(5003600100002)(40100003)(33656002)(62966003)(76576001)(86612001)(99286002)(93886004)(4001540100001)(106116001)(122556002)(77156002)(105586002)(15975445007)(2950100001)(81156007)(68736005)(54356999)(5001860100001)(5001920100001)(102836002)(2900100001)(46102003)(5002640100001)(74316001)(87936001)(2656002)(575784001)(19580405001)(5001830100001)(19580395003)(10290500002)(5001770100001)(10400500002)(86362001)(5005710100001)(97736004); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR03MB1435; H:BY1PR03MB1434.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Aug 2015 04:46:15.9720 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1435 X-Microsoft-Exchange-Diagnostics: 1; BY1PR03MB1466; 2:XwvVy812NGd/nirhTKtIJDPn9r5+anxUHhdG6n2MUbjUY5uuW24jhd/uqvtiUMJUwNWlXup1HE9sgoW1yOe1T47vYopNHdErop+Ht5iyCarJYqzrWaIr86NpcwZ82JesjKMpoZ83gfId3cZqRaiFnEyNylrdbbV3KoORVODuLyw=; 3:a6N303+df5UutRgGZYopXQgPm91TGXmBQ8Icel8BgJVEOem5SUZfeXUf0Bd6VtPDTDg3DvQwdVYnbJI2i7pOrnBNGDmgx9/5cO4AwemlZ3Nhz9YSYOds2EZakoP2fYbW+9bB7WJ+FlLqZQsqeh348k8Zj4HYqx3oHFcr7v+Zk7X+3ynnzAWR9AOSC/49FK29; 25:+lzFbQLgO2QNhPad9L6SsLDnymVVBFWXMEXPpCDDd98kWAjJtMEno25ooAfAWPV8ZiiObEKgHoHO1KMggxWe70ARlyjFAObh66p/bzOtdiKSOWa07AHW6FpoPPAoupHJ6ni6r6zPmTR2Ua4mKBAb5U+hb0qKvsNurfAmcehlsQp0pLDOwg3NsUWuaJvkyhVGLZKU5QvEix72DHOi6Gec62PlPYRDejSP+SnNBLVdjcLSYr/NjcoLK56uaDOHJ8Hjv5nyG5cIXbdmdL3sVtn6IA==; 23:bBGGzmk7DTq2oo43ONCUS2jFSX2gVKu6STxrghLKipEd+Dqni+ukEtgR3yqcEwU+xt/BkgqgA1pJK2qCBlSNuxbsf3p4iO+/27I3N5KcTqazexWIE7ZCEBXkKutPefxCqPbiwlR3jKnELg8PjfjHHKwpKsuEjgeGF6+akObf3q/AvIukFlw253fb4Ahgh4YuvxSY9xdHVpeJpb8SdAJvYEMCXrKX1a22gJJT+FyjTU56kUDgvgJlzFQDxHSrJQu8 X-OriginatorOrg: microsoft.com 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, 10 Aug 2015 04:46:27 -0000 Hi, Does FreeBSD 10.1 on 2012R2 work in your case? If you can provide detailed = reproducible steps, I will try to set it up and troubleshoot in house. Thanks, Wei > -----Original Message----- > From: owner-freebsd-virtualization@freebsd.org [mailto:owner-freebsd- > virtualization@freebsd.org] On Behalf Of C. L. Martinez > Sent: Monday, August 10, 2015 1:05 AM > To: freebsd-virtualization@freebsd.org > Subject: Re: FreeBSD 10.2 RC2 under Windows 10 Hyper-V >=20 > On Sun, Aug 9, 2015 at 11:12 AM, C. L. Martinez > wrote: > > One more question about this topic. Is it possible to setup release > > 10.2 rc3 as a generation2 VM with secure boot disabled?? > > > > > > On Friday, August 7, 2015, C. L. Martinez wrote: > >> > >> On Fri, Aug 7, 2015 at 9:21 AM, Wei Hu wrote: > >> > What is your Hyper-V version, 2012R2, 2012 or earlier? UDP > >> > offloading is not working Properly on 2012 and earlier Hyper-V. I > >> > committed a patch r286058 to > >> > 10.2 release branch on July 30th to disable UDP offloading on these > >> > releases. It might not be in RC2, should be in the upcoming RC3. > >> > > >> > Also is it working on any other 10.x releases on Hyper-V? > >> > > >> > Thanks, > >> > Wei > >> > > >> It is a Windows 10 Enterprise host. Some time ago, I was used Windows > >> 2012 R2 host and i need to disable tso and rx and tx checksums ... > >> > >> But this is a Windows 10 host ... >=20 >=20 > Ok, more info about FreeBSD 10.2 RC3 relase under Hyper-V: >=20 > a) Generation2 VM doesn't works (I assume that it is expected) in Windows > 2012 R2 and Windows 10 Hyper-V hosts (both fully patched) > b) PF rules doesn't works when freebsd runs as a virtual firewall under > Windows 2012 R2 and Windows 10 Hyper-V hosts (both fully patched). >=20 > At this point, any idea how goes wrong?? >=20 > Thanks. > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://na01.safelinks.protection.outlook.com/?url=3Dhttp%3a%2f%2flists.f= ree > bsd.org%2fmailman%2flistinfo%2ffreebsd- > virtualization&data=3D01%7c01%7cweh%40microsoft.com%7cd6a1eeb3889e4b > 8bfd4708d2a0dcbb0e%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=3D7l > VU2kmJZ1SrqLROcKXzM20R4waVSC5K5m3M39uHPxs%3d > To unsubscribe, send any mail to "freebsd-virtualization- > unsubscribe@freebsd.org" From owner-freebsd-virtualization@freebsd.org Thu Aug 13 05:45:38 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 D4C959A002E for ; Thu, 13 Aug 2015 05:45:38 +0000 (UTC) (envelope-from anupshendkar@gmail.com) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (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 75089EDD for ; Thu, 13 Aug 2015 05:45:38 +0000 (UTC) (envelope-from anupshendkar@gmail.com) Received: by wijp15 with SMTP id p15so243993446wij.0 for ; Wed, 12 Aug 2015 22:45:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=KFhj4wANiNaQcDKBihKHyOVdgo72GFqjsqiuW9sWg0Y=; b=OZfhcU75dcRP6aPjlrevAzXwfkKs/RMltZpxrU/KISrLuZSPPKJDmTVJ95e+Setqyh TXB5mLuKCFzJJcRgqAx0gR6OCvTEUoCRRmEtb64NnkDfEJ6XfIxGLA46e2TZKXSlo2aU 0NLfJ8GAOfWOCi9LKfzWxUOEKGh8B45Fr1whuTrxOkWG/yhXV1bek09wgb5N6RlfHq/f Izjr9RVCloVj38g4o11Ih6XjTp48t+egVoHB2lccS7kWbQuQfkhpA8ncGAGI5ocNZQ5m Ph3bKtuEsYr4B6Y+ZEf8H4l8vmJ6mouXV50iHWyvqM73SXPE4tErxCX0R73hGQFwbQXN wdkA== MIME-Version: 1.0 X-Received: by 10.194.6.37 with SMTP id x5mr82407382wjx.73.1439444737060; Wed, 12 Aug 2015 22:45:37 -0700 (PDT) Received: by 10.28.41.198 with HTTP; Wed, 12 Aug 2015 22:45:37 -0700 (PDT) Date: Thu, 13 Aug 2015 11:15:37 +0530 Message-ID: Subject: bhyve: Support for QCOW2 image format From: anup shendkar To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 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, 13 Aug 2015 05:45:38 -0000 Hello All, I would like to work on QCOW2 image format support for bhyve. At the moment, I have never been worked on FreeBSD before, it would be good if some one can help me to get started. I have previous experience of programming in systems environment. Past couple of days I have been reading few online documents about bhyve, I think it is very interesting project. Initially to get acquainted with the bhyve, I would like to start with something easier to accomplish. Thanks and Regards, Anup From owner-freebsd-virtualization@freebsd.org Thu Aug 13 12:05:22 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 685B29B8F35; Thu, 13 Aug 2015 12:05:22 +0000 (UTC) (envelope-from stefanogarzarella@gmail.com) Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::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 E730E3EF; Thu, 13 Aug 2015 12:05:21 +0000 (UTC) (envelope-from stefanogarzarella@gmail.com) Received: by lbbtg9 with SMTP id tg9so25905587lbb.1; Thu, 13 Aug 2015 05:05:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc:content-type; bh=Wo7YeQCElLIhMa1aboZCId2O99B+i00OD041wk52y3I=; b=ac3UDvZTiw3YEhmheaV+YM1LukHDdALGycr2g+6GP1rvgXpBBxugeGuCttgtI7NeGt agmQiUgzX4rfvhh5uGmkAGUSG2q+uCdsCO2OVCCbpWoL6Qqqil8pfY7LnWWCI0T2MT8x UG8hxGlNYoboZrdsSkfeuRN8IX8wMWKs6PU+629Hw5x8st0jKc1+2Ff0a9YY+ZIloDdK ucgtsyBwI4HT43vA2/4pKACAEw/LBCORkIWqQfXxGiheAFMzzpvihRrxENqawSKhPCqV SH+K9j6NXNaWJEu5NboSfNpDp/LzJH/Cufdz0wqyhMpA0kQCjqxCTlhBG03yYXZouDVJ FYyA== X-Received: by 10.112.209.106 with SMTP id ml10mr35727401lbc.112.1439467520126; Thu, 13 Aug 2015 05:05:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.216.140 with HTTP; Thu, 13 Aug 2015 05:05:00 -0700 (PDT) From: Stefano Garzarella Date: Thu, 13 Aug 2015 14:05:00 +0200 Message-ID: Subject: bhyve: fix bhyve warning CTASSERT To: freebsd-current , freebsd-virtualization@freebsd.org Cc: Neel Natu , Peter Grehan 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: Thu, 13 Aug 2015 12:05:22 -0000 Hi all, when I compile bhyve, I have the following errors from clang: pci_emul.c:750:2: error: unused typedef '__assert750' [-Werror,-Wunused-local-typedef] CTASSERT(sizeof(struct msicap) == 14); pci_emul.c:776:2: error: unused typedef '__assert776' [-Werror,-Wunused-local-typedef] CTASSERT(sizeof(struct msixcap) == 12); pci_emul.c:928:2: error: unused typedef '__assert928' [-Werror,-Wunused-local-typedef] CTASSERT(sizeof(struct pciecap) == 60); I fixed them in this simple way: diff --git a/bhyverun.h b/bhyverun.h index 87824ef..7ac3aa9 100644 --- a/bhyverun.h +++ b/bhyverun.h @@ -32,7 +32,8 @@ #ifndef CTASSERT /* Allow lint to override */ #define CTASSERT(x) _CTASSERT(x, __LINE__) #define _CTASSERT(x, y) __CTASSERT(x, y) -#define __CTASSERT(x, y) typedef char __assert ## y[(x) ? 1 : -1] +#define __CTASSERT(x, y) typedef char __assert ## y[(x) ? 1 : -1] \ + __unused #endif Cheers, Stefano From owner-freebsd-virtualization@freebsd.org Thu Aug 13 15:37:24 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 38CA59A0D10; Thu, 13 Aug 2015 15:37:24 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-yk0-f173.google.com (mail-yk0-f173.google.com [209.85.160.173]) (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 F1FCFA03; Thu, 13 Aug 2015 15:37:23 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by ykay144 with SMTP id y144so44270195yka.3; Thu, 13 Aug 2015 08:37:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=ohOJSFwvFUhHop6mN5V9iKdspjwyxxdsT8OyPZQEqEM=; b=LUJacndxdpXB8auLjOCWrt8Bc08/NAnPxoN3LpZ5t6qvAAbJJ7GQkUEbiRQcfS9fpv KeiGqKQ2OM9wDzsc0St3k+JS/+kxJ7Pg0m/Z/xrPZuP0+r0mgecUxDMBAUyNtYarUx1z 7JJZv2LgkEhh3Hn5cUuYWNp5jG1vr3LjvH5PpPR+Q5QN3gR05FAWSmGCIoH2mnLG+iwE QT9W0E2NP+yI6gLks9jrH3469Huam6iEgCxSN/8CmWe8yiHOgZRD5ub6KuSElBleYs2o /Gpl7L29KKA1l07j5sIGN+y77XILdzRCuHlI2O0eR2TzQ7HUx3nsPAKi8w7+CVFSwFSV dV5A== X-Received: by 10.129.83.131 with SMTP id h125mr40644308ywb.101.1439478744209; Thu, 13 Aug 2015 08:12:24 -0700 (PDT) Received: from mail-yk0-f176.google.com (mail-yk0-f176.google.com. [209.85.160.176]) by smtp.gmail.com with ESMTPSA id l68sm2260309ywd.49.2015.08.13.08.12.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Aug 2015 08:12:23 -0700 (PDT) Received: by ykdz80 with SMTP id z80so43699181ykd.2; Thu, 13 Aug 2015 08:12:23 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.170.142.132 with SMTP id j126mr40139570ykc.117.1439478743484; Thu, 13 Aug 2015 08:12:23 -0700 (PDT) Reply-To: cem@FreeBSD.org Received: by 10.37.10.67 with HTTP; Thu, 13 Aug 2015 08:12:23 -0700 (PDT) In-Reply-To: References: Date: Thu, 13 Aug 2015 08:12:23 -0700 Message-ID: Subject: Re: bhyve: fix bhyve warning CTASSERT From: Conrad Meyer To: Stefano Garzarella Cc: freebsd-current , "freebsd-virtualization@freebsd.org" , Neel Natu , Peter Grehan Content-Type: text/plain; charset=UTF-8 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, 13 Aug 2015 15:37:24 -0000 Better to just replace CTASSERT() with _Static_assert() while you're here. Best, Conrad On Thu, Aug 13, 2015 at 5:05 AM, Stefano Garzarella wrote: > Hi all, > when I compile bhyve, I have the following errors from clang: > pci_emul.c:750:2: error: unused typedef '__assert750' > [-Werror,-Wunused-local-typedef] > CTASSERT(sizeof(struct msicap) == 14); > pci_emul.c:776:2: error: unused typedef '__assert776' > [-Werror,-Wunused-local-typedef] > CTASSERT(sizeof(struct msixcap) == 12); > pci_emul.c:928:2: error: unused typedef '__assert928' > [-Werror,-Wunused-local-typedef] > CTASSERT(sizeof(struct pciecap) == 60); > > I fixed them in this simple way: > > diff --git a/bhyverun.h b/bhyverun.h > index 87824ef..7ac3aa9 100644 > --- a/bhyverun.h > +++ b/bhyverun.h > @@ -32,7 +32,8 @@ > #ifndef CTASSERT /* Allow lint to override */ > #define CTASSERT(x) _CTASSERT(x, __LINE__) > #define _CTASSERT(x, y) __CTASSERT(x, y) > -#define __CTASSERT(x, y) typedef char __assert ## y[(x) ? 1 > : -1] > +#define __CTASSERT(x, y) typedef char __assert ## y[(x) ? 1 > : -1] \ > + __unused > #endif > > Cheers, > Stefano > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-virtualization@freebsd.org Thu Aug 13 16:35:07 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 255019B877B; Thu, 13 Aug 2015 16:35:07 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DA3DAA92; Thu, 13 Aug 2015 16:35:06 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t7DGZ00U086838 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 13 Aug 2015 09:35:00 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t7DGZ0oM086835; Thu, 13 Aug 2015 09:35:00 -0700 (PDT) (envelope-from jmg) Date: Thu, 13 Aug 2015 09:35:00 -0700 From: John-Mark Gurney To: Conrad Meyer Cc: Stefano Garzarella , freebsd-current , "freebsd-virtualization@freebsd.org" , Neel Natu , Peter Grehan Subject: Re: bhyve: fix bhyve warning CTASSERT Message-ID: <20150813163459.GW68509@funkthat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Thu, 13 Aug 2015 09:35:00 -0700 (PDT) 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, 13 Aug 2015 16:35:07 -0000 Conrad Meyer wrote this message on Thu, Aug 13, 2015 at 08:12 -0700: > Better to just replace CTASSERT() with _Static_assert() while you're here. And make sure that sys/cdefs.h is included for compatibility w/ pre-C11 compilers... > On Thu, Aug 13, 2015 at 5:05 AM, Stefano Garzarella > wrote: > > Hi all, > > when I compile bhyve, I have the following errors from clang: > > pci_emul.c:750:2: error: unused typedef '__assert750' > > [-Werror,-Wunused-local-typedef] > > CTASSERT(sizeof(struct msicap) == 14); > > pci_emul.c:776:2: error: unused typedef '__assert776' > > [-Werror,-Wunused-local-typedef] > > CTASSERT(sizeof(struct msixcap) == 12); > > pci_emul.c:928:2: error: unused typedef '__assert928' > > [-Werror,-Wunused-local-typedef] > > CTASSERT(sizeof(struct pciecap) == 60); > > > > I fixed them in this simple way: > > > > diff --git a/bhyverun.h b/bhyverun.h > > index 87824ef..7ac3aa9 100644 > > --- a/bhyverun.h > > +++ b/bhyverun.h > > @@ -32,7 +32,8 @@ > > #ifndef CTASSERT /* Allow lint to override */ > > #define CTASSERT(x) _CTASSERT(x, __LINE__) > > #define _CTASSERT(x, y) __CTASSERT(x, y) > > -#define __CTASSERT(x, y) typedef char __assert ## y[(x) ? 1 > > : -1] > > +#define __CTASSERT(x, y) typedef char __assert ## y[(x) ? 1 > > : -1] \ > > + __unused > > #endif -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-virtualization@freebsd.org Sat Aug 15 00:53:18 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 04BD89B7407 for ; Sat, 15 Aug 2015 00:53:18 +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 E3BE91134 for ; Sat, 15 Aug 2015 00:53:17 +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 t7F0rHji077647 for ; Sat, 15 Aug 2015 00:53:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 202322] [bhyve,patch] add option to have bhyve write its PID into a file Date: Sat, 15 Aug 2015 00:53:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable10? X-Bugzilla-Changed-Fields: assigned_to 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: Sat, 15 Aug 2015 00:53:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202322 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|emulation@FreeBSD.org |freebsd-virtualization@Free | |BSD.org --- Comment #1 from Mark Linimon --- Fix assignment. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@freebsd.org Sat Aug 15 00:53:37 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 60BAF9B7434 for ; Sat, 15 Aug 2015 00:53:37 +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 4C97211C1 for ; Sat, 15 Aug 2015 00:53:37 +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 t7F0rbnT078051 for ; Sat, 15 Aug 2015 00:53:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 202321] [bhyve, patch] More verbose error reporting in bhyve for backing images Date: Sat, 15 Aug 2015 00:53:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable10? X-Bugzilla-Changed-Fields: assigned_to 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: Sat, 15 Aug 2015 00:53:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202321 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|emulation@FreeBSD.org |freebsd-virtualization@Free | |BSD.org --- Comment #1 from Mark Linimon --- Fix assignment. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@freebsd.org Sat Aug 15 13:36:37 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 2E40F9BACD2; Sat, 15 Aug 2015 13:36:37 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) (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 03C4D1D03; Sat, 15 Aug 2015 13:36:36 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: by igfj19 with SMTP id j19so28656074igf.1; Sat, 15 Aug 2015 06:36:35 -0700 (PDT) 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=11qGCJn3HMok8GqlU3PUwUEcRtB0E7Z6Ga0BsC//hJI=; b=JT1eQPAOb4SZKoYgZ9At+jtri9ajpPRXCUrjBQ6zC52J2bE8wQZlZqykSAn07n7i3j 9iCPxkLNDiuvX5CKzJeVEeLLHIgm7yf5Psd3T9rXU2qeLmmCHDzTtUGgswaeW3ZNvoPP ak53ocM4mer4xogWICXTI/1+mIKBexylfSp5R3deuag7VGeJP388oMmMfKgGI3gun39b 5MXn/aBzASXXMI5pMfaHGZVdVr3qFBWQbuilaS6QV8Y8zYcPdUeAHNzHIB9PF9hFGylu MoAUriBD0OSnu2oLKcDhiHLkmZcsz7cWpt3bS2nEQEJH3UNZJFyx/eYX/S+kGPNbJw0e 8Ghw== MIME-Version: 1.0 X-Received: by 10.50.36.101 with SMTP id p5mr8438353igj.58.1439645795781; Sat, 15 Aug 2015 06:36:35 -0700 (PDT) Received: by 10.107.7.29 with HTTP; Sat, 15 Aug 2015 06:36:35 -0700 (PDT) In-Reply-To: <558CFD11.9050807@FreeBSD.org> References: <558CFD11.9050807@FreeBSD.org> Date: Sat, 15 Aug 2015 23:36:35 +1000 Message-ID: Subject: Re: HEAD UP: notice to FreeBSD/Xen Dom0 users From: Outback Dingo To: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Cc: freebsd-virtualization@freebsd.org, FreeBSD XEN 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: Sat, 15 Aug 2015 13:36:37 -0000 On Fri, Jun 26, 2015 at 5:19 PM, Roger Pau Monn=C3=A9 = wrote: > Hello, > > If you are running a FreeBSD/Xen Dom0 and update FreeBSD to r284870 or > any later revision make sure you are using the xen-kernel-4.5.0_4 and > xen-tools-4.5.0_7 packages (or any later version), or else you won't be > able to boot. > > Sorry for the trouble this might cause. Be aware that the Xen PVH > interface (which FreeBSD uses) is still not marked as stable, so other > incompatible changes will happen before this is fully stabilized. > > Users of FreeBSD as a Xen guest (PVHVM mode) are not affected and should > ignore this message. > > Roger. > HEAD UP on 10.2 the instructions found at http://wiki.xen.org/wiki/FreeBSD_Dom0 git branch master * stable-4.5 no longer appear to work gmake -j8 install-tools HOSTCC=3Dgcc48 CC=3Dgcc48 fails with __________SNIP__________ gmake[3]: Entering directory '/usr/home/dingo/xen/tools/qemu-xen-dir-remote' GEN config-host.h GEN trace/generated-tracers.h GEN trace/generated-tracers.c LINK qemu-nbd LINK qemu-img c++ LINK qemu-io : error: unknown argument: '-fstack-protector-strong' c++: error: unknown argument: '-fstack-protector-strong' /usr/home/dingo/xen/tools/qemu-xen-dir/rules.mak:92: recipe for target 'qemu-nbd' failed gmake[3]: *** [qemu-nbd] Error 1 gmake[3]: *** Waiting for unfinished jobs.... c++: error: unknown argument: '-fstack-protector-strong' /usr/home/dingo/xen/tools/qemu-xen-dir/rules.mak:92: recipe for target 'qemu-img' failed gmake[3]: *** [qemu-img] Error 1 /usr/home/dingo/xen/tools/qemu-xen-dir/rules.mak:92: recipe for target 'qemu-io' failed gmake[3]: *** [qemu-io] Error 1 GEN i386-softmmu/config-target.h LINK i386-softmmu/qemu-system-i386 c++: error: unknown argument: '-fstack-protector-strong' Makefile:175: recipe for target 'qemu-system-i386' failed gmake[4]: *** [qemu-system-i386] Error 1 Makefile:167: recipe for target 'subdir-i386-softmmu' failed gmake[3]: *** [subdir-i386-softmmu] Error 2 gmake[3]: Leaving directory '/usr/home/dingo/xen/tools/qemu-xen-dir-remote' Makefile:201: recipe for target 'subdir-all-qemu-xen-dir' failed gmake[2]: *** [subdir-all-qemu-xen-dir] Error 2 gmake[2]: Leaving directory '/usr/home/dingo/xen/tools' /usr/home/dingo/xen/tools/../tools/Rules.mk:111: recipe for target 'subdirs-install' failed gmake[1]: *** [subdirs-install] Error 2 gmake[1]: Leaving directory '/usr/home/dingo/xen/tools' Makefile:69: recipe for target 'install-tools' failed gmake: *** [install-tools] Error 2 > _______________________________________________ > freebsd-xen@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-xen > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org" >