From owner-freebsd-virtualization@freebsd.org Thu Feb 18 07:07:07 2016 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 65619AAC000 for ; Thu, 18 Feb 2016 07:07:07 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.rbsd.freebsd.org (unknown [IPv6:2607:fc50:2000:101::1bb:73]) by mx1.freebsd.org (Postfix) with ESMTP id 507EE122C for ; Thu, 18 Feb 2016 07:07:07 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.rbsd.freebsd.org (Postfix, from userid 1346) id 4E0AC3320A62; Thu, 18 Feb 2016 07:07:07 +0000 (UTC) Date: Thu, 18 Feb 2016 07:07:07 +0000 To: freebsd-virtualization@freebsd.org From: Phabricator Reply-to: D5274+333+9ea095979011f33b@reviews.freebsd.org Subject: [Differential] [Closed] D5274: hyperv/hn: Change global tunable prefix to hw.hn Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , Thread-Topic: D5274: hyperv/hn: Change global tunable prefix to hw.hn X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: MWFhYmZkMDZkODQzOGI1NjgyOWFlNTAzNzIwIFbFbZs= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_ada0d82a6dd4b1a872527789fab2f1b7" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 07:07:07 -0000 --b1_ada0d82a6dd4b1a872527789fab2f1b7 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: 8bit This revision was automatically updated to reflect the committed changes. Closed by commit rS295743: hyperv/hn: Change global tunable prefix to hw.hn (authored by sephe). CHANGED PRIOR TO COMMIT https://reviews.freebsd.org/D5274?vs=13285&id=13401#toc REPOSITORY rS FreeBSD src repository CHANGES SINCE LAST UPDATE https://reviews.freebsd.org/D5274?vs=13285&id=13401 REVISION DETAIL https://reviews.freebsd.org/D5274 AFFECTED FILES head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: sepherosa_gmail.com, delphij, royger, decui_microsoft.com, howard0su_gmail.com, honzhan_microsoft.com, adrian, network Cc: freebsd-virtualization-list, freebsd-net-list --b1_ada0d82a6dd4b1a872527789fab2f1b7 Content-Type: text/x-patch; charset=utf-8; name="D5274.13401.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D5274.13401.patch" ZGlmZiAtLWdpdCBhL2hlYWQvc3lzL2Rldi9oeXBlcnYvbmV0dnNjL2h2X25ldHZzY19kcnZfZnJl ZWJzZC5jIGIvaGVhZC9zeXMvZGV2L2h5cGVydi9uZXR2c2MvaHZfbmV0dnNjX2Rydl9mcmVlYnNk LmMKLS0tIGEvaGVhZC9zeXMvZGV2L2h5cGVydi9uZXR2c2MvaHZfbmV0dnNjX2Rydl9mcmVlYnNk LmMKKysrIGIvaGVhZC9zeXMvZGV2L2h5cGVydi9uZXR2c2MvaHZfbmV0dnNjX2Rydl9mcmVlYnNk LmMKQEAgLTIwNSw0MSArMjA1LDU3IEBACiAKIGludCBodl9wcm9taXNjX21vZGUgPSAwOyAgICAv KiBub3JtYWwgbW9kZSBieSBkZWZhdWx0ICovCiAKK1NZU0NUTF9OT0RFKF9odywgT0lEX0FVVE8s IGhuLCBDVExGTEFHX1JELCBOVUxMLCAiSHlwZ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