From owner-freebsd-xen@freebsd.org Wed Jul 18 17:56:08 2018 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D807B102B864 for ; Wed, 18 Jul 2018 17:56:07 +0000 (UTC) (envelope-from barbie.sanders@dedicatedaccounts.com) Received: from mail-qk0-x247.google.com (mail-qk0-x247.google.com [IPv6:2607:f8b0:400d:c09::247]) (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 3A3D785260 for ; Wed, 18 Jul 2018 17:56:07 +0000 (UTC) (envelope-from barbie.sanders@dedicatedaccounts.com) Received: by mail-qk0-x247.google.com with SMTP id c27-v6so4340948qkj.3 for ; Wed, 18 Jul 2018 10:56:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dedicatedaccounts.com; s=google; h=mime-version:message-id:date:subject:from:to :content-transfer-encoding; bh=DGD3/tgCn3hkiRe9bG/EO8jhgrAag7dEqJf3zottnLQ=; b=XtZ3pnT3It6xcusQ+NT9+PLs/41pV3C1f03fbZw3ZVkiTTMrFL/y5Zbh73xiV3TJj3 113yKHpZPL131Sb+KU/5Vu5lvAkmUCMqwktUZUc+YAG32uC59b/uztaKT2c+TalbzeTO aBh0hwKUGAhQIFfeuroIGYPVVBW9ZacKoK/I209cuNHfUCpNaKXtPASCaQSWPQA9LVtl k1dtdAJIshHIHY6Y/QUBwGmcRoh2QcMRKfVVlGha7HNsKxFLyS7ErUuZa2/03mCvbEe6 /QbG8ouK7L3jCzIO/Yv27d9eqe9JqbvBvhY65QG3mpEFgGCaI5K5GPyoKK+qZ0qS96YY mlBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:message-id:date:subject:from:to :content-transfer-encoding; bh=DGD3/tgCn3hkiRe9bG/EO8jhgrAag7dEqJf3zottnLQ=; b=ukZ0TqB0JYyypZwWIPjlu7yS8bEupdP9iNAxRbSy9pRlSS3r2HGx7BDG0677ZtWFEv ISYJSI6UmewQzipixRlC7K3dCDuUy1hTh+zCenXZgjd2BDhDhpq/6uJaNmoprmn0m06i 8yooWmG2m0dFC1EzLKrz8H3oev8yyr2xyxwOR948JoINjoGIXSXQbxEJBw7XHl7FqdWl PDouTM82vPESmMQHYwonPSlVERhjtbsET/u8UOam0vvikGQBkQxcgs1Cyb2RHD3a+XhV AzbLyOMOjnYHkt2NftpRoq/2A2xQACAQbwIzZ3j5U2ljgYmMKu/3g5P7XyBI82MJit0L PRGg== X-Gm-Message-State: AOUpUlHeuAYMPWpIZ02drxevuM7/NbLVCqE4sqpCGJG4AnzBEHNdygSN cYkIdCr6p7w8gurX92T0pHYD6nmU0D4= X-Google-Smtp-Source: AAOMgpfA6KCc613ynTyPK8h3mw+zM1gKaZu62IUvi8HBb5Z7wfeXdpCsu1VPuqYEI+9sz6voJbgzMAgXww== MIME-Version: 1.0 X-Received: by 2002:a0c:f606:: with SMTP id r6-v6mr3603312qvm.42.1531936566844; Wed, 18 Jul 2018 10:56:06 -0700 (PDT) Message-ID: <000000000000e2a33c057149c646@google.com> Date: Wed, 18 Jul 2018 17:56:06 +0000 Subject: Targeted Global B2B Companies emails list From: barbie.sanders@dedicatedaccounts.com To: freebsd-xen@freebsd.org Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Content-Transfer-Encoding: base64 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 17:56:08 -0000 SGksDQoNCg0KDQpIb3BlIHlvdSBhcmUgZG9pbmcgd2V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xPdmVybG9vayIgaW4gYSAgDQpzdWJqZWN0IGxpbmUuDQoN Cg0KDQo= From owner-freebsd-xen@freebsd.org Thu Jul 19 09:04:57 2018 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CBBA1051F1D for ; Thu, 19 Jul 2018 09:04:57 +0000 (UTC) (envelope-from royger@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D0A5E8640D for ; Thu, 19 Jul 2018 09:04:56 +0000 (UTC) (envelope-from royger@FreeBSD.org) Received: from localhost (108.red-88-3-117.dynamicip.rima-tde.net [88.3.117.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: royger) by smtp.freebsd.org (Postfix) with ESMTPSA id 19D9624927 for ; Thu, 19 Jul 2018 09:04:55 +0000 (UTC) (envelope-from royger@FreeBSD.org) Date: Thu, 19 Jul 2018 11:04:44 +0200 From: Roger Pau =?utf-8?B?TW9ubsOp?= To: freebsd-xen@freebsd.org Subject: HEADS UP: merged PVHv2 support and future plans Message-ID: <20180719090444.jojyziar2c6wy735@mac> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20180512 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2018 09:04:57 -0000 Hello, Today I've merged PVHv2 support into FreeBSD, allowing FreeBSD to be used as a PVHv2 DomU and Dom0. While it's not a huge set of changes, I would *really* appreciate if people could test the code starting from r336474 (or any later changeset). I expect there's going to be some confusion with PVHv1 vs PVHv2, so I will try to clarify this now. PVHv1 was introduced ~4 years ago, and at the time it seemed like a good way to move forward, allowing Xen to rely more on hardware virtualization. Later on, we sadly discovered that PVHv1 was still too similar to classic PV, and didn't allow Xen to make use of all the possible hardware virtualization extensions, so PVHv2 was introduced ~2 years ago as a replacement for PVHv1. PVHv2 ABI however is not compatible with PVHv1, which means that different entry points and interfaces must be used to interact with the hypervisor. After introducing PVHv2 PVHv1 was deprecated and PVHv1 has been removed from the hypervisor in recent versions, that's why the Xen ports package is still stuck with Xen 4.7, because later versions removed PVHv1 support. With the addition of PVHv2 to FreeBSD the port can be updated to newer Xen versions and we can move forward. There will be issues however, as newer versions of Xen won't have support for PVHv1. My plan is the following in order to try to make this less painful for users: - Wait until FreeBSD 12 is released, which will contain PVHv1 and PVHv2 support. - Once FreeBSD 12 has been released, update the Xen port to the latest version. - Send an email to freebsd-xen notifying users of the bump in the package. - Users running FreeBSD < 12 must stick with the old Xen 4.7 package. - Users running FreeBSD >= 12 must use the new Xen package. I know this is not ideal, because users wanting to update Xen will also need to update to FreeBSD 12, but I cannot think of any better way to deal with this. Lastly, the Xen CI test system (osstest) has recently gained support for testing FreeBSD, which should make catching FreeBSD/Xen related issues easier. This is an example of an initial FreeBSD test flight: https://lists.xenproject.org/archives/html/xen-devel/2018-07/msg01680.html Roger. From owner-freebsd-xen@freebsd.org Thu Jul 19 09:42:38 2018 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50C23102A9C2 for ; Thu, 19 Jul 2018 09:42:38 +0000 (UTC) (envelope-from gerd.hafenbrack@gmail.com) Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com [IPv6:2607:f8b0:4003:c06::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 D4951881A1 for ; Thu, 19 Jul 2018 09:42:37 +0000 (UTC) (envelope-from gerd.hafenbrack@gmail.com) Received: by mail-oi0-x22b.google.com with SMTP id l10-v6so14366782oii.0 for ; Thu, 19 Jul 2018 02:42:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Qgyi1fM7CR33c+AVJCO6a6ejwmJtQxt2/MGMrwUYd3Y=; b=TTpyisReSUE4NGuXuzyakqXMheAGgs0EmsMCYDDtVnNZrnRVgerQTDQ4EQCJvSIt3x AZzByqhC40KAclxHHfqQxCIv0+YcGTrM/xbJnfB2xhrV/vb+MQxwK2xSu/VVBGc/lXjU hiYF0mhjgXKSIZSNTstEiOkTGInSgwUNW7U8B0lNajLhlz3+sNKZ6uDSCewzLv3A0tmv DMtVZNISo4BFDiRYPAOSjDmfnxaOjL3LnMwaUtSgj1IbAxCxD9P4FOZOinNxRcAWlzpk x08C6ADyk9SzrMEW89kRokeIeQx7aPEaDcbQ0BIzEc4H5sultG+ALEVBA3y0pJN+tYxw dBFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Qgyi1fM7CR33c+AVJCO6a6ejwmJtQxt2/MGMrwUYd3Y=; b=Kuk5g1G20NnmyacMkwLsfpd2UQ1IS6eHGnLnGmP06FeeeI8SLqLs3by8c8LXn9M4Aa I5KeU2SmIJ8gp4O2UzZzarna0DvLFe8woNaV6EW6waX7xWqeiTMdk+eFzivQ0RNSuyVa pM4k5T0Gu376agxxS5J5hXYWrf9Kr9c4zTu84TxzPAugG2YL40c0RuGaRx+SIwpa9yaE jShn2LG4BqzRQPAYucstKhi0obKQjWftOJBsJtiYIAyW1gHCWEcd1HKYIIMFSB0v9nug yFm1xWBBjPZv52xjkCe1Xlf8AFaFAjP5rrY+3oJ0H5j2994KBXYlGtOKekVnuoAWHCGh zP8g== X-Gm-Message-State: AOUpUlEpdZx+6sX6JF3dV+Hle3FG242ElEEvo5FDbtNPdmSaNUgW7ZfX 74726O8Ipebjlf59GZKfI09l+hpxZXmzTMAvc+bCEw== X-Google-Smtp-Source: AAOMgpevE2BvyiKAkKHUWru6g1uUOhwNFcQcHyTlz9S59jVg9ilrL8s7PBgCrkz5o6h9BcM8HxVY1HCAY4Wb3tmZ7Ng= X-Received: by 2002:aca:3254:: with SMTP id y81-v6mr9595372oiy.317.1531993356664; Thu, 19 Jul 2018 02:42:36 -0700 (PDT) MIME-Version: 1.0 References: <20180719090444.jojyziar2c6wy735@mac> In-Reply-To: <20180719090444.jojyziar2c6wy735@mac> From: Gerd Hafenbrack Date: Thu, 19 Jul 2018 11:42:24 +0200 Message-ID: Subject: Re: HEADS UP: merged PVHv2 support and future plans To: freebsd-xen@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2018 09:42:38 -0000 Hello, Roger Pau Monn=C3=A9 schrieb am Do., 19. Juli 2018, 11= :05: > ... Later on, we sadly discovered > that PVHv1 was still too similar to classic PV, and didn't allow Xen > to make use of all the possible hardware virtualization extensions, so > PVHv2 was introduced ~2 years ago ... > Is there a page comparing hardware virtualization extensions between PVHv1 and PVHv2? What about AMD support? We are getting EPIC machines. Gerd > From owner-freebsd-xen@freebsd.org Thu Jul 19 09:51:51 2018 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78522102B28F for ; Thu, 19 Jul 2018 09:51:51 +0000 (UTC) (envelope-from prvs=731ed1d6e=roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.eu.citrix.com [185.25.65.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.citrix.com", Issuer "DigiCert SHA2 Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E44C488AFA for ; Thu, 19 Jul 2018 09:51:50 +0000 (UTC) (envelope-from prvs=731ed1d6e=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.51,374,1526342400"; d="scan'208";a="76409729" Date: Thu, 19 Jul 2018 11:50:34 +0200 From: Roger Pau =?utf-8?B?TW9ubsOp?= To: Gerd Hafenbrack CC: Subject: Re: HEADS UP: merged PVHv2 support and future plans Message-ID: <20180719095034.6h4rmqoy6hrkkorb@mac> References: <20180719090444.jojyziar2c6wy735@mac> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180512 X-ClientProxiedBy: AMSPEX02CAS01.citrite.net (10.69.22.112) To AMSPEX02CL02.citrite.net (10.69.22.126) X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2018 09:51:51 -0000 On Thu, Jul 19, 2018 at 11:42:24AM +0200, Gerd Hafenbrack wrote: > Hello, > > Roger Pau Monné schrieb am Do., 19. Juli 2018, 11:05: > > > ... Later on, we sadly discovered > > that PVHv1 was still too similar to classic PV, and didn't allow Xen > > to make use of all the possible hardware virtualization extensions, so > > PVHv2 was introduced ~2 years ago ... > > > > Is there a page comparing hardware virtualization extensions between PVHv1 > and PVHv2? Hm, not really. PVHv2 has some devices (either emulated by software or hardware) that are not present on PVHv1: LAPIC, IO-APIC. The way to setup and inject interrupts on PVHv2 is also the same as on native (IO-APIC pin, MSI or MSI-X). Also PVHv2 allows to change paging modes (or completely disable paging), which PVHv1 didn't allow at all. To sum up, PVHv2 is very, very similar to HVM but it doesn't require a QEMU device model in order to run. > What about AMD support? We are getting EPIC machines. Yes, PVHv2 supports AMD, although I have to admit I haven't done extensive testing on AMD due to my lack of AMD hardware. I expect that's going to change soon. I've tested PVHv2 FreeBSD DomUs on AMD hardware, but I haven't tested FreeBSD PVHv2 Dom0 on AMD yet. Roger. From owner-freebsd-xen@freebsd.org Thu Jul 19 10:17:59 2018 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6FD28102C5DD for ; Thu, 19 Jul 2018 10:17:59 +0000 (UTC) (envelope-from gerd.hafenbrack@gmail.com) Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com [IPv6:2607:f8b0:4003:c06::234]) (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 02F1B89E55 for ; Thu, 19 Jul 2018 10:17:58 +0000 (UTC) (envelope-from gerd.hafenbrack@gmail.com) Received: by mail-oi0-x234.google.com with SMTP id w126-v6so14492085oie.7 for ; Thu, 19 Jul 2018 03:17:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:cc; bh=xGNewD2A4PSe60RX/9rCThUKCb3WZIQJ0tQqVnY8zJE=; b=YdoXE6k0lmIYb+TlqCEhYTQgmnpUs9z460Uw3CsxtfAamYr0z0oT8PWI4AIqOKYWzf 6455wWF06D1iwdq0YploLuBVS5Wo/KmAPHh+e92XWa7t3xjQNOZslfseTwS34XUwwfj4 7gs96cIB1pJY7upJembGatVm1NhPdDC3/6N/Jb/mtlJeKoL1EAZ3ED21x/bKcOzY/TQP B3vbBjk982DQklyG/7wqKsyTT0eBMLOPhnyezbQX6fgqT7XCqd95HVHaC+AWbbs0vBY8 AG3JbiPxrkvv5XVI/dIqVKwX2N5lY6Ww+qRMkGCekSse1dadNwB6gR2/XD75rye78RlG fk8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:cc; bh=xGNewD2A4PSe60RX/9rCThUKCb3WZIQJ0tQqVnY8zJE=; b=bq8/7GiKmSeN2uqYT4Nsy3U69PsHCtLH3fmLkY7bsuL221NDKN+lSq+tHiYULxmTXh o126ZCWi/nux8Rf+Ud97rGoN4AetCoSR1CiQIr8RbzwDomCpz0IpXKyfRp4E5wRwnpN0 2K20EROXE9D7+xUXbRAjhLs4JLPNykT/D0A9oUOLlVjcS5ZWyfEe+cYM1x1zI94cE+0p 0+6K87TKsCY5AQ7oRXlOyoTqjS8e5/OOZ3V3+8e+uv7WsqLV0eiRH5MDOstdszUonxUz TVqga/zKIr+K24qNvFa8yQ2w+NhLmnLyeUrVo9yur+y+QxtY5j4Nr+ZYX8p8uXUyE/Y4 wO6A== X-Gm-Message-State: AOUpUlEW4adZukZeOqF4ubTKxx/wZj3yKoJHIPxHBJ4tZXUr5CXBy/5J IbJ3zBdJBmaQ5JpcOPjbmsk5mWmu/qZf1RQaAAIYZA== X-Google-Smtp-Source: AAOMgpe16gEFGHFkM5Kqs90nz0VyYOjWn+xdKLmisdqESkM73P4ju4JLyWzgfUbFkg5n1axpf48p/LkQW2z0sbIFrAQ= X-Received: by 2002:aca:a982:: with SMTP id s124-v6mr10613310oie.80.1531995477732; Thu, 19 Jul 2018 03:17:57 -0700 (PDT) MIME-Version: 1.0 References: <20180719090444.jojyziar2c6wy735@mac> <20180719095034.6h4rmqoy6hrkkorb@mac> In-Reply-To: <20180719095034.6h4rmqoy6hrkkorb@mac> From: Gerd Hafenbrack Date: Thu, 19 Jul 2018 12:17:46 +0200 Message-ID: Subject: Re: HEADS UP: merged PVHv2 support and future plans Cc: freebsd-xen@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2018 10:17:59 -0000 Thank you. Roger Pau Monn=C3=A9 schrieb am Do., 19. Juli 2018, = 11:50: > On Thu, Jul 19, 2018 at 11:42:24AM +0200, Gerd Hafenbrack wrote: > > Hello, > > > > Roger Pau Monn=C3=A9 schrieb am Do., 19. Juli 2018= , > 11:05: > > > > > ... Later on, we sadly discovered > > > that PVHv1 was still too similar to classic PV, and didn't allow Xen > > > to make use of all the possible hardware virtualization extensions, s= o > > > PVHv2 was introduced ~2 years ago ... > > > > > > > Is there a page comparing hardware virtualization extensions between > PVHv1 > > and PVHv2? > > Hm, not really. PVHv2 has some devices (either emulated by software or > hardware) that are not present on PVHv1: LAPIC, IO-APIC. The way to > setup and inject interrupts on PVHv2 is also the same as on native > (IO-APIC pin, MSI or MSI-X). > > Also PVHv2 allows to change paging modes (or completely disable > paging), which PVHv1 didn't allow at all. > > To sum up, PVHv2 is very, very similar to HVM but it doesn't require a > QEMU device model in order to run. > > > What about AMD support? We are getting EPIC machines. > > Yes, PVHv2 supports AMD, although I have to admit I haven't done > extensive testing on AMD due to my lack of AMD hardware. I expect > that's going to change soon. > > I've tested PVHv2 FreeBSD DomUs on AMD hardware, but I haven't tested > FreeBSD PVHv2 Dom0 on AMD yet. > > Roger. > From owner-freebsd-xen@freebsd.org Thu Jul 19 12:03:21 2018 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98BBC103156E for ; Thu, 19 Jul 2018 12:03:21 +0000 (UTC) (envelope-from SRS0=esCJ=KD=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 310668D93E; Thu, 19 Jul 2018 12:03:20 +0000 (UTC) (envelope-from SRS0=esCJ=KD=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 5E63A28469; Thu, 19 Jul 2018 14:03:13 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 0D99928468; Thu, 19 Jul 2018 14:03:01 +0200 (CEST) Subject: Re: HEADS UP: merged PVHv2 support and future plans To: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , freebsd-xen@freebsd.org References: <20180719090444.jojyziar2c6wy735@mac> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: Date: Thu, 19 Jul 2018 14:03:00 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 In-Reply-To: <20180719090444.jojyziar2c6wy735@mac> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2018 12:03:21 -0000 Roger Pau Monné wrote on 2018/07/19 11:04: > Hello, > > Today I've merged PVHv2 support into FreeBSD, allowing FreeBSD to be > used as a PVHv2 DomU and Dom0. While it's not a huge set of changes, > I would *really* appreciate if people could test the code starting > from r336474 (or any later changeset). > > I expect there's going to be some confusion with PVHv1 vs PVHv2, so I > will try to clarify this now. PVHv1 was introduced ~4 years ago, and > at the time it seemed like a good way to move forward, allowing Xen to > rely more on hardware virtualization. Later on, we sadly discovered > that PVHv1 was still too similar to classic PV, and didn't allow Xen > to make use of all the possible hardware virtualization extensions, so > PVHv2 was introduced ~2 years ago as a replacement for PVHv1. PVHv2 > ABI however is not compatible with PVHv1, which means that different > entry points and interfaces must be used to interact with the > hypervisor. > > After introducing PVHv2 PVHv1 was deprecated and PVHv1 has been > removed from the hypervisor in recent versions, that's why the Xen > ports package is still stuck with Xen 4.7, because later versions > removed PVHv1 support. With the addition of PVHv2 to FreeBSD the port > can be updated to newer Xen versions and we can move forward. > > There will be issues however, as newer versions of Xen won't have > support for PVHv1. My plan is the following in order to try to make > this less painful for users: > > - Wait until FreeBSD 12 is released, which will contain PVHv1 and > PVHv2 support. > - Once FreeBSD 12 has been released, update the Xen port to the > latest version. What about creating new port as xen410 (for version 4.10) or repocopy of the old one to xen47 to allow coexist of two different versions in the ports tree and allow user to choose the right one for their OS version? > - Send an email to freebsd-xen notifying users of the bump in the > package. > - Users running FreeBSD < 12 must stick with the old Xen 4.7 > package. > - Users running FreeBSD >= 12 must use the new Xen package. [...] Miroslav Lachman From owner-freebsd-xen@freebsd.org Thu Jul 19 12:46:13 2018 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D09E910334CF for ; Thu, 19 Jul 2018 12:46:12 +0000 (UTC) (envelope-from saper@saper.info) Received: from m.saper.info (m.saper.info [IPv6:2a01:4f8:a0:7383::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "saper.info", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 66DE68F264; Thu, 19 Jul 2018 12:46:12 +0000 (UTC) (envelope-from saper@saper.info) Received: from m.saper.info (saper@m.saper.info [IPv6:2a01:4f8:a0:7383::]) by m.saper.info (8.15.2/8.15.2) with ESMTPS id w6JCk70h020459 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 19 Jul 2018 12:46:08 GMT (envelope-from saper@saper.info) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=saper.info; s=Sep2014; t=1532004368; bh=yVnRR7xkacR5Y/eMNQjaKDeEi3tIU5UJnuSf3wmFF8c=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=HChpmxCA3XrNVOs1HurFgHE9BTHWwlNq/7vL36xg2GuI7VfQRJuq0yuuB/Jfv3SSB 11L9SRRwRIU6vNHA8n9A+offW9/Jp7u5lCauMtvBmsj/HKiYhfzVVfeORvmpaqGMXF PH6G/tdtvdOocQxehh1hvH239sD2yh/Xw8ftW+Dc= Received: from localhost (saper@localhost) by m.saper.info (8.15.2/8.15.2/Submit) with ESMTP id w6JCk7bm020456; Thu, 19 Jul 2018 12:46:07 GMT (envelope-from saper@saper.info) X-Authentication-Warning: m.saper.info: saper owned process doing -bs Date: Thu, 19 Jul 2018 12:46:07 +0000 From: Marcin Cieslak To: =?ISO-8859-15?Q?Roger_Pau_Monn=E9?= cc: freebsd-xen@freebsd.org Subject: Re: HEADS UP: merged PVHv2 support and future plans In-Reply-To: <20180719090444.jojyziar2c6wy735@mac> Message-ID: References: <20180719090444.jojyziar2c6wy735@mac> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="1563967779-1268733223-1532004367=:8169" X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2018 12:46:13 -0000 --1563967779-1268733223-1532004367=:8169 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT On Thu, 19 Jul 2018, Roger Pau Monné wrote: > Hello, > > Today I've merged PVHv2 support into FreeBSD, allowing FreeBSD to be > used as a PVHv2 DomU and Dom0. While it's not a huge set of changes, > I would *really* appreciate if people could test the code starting > from r336474 (or any later changeset). Hi Roger, I am ready to test it on my (small) setup, should I keep existing 4.7 running as is and just upgrade the Dom0? Or should I upgrade Xen too? Marcin --1563967779-1268733223-1532004367=:8169 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: BASE64 Content-Description: S/MIME Cryptographic Signature Content-Disposition: attachment; filename=smime.p7s MIIOSwYJKoZIhvcNAQcCoIIOPDCCDjgCAQExDzANBglghkgBZQMEAgEFADAL BgkqhkiG9w0BBwGgggqQMIIElzCCA3+gAwIBAgIOSBtqCKJEiNNcmz3JSA0w DQYJKoZIhvcNAQELBQAwTDEgMB4GA1UECxMXR2xvYmFsU2lnbiBSb290IENB IC0gUjMxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMTCkdsb2JhbFNp Z24wHhcNMTYwNjE1MDAwMDAwWhcNMjQwNjE1MDAwMDAwWjBdMQswCQYDVQQG EwJCRTEZMBcGA1UEChMQR2xvYmFsU2lnbiBudi1zYTEzMDEGA1UEAxMqR2xv YmFsU2lnbiBQZXJzb25hbFNpZ24gMSBDQSAtIFNIQTI1NiAtIEczMIIBIjAN BgkqhkiG9w0BAQEFA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DZv3zDqlroi+ eXfTZ9bm+sQ7yGPlEHBx/hEj3/qyLZvQpbmc374u/rKfxiBZVDYIzLyuU+Mq g5Pon1rTnIu9wfmweEoFdmtotcZs9BAoDCET/nGrTvC3YIw61FYeIH4wYGMK cR5FJl9uBVt3ifKXlgK7xFj7BIXoeUmS4F1yezWnPqvgQO4d93sNewg5vg6l QmtoBfJGiuGBuJ+2/MLNSeSW --1563967779-1268733223-1532004367=:8169-- From owner-freebsd-xen@freebsd.org Thu Jul 19 12:53:08 2018 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B9641033B74 for ; Thu, 19 Jul 2018 12:53:08 +0000 (UTC) (envelope-from royger@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B078B8F6F8; Thu, 19 Jul 2018 12:53:07 +0000 (UTC) (envelope-from royger@FreeBSD.org) Received: from localhost (49.red-88-3-118.dynamicip.rima-tde.net [88.3.118.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: royger) by smtp.freebsd.org (Postfix) with ESMTPSA id CABF82608F; Thu, 19 Jul 2018 12:53:06 +0000 (UTC) (envelope-from royger@FreeBSD.org) Date: Thu, 19 Jul 2018 14:52:56 +0200 From: Roger Pau =?utf-8?B?TW9ubsOp?= To: Miroslav Lachman <000.fbsd@quip.cz> Cc: freebsd-xen@freebsd.org Subject: Re: HEADS UP: merged PVHv2 support and future plans Message-ID: <20180719125256.fitjoii45ltkexgb@mac> References: <20180719090444.jojyziar2c6wy735@mac> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180512 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2018 12:53:08 -0000 On Thu, Jul 19, 2018 at 02:03:00PM +0200, Miroslav Lachman wrote: > Roger Pau Monné wrote on 2018/07/19 11:04: > > Hello, > > > > Today I've merged PVHv2 support into FreeBSD, allowing FreeBSD to be > > used as a PVHv2 DomU and Dom0. While it's not a huge set of changes, > > I would *really* appreciate if people could test the code starting > > from r336474 (or any later changeset). > > > > I expect there's going to be some confusion with PVHv1 vs PVHv2, so I > > will try to clarify this now. PVHv1 was introduced ~4 years ago, and > > at the time it seemed like a good way to move forward, allowing Xen to > > rely more on hardware virtualization. Later on, we sadly discovered > > that PVHv1 was still too similar to classic PV, and didn't allow Xen > > to make use of all the possible hardware virtualization extensions, so > > PVHv2 was introduced ~2 years ago as a replacement for PVHv1. PVHv2 > > ABI however is not compatible with PVHv1, which means that different > > entry points and interfaces must be used to interact with the > > hypervisor. > > > > After introducing PVHv2 PVHv1 was deprecated and PVHv1 has been > > removed from the hypervisor in recent versions, that's why the Xen > > ports package is still stuck with Xen 4.7, because later versions > > removed PVHv1 support. With the addition of PVHv2 to FreeBSD the port > > can be updated to newer Xen versions and we can move forward. > > > > There will be issues however, as newer versions of Xen won't have > > support for PVHv1. My plan is the following in order to try to make > > this less painful for users: > > > > - Wait until FreeBSD 12 is released, which will contain PVHv1 and > > PVHv2 support. > > - Once FreeBSD 12 has been released, update the Xen port to the > > latest version. > > What about creating new port as xen410 (for version 4.10) or repocopy of the > old one to xen47 to allow coexist of two different versions in the ports > tree and allow user to choose the right one for their OS version? I wondered about that, I will try to do it, but I have to admit my time is quite limited and I'm not sure I will be able to keep both up to data. Thanks, Roger. From owner-freebsd-xen@freebsd.org Thu Jul 19 12:54:29 2018 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CBB1F1033C3D for ; Thu, 19 Jul 2018 12:54:29 +0000 (UTC) (envelope-from royger@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7C4518F771; Thu, 19 Jul 2018 12:54:29 +0000 (UTC) (envelope-from royger@FreeBSD.org) Received: from localhost (49.red-88-3-118.dynamicip.rima-tde.net [88.3.118.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: royger) by smtp.freebsd.org (Postfix) with ESMTPSA id A898126090; Thu, 19 Jul 2018 12:54:28 +0000 (UTC) (envelope-from royger@FreeBSD.org) Date: Thu, 19 Jul 2018 14:54:21 +0200 From: Roger Pau =?utf-8?B?TW9ubsOp?= To: Marcin Cieslak Cc: freebsd-xen@freebsd.org Subject: Re: HEADS UP: merged PVHv2 support and future plans Message-ID: <20180719125421.ckife3lqj337u3uy@mac> References: <20180719090444.jojyziar2c6wy735@mac> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180512 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2018 12:54:30 -0000 On Thu, Jul 19, 2018 at 12:46:07PM +0000, Marcin Cieslak wrote: > On Thu, 19 Jul 2018, Roger Pau Monné wrote: > > > Hello, > > > > Today I've merged PVHv2 support into FreeBSD, allowing FreeBSD to be > > used as a PVHv2 DomU and Dom0. While it's not a huge set of changes, > > I would *really* appreciate if people could test the code starting > > from r336474 (or any later changeset). > > Hi Roger, I am ready to test it on my (small) setup, should I keep > existing 4.7 running as is and just upgrade the Dom0? Yes, just update the FreeBSD kernel. > Or should I upgrade Xen too? I haven't updated the Xen package, so there's no easy way ATM to test using a PVHv2 Dom0. Let's focus first on making sure I didn't break existing setups. Thanks, Roger. From owner-freebsd-xen@freebsd.org Fri Jul 20 11:16:07 2018 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 966591040620 for ; Fri, 20 Jul 2018 11:16:07 +0000 (UTC) (envelope-from saper@saper.info) Received: from m.saper.info (m.saper.info [IPv6:2a01:4f8:a0:7383::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "saper.info", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D523677A16; Fri, 20 Jul 2018 11:16:06 +0000 (UTC) (envelope-from saper@saper.info) Received: from m.saper.info (saper@m.saper.info [IPv6:2a01:4f8:a0:7383::]) by m.saper.info (8.15.2/8.15.2) with ESMTPS id w6KBG3hR060608 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 20 Jul 2018 11:16:03 GMT (envelope-from saper@saper.info) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=saper.info; s=Sep2014; t=1532085364; bh=JFxQPL1j/ud0bErlVth7gr1XaFnOcEgvXB90UcWvTQc=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=oGvKHXCV296Mtsi4mL2JH4r06byleY/t76jVFvtUhCa2T8sk9gURqzUc2AktAyT/q hzTF831ziyTSKAbfyoCGFyzNFVnb6O9bXsvTDNR+6ZnG7TogN9yIzxOJi30y1mV94G B/cYzotKLaX1vWaaEFlVwJLnQIp3dhnHEJqSAf9E= Received: from localhost (saper@localhost) by m.saper.info (8.15.2/8.15.2/Submit) with ESMTP id w6KBG3ok060604; Fri, 20 Jul 2018 11:16:03 GMT (envelope-from saper@saper.info) X-Authentication-Warning: m.saper.info: saper owned process doing -bs Date: Fri, 20 Jul 2018 11:16:02 +0000 From: Marcin Cieslak To: =?ISO-8859-15?Q?Roger_Pau_Monn=E9?= cc: freebsd-xen@freebsd.org Subject: Re: HEADS UP: merged PVHv2 support and future plans In-Reply-To: <20180719125421.ckife3lqj337u3uy@mac> Message-ID: References: <20180719090444.jojyziar2c6wy735@mac> <20180719125421.ckife3lqj337u3uy@mac> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="1563967779-97148788-1532085363=:8169" X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2018 11:16:07 -0000 --1563967779-97148788-1532085363=:8169 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT On Thu, 19 Jul 2018, Roger Pau Monné wrote: > On Thu, Jul 19, 2018 at 12:46:07PM +0000, Marcin Cieslak wrote: > > On Thu, 19 Jul 2018, Roger Pau Monné wrote: > > > > > Hello, > > > > > > Today I've merged PVHv2 support into FreeBSD, allowing FreeBSD to be > > > used as a PVHv2 DomU and Dom0. While it's not a huge set of changes, > > > I would *really* appreciate if people could test the code starting > > > from r336474 (or any later changeset). > > > > Hi Roger, I am ready to test it on my (small) setup, should I keep > > existing 4.7 running as is and just upgrade the Dom0? > > Yes, just update the FreeBSD kernel. I can at least confirm that my box boot cleanly after the update. Haven't tried launching any domUs yet. Marcin --1563967779-97148788-1532085363=:8169 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: BASE64 Content-Description: S/MIME Cryptographic Signature Content-Disposition: attachment; filename=smime.p7s MIIOSwYJKoZIhvcNAQcCoIIOPDCCDjgCAQExDzANBglghkgBZQMEAgEFADAL BgkqhkiG9w0BBwGgggqQMIIElzCCA3+gAwIBAgIOSBtqCKJEiNNcmz3JSA0w DQYJKoZIhvcNAQELBQAwTDEgMB4GA1UECxMXR2xvYmFsU2lnbiBSb290IENB IC0gUjMxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMTCkdsb2JhbFNp Z24wHhcNMTYwNjE1MDAwMDAwWhcNMjQwNjE1MDAwMDAwWjBdMQswCQYDVQQG EwJCRTEZMBcGA1UEChMQR2xvYmFsU2lnbiBudi1zYTEzMDEGA1UEAxMqR2xv YmFsU2lnbiBQZXJzb25hbFNpZ24gMSBDQSAtIFNIQTI1NiAtIEczMIIBIjAN BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyrCba00KOKyGuwh9h+/MAcZm ZUF9OxGKA56AADHaDE08rB0WEbgm6J4XvJP3OGQ7cgHdVJu6XMZkRd6EcfjD yRrIwE6oAVWJe57co3gKk/XxvuubSZuUahrcOiv3D2qaHwva4zumubxQQI4f unEzRIJHPiNjaq0cCcZsMcp5pxsEz8aG0sr8Oh80sxKNnzPmuUETLESktfMC pQKHUGmWXLsG6sgCZOezUjDjKpPKW7l4PUt0TEBEyqLhifv9/YPn5C4o10PP daDazZPeKNif2PVQ5u0HRnkFrHh4wmmrMtY22Mse3eR01gD6rEEGWf+gdzuy EQE+ZVlNhCP4gXjdBQIDAQABo4IBZDCCAWAwDgYDVR0PAQH/BAQDAgEGMCcG A1UdJQQgMB4GCCsGAQUFBwMCBggrBgEFBQcDBAYIKwYBBQUHAwkwEgYDVR0T AQH/BAgwBgEB/wIBADAdBgNV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