From owner-freebsd-xen@freebsd.org Sun Jan 20 11:21:59 2019 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 4AF8C14884AD; Sun, 20 Jan 2019 11:21:59 +0000 (UTC) (envelope-from pratiy0100@gmail.com) Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 005ED91325; Sun, 20 Jan 2019 11:21:57 +0000 (UTC) (envelope-from pratiy0100@gmail.com) Received: by mail-ed1-x52e.google.com with SMTP id a20so14432750edc.8; Sun, 20 Jan 2019 03:21:57 -0800 (PST) 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 :cc; bh=sYk1xkTtfcJG7WDzJ6jNGD/BBmH6UA1C9JLACW70qSY=; b=Fk6dwA6fNiTzhjDVwUMDZlIwmmq1+hNSisqIpnK2kag739zitWL6vw402quHhuvASA 1+VSlgPSgfCEYQfuHu9S+KHOSJmPKzb8jDTHmV2kr2QXyGY0MlCElze69kteW15x4lP5 5au2TosgQkDyF2/tEYbujzNwR43BBdwrPCDCf8wq1O0ReuI8yWDtIYm4gEUh5QMLm+5r JNIfA4AwR62mGHJ5oDzmZg05EZ0LbPsigclWyXvhaqXgiIR6HZZne2sn/SlW9HUX23+7 4vooX68ZjiuRmlfO2sTF0bL+I3VxQemeRo2qgr9OTqUAKqK6q6J5wpUo8c2PS4WdV7ed KWvA== 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:cc; bh=sYk1xkTtfcJG7WDzJ6jNGD/BBmH6UA1C9JLACW70qSY=; b=VxcpdUb+2OpDSqCMdlfSsRF+LmOAwvjlL5xs+ToHHwIuR4o1fe1EoquBpXs6bGtKEM yV12pCpPyXfDs9EjtZ9EuZuonAWn8iSDPHg+6JdZjXAOJ56OHgKRT7qMulW03gq8DVa3 ZCcO267FcdGI0ZHmV1pHzM7LJuu4XVxNrPmAhQBsX7KgoGq9g6ynAe5BF2XYaEu3J1gT r50kLj6HqOxNxYWYqrcIzDOmbOmY3R7iV8R1bLfDlGxU2Qw2lxoCz6n+oLLK4GgljNAs ZdWzB+hqIr3JImurnZ0xor7jTp9YDFeWktmV3xHpQl1cwP5wzbROKzVqn2sU6pdcNPc3 ndAA== X-Gm-Message-State: AJcUukfH5GALnC5pUxXFDPHAyML/X4JnyRuh0Sz2BInHQXUOMGhN+su7 5e3aCrm4h2YqvkL2Th1cSvePB1M41KjY2bmjp2c= X-Google-Smtp-Source: ALg8bN7CqTCIjZMuEBxIckXKlShWuFaTl7mRWUufitWhlGE2YnlfxKHgB1Y+VRsO1Jn0dak/dPFxZmgQG+bUAH0UqlQ= X-Received: by 2002:a17:906:734c:: with SMTP id h12-v6mr20598334ejl.50.1547983316787; Sun, 20 Jan 2019 03:21:56 -0800 (PST) MIME-Version: 1.0 References: <8eacf0ad-e8e7-c76e-08b8-3b9a4564a291@fastmail.jp> <7a2cebf8-f29c-ec72-52b9-23bdf7489c58@shrew.net> In-Reply-To: <7a2cebf8-f29c-ec72-52b9-23bdf7489c58@shrew.net> From: Pratyush Yadav Date: Sun, 20 Jan 2019 16:51:20 +0530 Message-ID: Subject: Re: FreeBSD/Xen suspend/resume To: Matthew Grooms Cc: FreeBSD-Xen , freebsd-virtualization@freebsd.org, unigaia@fastmail.jp Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 005ED91325 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Fk6dwA6f; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of pratiy0100@gmail.com designates 2a00:1450:4864:20::52e as permitted sender) smtp.mailfrom=pratiy0100@gmail.com X-Spamd-Result: default: False [-6.31 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[e.2.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; IP_SCORE(-2.60)[ip: (-8.97), ipnet: 2a00:1450::/32(-2.12), asn: 15169(-1.84), country: US(-0.08)]; NEURAL_HAM_SHORT(-0.70)[-0.702,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.29 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: Sun, 20 Jan 2019 11:21:59 -0000 Hey Uni, On 1/19/2019 4:59 AM, Uni Gaia wrote: > Does anyone know if suspend/resume works for a FreeBSD/Xen dom0 ? domU? I'm guessing by suspend/resume you mean xl save and xl restore. They work for FreeBSD domU (with Linux dom0), tested on 13-CURRENT r342020. I have not tested for FreeBSD as dom0 because I do not have it set up. Hey Matthew On Sun, 20 Jan 2019 at 04:32, 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? Roger committed it to CURRENT on July 19 [0], and AFAIK it has made it into 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. I'm guessing you replied to the wrong thread, and you meant to reply to the ARM/ARM64 thread? > Hope this helps, > > -Matthew > [0] https://lists.freebsd.org/pipermail/freebsd-xen/2018-July/003189.html -- Regards, Pratyush Yadav From owner-freebsd-xen@freebsd.org Mon Jan 21 06:37:38 2019 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 B10ED14922AE; Mon, 21 Jan 2019 06:37:38 +0000 (UTC) (envelope-from unigaia@fastmail.jp) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (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 223AF70F4C; Mon, 21 Jan 2019 06:37:35 +0000 (UTC) (envelope-from unigaia@fastmail.jp) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 9BDD418BB; Mon, 21 Jan 2019 01:37:28 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 21 Jan 2019 01:37:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.jp; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=E R+vWgsoI/7jxk/AkbBnRc/qH9K1Tw835ZaMc8+96hM=; b=T1wR7jUyRiSIPIGCI t82Lyrsi8Z8UiGHCFvU+252ofo4FGG17qCI8W2GLDg45xC5fz+BzDprQH9orUUI8 nAee2vWY/CswAFIJCo1+wMoFpRWg4esRj21LK/5BvoiynfrEHJzS7eXciYg8ZxCY GxS63PhD9aRHxi2bFovl7zBzR+yoTzIh8+fbfL7sVscHI/71WJO3sJZ+CnXpeRIW 0zgk2N8WDZ66WHyxfry7Y/+icnZSHl73Mlo4KkViTlISmzQJanqe9oxHbfJ2CA8z xawbu9BgLEJpailDvHuXSvtW7Xr74s23ziH9LwuDkNHU8vzTvOmDouEF28VO52hm MDZpA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=ER+vWgsoI/7jxk/AkbBnRc/qH9K1Tw835ZaMc8+96 hM=; b=AExZp6S8zYTpw64e5qjnwyFeeq2YgMbJ/ljWXRA5tu9jTmDH5wNKxYz6i FiAOW3DgDPapaSxVq7h/9o3392rQCtIA8wvBkW8hwcRshIB8RA+B+08CmJ46Nohz SupLy9sykmOmES2FB4JwDVaS3sb4esOpwjcmy9fhqjdjzbV8wk6oPVGV05YlJLjc 7Ah2v1lIHaF6UK7Iik9UaUvmuT4GNqt7XcGXZ6MrsVHbSf7mkuavTBGOUpURchKZ PNIEh72cNUsEEffXxtKiyPTUPqCa/UgaLiB5vPdSJIoLBOm7sEq1EHI0d/St5qV9 tNwDVRfprhmEGg4Lx+G74SM2cfkkg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrheehgdellecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepuffvfhfhkffffg ggjggtgfesthejredttdefjeenucfhrhhomhepfghnihcuifgrihgruceouhhnihhgrghi rgesfhgrshhtmhgrihhlrdhjpheqnecukfhppeegiedrudeihedrvdeftddrheenucfrrg hrrghmpehmrghilhhfrhhomhepuhhnihhgrghirgesfhgrshhtmhgrihhlrdhjphenucev lhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [10.137.5.44] (tor-exit.dhalgren.org [46.165.230.5]) by mail.messagingengine.com (Postfix) with ESMTPA id 68B2AE40FF; Mon, 21 Jan 2019 01:37:25 -0500 (EST) Subject: Re: FreeBSD/Xen suspend/resume To: Pratyush Yadav , Matthew Grooms Cc: FreeBSD-Xen , freebsd-virtualization@freebsd.org References: <8eacf0ad-e8e7-c76e-08b8-3b9a4564a291@fastmail.jp> <7a2cebf8-f29c-ec72-52b9-23bdf7489c58@shrew.net> From: Uni Gaia Message-ID: <744cbbfe-a87f-1bae-df4c-f604deece104@fastmail.jp> Date: Mon, 21 Jan 2019 06:37:19 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 223AF70F4C X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=fastmail.jp header.s=fm2 header.b=T1wR7jUy; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=AExZp6S8; dmarc=pass (policy=none) header.from=fastmail.jp; spf=pass (mx1.freebsd.org: domain of unigaia@fastmail.jp designates 64.147.123.25 as permitted sender) smtp.mailfrom=unigaia@fastmail.jp X-Spamd-Result: default: False [-7.52 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.25]; FREEMAIL_FROM(0.00)[fastmail.jp]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[fastmail.jp:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(-0.50)[fastmail.jp,none]; MX_GOOD(-0.01)[in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[fastmail.jp]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[25.123.147.64.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[fastmail.jp:s=fm2,messagingengine.com:s=fm1]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_SHORT(-0.99)[-0.994,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-3.42)[ip: (-8.90), ipnet: 64.147.123.0/24(-4.45), asn: 11403(-3.68), country: US(-0.08)]; TO_MATCH_ENVRCPT_SOME(0.00)[] X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.29 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: Mon, 21 Jan 2019 06:37:38 -0000 On 1/20/19 11:21 AM, Pratyush Yadav wrote: > Hey Uni, > > On 1/19/2019 4:59 AM, Uni Gaia wrote: >> Does anyone know if suspend/resume works for a FreeBSD/Xen dom0 ? domU? > > I'm guessing by suspend/resume you mean xl save and xl restore. They > work for FreeBSD domU (with Linux dom0), tested on 13-CURRENT r342020. > I have not tested for FreeBSD as dom0 because I do not have it set up. I am sorry, perhaps it wasn't clear enough. I mean the domU successfully restoring (and obviously, suspending properly in the first place) upon a dom0 suspend/resume cycle. For instance, with QubesOS, which is Linux/Xen based, all virtual machines resume working normally after suspending and resuming the machine. I am considering FreeBSD for a home project, and it requires virtualization (jails not enough). Because it makes no sense to keep the machine on 24/7 in this scenario, and because it would be cumbersome to shutdown the machine every night, I am looking for the possibility of suspending/resuming. I know this works with a Linux dom0 and at least Linux domUs. My preference is FreeBSD dom0 and domUs. But if FreeBSD dom0 fails to suspend/resume and domUs work, I might consider (reluctantly) Linux for the dom0 role. From owner-freebsd-xen@freebsd.org Mon Jan 21 08:28:45 2019 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 20943149C7AA for ; Mon, 21 Jan 2019 08:28:45 +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 B897575459 for ; Mon, 21 Jan 2019 08:28:41 +0000 (UTC) (envelope-from prvs=917dd492e=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.56,502,1539648000"; d="scan'208";a="84854775" Date: Mon, 21 Jan 2019 09:27:20 +0100 From: Roger Pau =?utf-8?B?TW9ubsOp?= To: Uni Gaia CC: , Julien Grall Subject: Re: ARM/ARM64 FreeBSD/Xen Message-ID: <20190121082720.ygi2qknaopcpctq2@mac> References: <7914db96-5c0a-5cc9-3db2-2a85436b9f81@fastmail.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <7914db96-5c0a-5cc9-3db2-2a85436b9f81@fastmail.jp> 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: B897575459 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 [-2.52 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.81)[-0.811,0]; NEURAL_HAM_LONG(-0.98)[-0.979,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)[smtp.citrix.com.au,smtp02.citrix.com,smtp.eu.citrix.com,smtp03.citrix.com,smtp.citrix.com]; NEURAL_HAM_SHORT(-0.70)[-0.703,0]; IP_SCORE(-0.02)[country: GB(-0.09)]; FREEMAIL_TO(0.00)[fastmail.jp]; 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-xen@freebsd.org X-Mailman-Version: 2.1.29 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: Mon, 21 Jan 2019 08:28:45 -0000 On Sat, Jan 19, 2019 at 10:59:08AM +0000, Uni Gaia wrote: > In https://wiki.xenproject.org/wiki/Xen_Project_Release_Features under > "Supported Mainline Architectures for the hypervisor (Host)" it is written > that ARMv7+virt extensions and ARMv8 are supported by Xen. > > Is work ongoing in porting FreeBSD/Xen to ARM/ARM64? AFAIK there's no current effort to port FreeBSD to run on Xen on ARM, either as DomU or Dom0. I'm adding Julien who works on Xen on ARM, he might have more information than myself, since I mostly work on x86. Thanks, Roger. From owner-freebsd-xen@freebsd.org Mon Jan 21 08:32:58 2019 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 E7098149CBF7 for ; Mon, 21 Jan 2019 08:32:57 +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 EAD2175886 for ; Mon, 21 Jan 2019 08:32:56 +0000 (UTC) (envelope-from prvs=917dd492e=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.56,502,1539648000"; d="scan'208";a="84854927" Date: Mon, 21 Jan 2019 09:32:45 +0100 From: Roger Pau =?utf-8?B?TW9ubsOp?= To: Uni Gaia CC: Subject: Re: FreeBSD/Xen suspend/resume Message-ID: <20190121083245.mb2ey6jzbd6e4jac@mac> References: <8eacf0ad-e8e7-c76e-08b8-3b9a4564a291@fastmail.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <8eacf0ad-e8e7-c76e-08b8-3b9a4564a291@fastmail.jp> 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: EAD2175886 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.92 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.67)[-0.673,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; 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]; FORGED_SENDER_VERP_SRS(0.00)[]; NEURAL_HAM_LONG(-0.95)[-0.955,0]; 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]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.26)[-0.262,0]; IP_SCORE(-0.02)[country: GB(-0.09)]; FORGED_SENDER(0.00)[roger.pau@citrix.com,prvs=917dd492e=roger.pau@citrix.com]; FREEMAIL_TO(0.00)[fastmail.jp]; 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-xen@freebsd.org X-Mailman-Version: 2.1.29 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: Mon, 21 Jan 2019 08:32:58 -0000 On Sat, Jan 19, 2019 at 10:59:55AM +0000, Uni Gaia wrote: > Does anyone know if suspend/resume works for a FreeBSD/Xen dom0 ? domU? FreeBSD DomU does suspend and resume just fine, or else it's a bug and should be fixed. I think FreeBSD Dom0 suspend hasn't been tested (at least I haven't tested it myself, neither seen any report on the list). That's mostly because I work with servers. I'm happy to help with this or review patches if someone wants to make it work. Thanks, Roger. From owner-freebsd-xen@freebsd.org Mon Jan 21 08:36:17 2019 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 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-xen@freebsd.org X-Mailman-Version: 2.1.29 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: 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. From owner-freebsd-xen@freebsd.org Mon Jan 21 09:08:44 2019 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 86BA4149EDDC; Mon, 21 Jan 2019 09:08:44 +0000 (UTC) (envelope-from pratiy0100@gmail.com) Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6E05D76C36; Mon, 21 Jan 2019 09:08:43 +0000 (UTC) (envelope-from pratiy0100@gmail.com) Received: by mail-ed1-x544.google.com with SMTP id o10so15912971edt.13; Mon, 21 Jan 2019 01:08:43 -0800 (PST) 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 :cc; bh=JQuR0889vGsLY0owu3Bq9XypPaRStLwQ2OjoHhxc5l4=; b=QqzK0HAjnDA/3fY9UWePAP01q01791bYU07zGHy+oL+aK5J6Bv/gLEMSlKF2iz6en/ 3/Nf7vFcuReXYGMSPiE7G3W3GFVW/KRD2WBUN7OazHI8VQurnRD5oQ2mzzpluirxoRi9 QX/aPAsD+hYs0bKbpdK+DqtZthIqR/N+bV6SdlKksjZA9kD6nNyjlGDIwB5j31UsPIrg RSSDESMP33Kwue0JJLxBU1WjyaTnsC0wHEnnJTp12bPofCioGGYHOgSe7sgRT9fIMI0T EZ/UdxQhoMXBW5vAyfkLAzuvlrk2Gw6IZ6oPyWy6hNYJk90ylBJex84kKFBmT0DkfwvF /ehg== 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:cc; bh=JQuR0889vGsLY0owu3Bq9XypPaRStLwQ2OjoHhxc5l4=; b=OMBBW0irogZxI/xdJXSXYx+fqMxKwp67SNTg/gu3s1LuQmQZs1gvq0y0AihkqLO6AH se4PAKXhn/KHqDYO49g1IMpq0gIC25bmqZrkfJfoQjEtp3HiFfUaMd8CO65E834ehU8A vlDMUuBxB8tNQbFgPKqLkgZc1pQzLv2eaSAstHcFIuRB2yaaYiTfUmatP8ikqGj0VgaO z5cNIkGYxDGMkKu4hVSUQpkzuPbl5RqpxLOrjbZUUP3i2JYctLds5wEIMexjCOIebeMP YH5WQLO+V7K0Xi/d3DYarLpAGk4J1oCrHCx148PKkzP1M/fZ//eP+ev7f9/GewByNhlB bUcA== X-Gm-Message-State: AJcUukeXujke1nBxFp0dHJ0EQ3+SXC879R6qQlRG4W3Dw7sOcI6N1CxX y8UkYJZwkxNgOgreR01NBVvD6zGjH2B7syXuumA= X-Google-Smtp-Source: ALg8bN4/FrZa7m6MKaide2MFvsKKGmx5nBNd4Y0Cgk8aYSyRSwJS0K9LLA9lev+JHaUhs3tdhyC0uABz5jrd+6TkjFE= X-Received: by 2002:a05:6402:8d2:: with SMTP id d18mr26562567edz.119.1548061722283; Mon, 21 Jan 2019 01:08:42 -0800 (PST) MIME-Version: 1.0 References: <8eacf0ad-e8e7-c76e-08b8-3b9a4564a291@fastmail.jp> <7a2cebf8-f29c-ec72-52b9-23bdf7489c58@shrew.net> <744cbbfe-a87f-1bae-df4c-f604deece104@fastmail.jp> In-Reply-To: <744cbbfe-a87f-1bae-df4c-f604deece104@fastmail.jp> From: Pratyush Yadav Date: Mon, 21 Jan 2019 14:38:05 +0530 Message-ID: Subject: Re: FreeBSD/Xen suspend/resume To: Uni Gaia Cc: FreeBSD-Xen , freebsd-virtualization@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 6E05D76C36 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=QqzK0HAj; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of pratiy0100@gmail.com designates 2a00:1450:4864:20::544 as permitted sender) smtp.mailfrom=pratiy0100@gmail.com X-Spamd-Result: default: False [-4.58 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.75)[-0.747,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[4.4.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; IP_SCORE(-0.83)[ip: (-0.07), ipnet: 2a00:1450::/32(-2.14), asn: 15169(-1.85), country: US(-0.08)]; FREEMAIL_TO(0.00)[fastmail.jp]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.29 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: Mon, 21 Jan 2019 09:08:44 -0000 On Mon, 21 Jan 2019 at 12:07, Uni Gaia wrote: > > On 1/20/19 11:21 AM, Pratyush Yadav wrote: > > Hey Uni, > > > > On 1/19/2019 4:59 AM, Uni Gaia wrote: > >> Does anyone know if suspend/resume works for a FreeBSD/Xen dom0 ? domU? > > > > I'm guessing by suspend/resume you mean xl save and xl restore. They > > work for FreeBSD domU (with Linux dom0), tested on 13-CURRENT r342020. > > I have not tested for FreeBSD as dom0 because I do not have it set up. > > I am sorry, perhaps it wasn't clear enough. > > I mean the domU successfully restoring (and obviously, suspending > properly in the first place) upon a dom0 suspend/resume cycle. > > For instance, with QubesOS, which is Linux/Xen based, all virtual > machines resume working normally after suspending and resuming the machine. > > I am considering FreeBSD for a home project, and it requires > virtualization (jails not enough). > > Because it makes no sense to keep the machine on 24/7 in this scenario, > and because it would be cumbersome to shutdown the machine every night, > I am looking for the possibility of suspending/resuming. > > I know this works with a Linux dom0 and at least Linux domUs. > > My preference is FreeBSD dom0 and domUs. > > But if FreeBSD dom0 fails to suspend/resume and domUs work, I might > consider (reluctantly) Linux for the dom0 role. AFAIK, FreeBSD does not support suspend/resume to disk at all [0], let alone FreeBSD with Xen (someone correct me if I'm wrong). There is support for suspending to RAM, but that is shaky from what I can gather [1]. But you can look into Xen's save and restore features (xl save and xl restore). They save/restore a domU to/from disk. So if in your setup you can shut down your dom0, and saving states of domUs is enough, you can set up a script to save your domUs to a file before shutdown and get them running back up on boot. Otherwise, you can look into bhyve, FreeBSD's virtualization solution. I don't know if bhyve supports suspend and resuming of VMs, but you can ask the folks at the freebsd-virtualization@ mailing list. [0] https://wiki.freebsd.org/IdeasPage#Suspend_to_disk [1] https://wiki.freebsd.org/SuspendResume Regards, Pratyush Yadav From owner-freebsd-xen@freebsd.org Mon Jan 21 10:48:49 2019 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 B147A14A40CB for ; Mon, 21 Jan 2019 10:48:49 +0000 (UTC) (envelope-from julien.grall@arm.com) Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by mx1.freebsd.org (Postfix) with ESMTP id 6E865832C5 for ; Mon, 21 Jan 2019 10:48:48 +0000 (UTC) (envelope-from julien.grall@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E011AEBD; Mon, 21 Jan 2019 02:48:40 -0800 (PST) Received: from [10.1.196.50] (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E12653F5C1; Mon, 21 Jan 2019 02:48:39 -0800 (PST) Subject: Re: ARM/ARM64 FreeBSD/Xen To: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , Uni Gaia Cc: freebsd-xen@freebsd.org References: <7914db96-5c0a-5cc9-3db2-2a85436b9f81@fastmail.jp> <20190121082720.ygi2qknaopcpctq2@mac> From: Julien Grall Message-ID: Date: Mon, 21 Jan 2019 10:48:37 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <20190121082720.ygi2qknaopcpctq2@mac> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 6E865832C5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of julien.grall@arm.com designates 217.140.101.70 as permitted sender) smtp.mailfrom=julien.grall@arm.com X-Spamd-Result: default: False [-2.52 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.974,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:217.140.96.0/20]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[arm.com]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.18)[0.180,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[arm-com.mail.protection.outlook.com,arm-com.mail.protection.outlook.com]; IP_SCORE(-0.02)[country: GB(-0.09)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:28939, ipnet:217.140.101.0/24, country:GB]; RCVD_IN_DNSWL_HI(-0.50)[70.101.140.217.list.dnswl.org : 127.0.9.3]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.29 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: Mon, 21 Jan 2019 10:48:49 -0000 Hi, On 21/01/2019 08:27, Roger Pau Monné wrote: > On Sat, Jan 19, 2019 at 10:59:08AM +0000, Uni Gaia wrote: >> In https://wiki.xenproject.org/wiki/Xen_Project_Release_Features under >> "Supported Mainline Architectures for the hypervisor (Host)" it is written >> that ARMv7+virt extensions and ARMv8 are supported by Xen. >> >> Is work ongoing in porting FreeBSD/Xen to ARM/ARM64? > > AFAIK there's no current effort to port FreeBSD to run on Xen on ARM, > either as DomU or Dom0. > > I'm adding Julien who works on Xen on ARM, he might have more > information than myself, since I mostly work on x86. I worked on a port a few years ago but never had time to properly upstream it. I am not aware for more work since then. With my work, I was able to boot FreeBSD as both DomU and Dom0 guest. The work can be found on my git repository [1]. IIRC the branch dev-arm64 contains just enough boot a DomU and Dom0. There are other branches (e.g dev-evtchn, dev-xen-upstream) that contains cleanup series for making easier to have common Xen code between architectures. I am happy to provide help using the branches if you are interested. Although I haven't worked on them for the past 3 years :). Best regards, [1] https://xenbits.xen.org/gitweb/?p=people/julieng/freebsd.git;a=heads -- Julien Grall From owner-freebsd-xen@freebsd.org Mon Jan 21 20:54:02 2019 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 A41F314B8115; Mon, 21 Jan 2019 20:54:02 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mx1.shrew.net (mx1.shrew.net [38.97.5.131]) (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 D954C81AC6; Mon, 21 Jan 2019 20:53:56 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mail.shrew.net (mail.shrew.prv [10.24.10.20]) by mx1.shrew.net (8.15.2/8.15.2) with ESMTP id x0LKrmZX059543; Mon, 21 Jan 2019 14:53:48 -0600 (CST) (envelope-from mgrooms@shrew.net) Received: from [10.16.32.30] (unknown [172.126.77.65]) by mail.shrew.net (Postfix) with ESMTPSA id BC88519539A; Mon, 21 Jan 2019 14:53:42 -0600 (CST) Subject: Re: FreeBSD/Xen suspend/resume To: Pratyush Yadav Cc: FreeBSD-Xen , freebsd-virtualization@freebsd.org, unigaia@fastmail.jp References: <8eacf0ad-e8e7-c76e-08b8-3b9a4564a291@fastmail.jp> <7a2cebf8-f29c-ec72-52b9-23bdf7489c58@shrew.net> <744cbbfe-a87f-1bae-df4c-f604deece104@fastmail.jp> From: Matthew Grooms Message-ID: Date: Mon, 21 Jan 2019 14:53:40 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.shrew.net [10.24.10.10]); Mon, 21 Jan 2019 14:53:48 -0600 (CST) X-Rspamd-Queue-Id: D954C81AC6 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of mgrooms@shrew.net designates 38.97.5.131 as permitted sender) smtp.mailfrom=mgrooms@shrew.net X-Spamd-Result: default: False [3.17 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_SPAM_SHORT(0.70)[0.697,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[shrew.net]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_MEDIUM(0.92)[0.921,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mx1.shrew.net,mx2.shrew.net]; NEURAL_SPAM_LONG(0.88)[0.879,0]; RCVD_IN_DNSWL_NONE(0.00)[131.5.97.38.list.dnswl.org : 127.0.10.0]; IP_SCORE(0.99)[ipnet: 38.0.0.0/8(2.79), asn: 174(2.22), country: US(-0.08)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:174, ipnet:38.0.0.0/8, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.29 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: Mon, 21 Jan 2019 20:54:02 -0000 On 1/21/2019 3:08 AM, Pratyush Yadav wrote: > ... > Otherwise, you can look into bhyve, FreeBSD's virtualization solution. > I don't know if bhyve supports suspend and resuming of VMs, but you > can ask the folks at the freebsd-virtualization@ mailing list. Not at present. But, support for suspend, resume & migration is getting closer every day ... https://github.com/FreeBSD-UPB/freebsd/branches -Matthew