From nobody Sat Apr 29 11:33:00 2023 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q7nQm1mVYz48sFC for ; Sat, 29 Apr 2023 11:33:04 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q7nQm1410z3vq4 for ; Sat, 29 Apr 2023 11:33:04 +0000 (UTC) (envelope-from mad@madpilot.net) Authentication-Results: mx1.freebsd.org; none Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 4Q7nQl0j7Rz6wBY; Sat, 29 Apr 2023 13:33:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:references:content-language:subject:subject:date:date :message-id:received; s=bjowvop61wgh; t=1682767981; x= 1684582382; bh=lSJ3gNLMc1GyAwoAQtUu+wqbpmKsz/D17hlZtR+crpY=; b=h yU6qIsjqCOuRyZrEFDSQnlVPOeWikeXewrN4K6Ag63eG3leUmbZCFXwdmNkxytxz cckA04v/Naa65JZGYAFxPD9itxtTudQpJ7OLedQ89Isp8rFWOrv2JAe+rxZk70ZO jviewIiYt+LNsPfFdJn0TiNisOmOs+sMYxLj1gdLLPLICtX2HPTRwvSU1BVIdu2Y nkEQcEGjoA1VwUyrw2buYuk0ZvVGEG0tOmtn3n1VmtBGRMBkrVdUItBX6VxruV7R 8k7YTL007dDoLwKIciPcP1udc9m4x+GGuq6SC8HduImEZGh981ixA2fi1InL3nfx Ar00dpXsh9JysTRSM4Oeg== Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10026) with ESMTP id QOxiaAz9FWOY; Sat, 29 Apr 2023 13:33:01 +0200 (CEST) Message-ID: <78195461-2297-ca49-22a5-291cd805d59a@madpilot.net> Date: Sat, 29 Apr 2023 13:33:00 +0200 Subject: Re: BHYVE_SNAPSHOT Content-Language: en-US To: Tomek CEDRO , freebsd-hackers@freebsd.org References: From: Guido Falsi In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Q7nQm1410z3vq4 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org On 29/04/23 13:29, Tomek CEDRO wrote: > On Sat, Apr 29, 2023 at 1:17 PM void wrote: >> Where can I read up about the recently introduced BHYVE_SNAPSHOT ? > > Have you tried vm-bhyve? This is really simple frontend to > create/manage/snapshot bhyve vms.. it is using dedicated zfs poll for > vm storage and uses zfs snapshot for the vm snapshot :-) > > https://www.freshports.org/sysutils/vm-bhyve/ > I do use vm-bhyve and find it very useful (also contributed some small patches there) but please note that the snapshots vm-bhyve performs are only disk image snapshots, and it explicitly protects you from creating snapshots of running vms, since those can be corrupt. The functionality void is talking about is bhyve provided snapshots of a running VM, including all it's memory and state, to be restore exactly as it was at a later a time, and, I think, on a different physical machine. I don't see any support for this in vm-bhyve. -- Guido Falsi