From owner-freebsd-virtualization@freebsd.org Mon Jan 21 08:36:17 2019 Return-Path: Delivered-To: freebsd-virtualization@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 B0836149CDF5; Mon, 21 Jan 2019 08:36:17 +0000 (UTC) (envelope-from prvs=917dd492e=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 DD51175AFB; Mon, 21 Jan 2019 08:36:16 +0000 (UTC) (envelope-from prvs=917dd492e=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.56,502,1539648000"; d="scan'208";a="84855025" Date: Mon, 21 Jan 2019 09:36:01 +0100 From: Roger Pau =?utf-8?B?TW9ubsOp?= To: Matthew Grooms CC: , Subject: Re: FreeBSD/Xen suspend/resume Message-ID: <20190121083601.zoxvrdtvz2co6rc7@mac> References: <8eacf0ad-e8e7-c76e-08b8-3b9a4564a291@fastmail.jp> <7a2cebf8-f29c-ec72-52b9-23bdf7489c58@shrew.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <7a2cebf8-f29c-ec72-52b9-23bdf7489c58@shrew.net> User-Agent: NeoMutt/20180716 X-ClientProxiedBy: AMSPEX02CAS02.citrite.net (10.69.22.113) To AMSPEX02CL02.citrite.net (10.69.22.126) X-Rspamd-Queue-Id: DD51175AFB X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of prvs=917dd492e=roger.pau@citrix.com designates 185.25.65.24 as permitted sender) smtp.mailfrom=prvs=917dd492e=roger.pau@citrix.com X-Spamd-Result: default: False [-1.67 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.63)[-0.630,0]; NEURAL_HAM_LONG(-0.94)[-0.937,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; ENVFROM_PRVS(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[citrix.com]; TO_DN_SOME(0.00)[]; FORGED_SENDER_VERP_SRS(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[24.65.25.185.list.dnswl.org : 127.0.9.2]; MX_GOOD(-0.01)[cached: smtp.citrix.com.au]; NEURAL_HAM_SHORT(-0.07)[-0.071,0]; IP_SCORE(-0.02)[country: GB(-0.09)]; FORGED_SENDER(0.00)[roger.pau@citrix.com,prvs=917dd492e=roger.pau@citrix.com]; RCVD_COUNT_ZERO(0.00)[0]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:60825, ipnet:185.25.64.0/23, country:GB]; FROM_NEQ_ENVFROM(0.00)[roger.pau@citrix.com,prvs=917dd492e=roger.pau@citrix.com]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 21 Jan 2019 08:36:17 -0000 On Sat, Jan 19, 2019 at 05:00:56PM -0600, Matthew Grooms wrote: > On 1/19/2019 4:59 AM, Uni Gaia wrote: > > Does anyone know if suspend/resume works for a FreeBSD/Xen dom0 ? domU? > > Hey Uni, > > I'm not sure how many folks are subscribed to the xen@ mailing list. You may > get a better answer here: > > FreeBSD dom0 is based on the Xen PVH virtualization mode which has seen two > major iterations. PVHv1 has been in the tree for some time. I can't remember > when PVHv2 hit the tree but I'm pretty sure it supplanted v1. It might be in > 12-RELEASE? Check the release notes. You probably want v2 as it's more > feature complete. The port was done by Roger who, I believe, works for > Cirtix Research. My point being that the port should be of very high quality > and he/they probably want to hear if something isn't working with PVHv2.If > I'm misrepresented anything, hopefully he'll chime in here. Thanks for the detailed description! PVHv1 was more similar to classic PV, while PVHv2 is more similar to HVM. PVHv1 support has been removed from upstream Xen since 4.10 IIRC, so I would strongly recommend to use PVHv2. In fact that's the only way to use the 4.11 Xen packages in the ports tree. Roger.