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.