Received: from eggs.gnu.org ([2001:4830:134:3::10]:36356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOTvI-0005xj-64 for qemu-devel@nongnu.org; Mon, 01 Sep 2014 11:53:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOTvB-0006NO-FP for qemu-devel@nongnu.org; Mon, 01 Sep 2014 11:53:40 -0400 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:64360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOTvB-0006NJ-8A for qemu-devel@nongnu.org; Mon, 01 Sep 2014 11:53:33 -0400 Received: by mail-wg0-f49.google.com with SMTP id y10so5663178wgg.32 for ; Mon, 01 Sep 2014 08:53:32 -0700 (PDT) Date: Mon, 1 Sep 2014 16:53:29 +0100 From: Stefan Hajnoczi Message-ID: <20140901155329.GE22346@stefanha-thinkpad.redhat.com> References: <1408789147-18675-1-git-send-email-lersek@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JBi0ZxuS5uaEhkUZ" Content-Disposition: inline In-Reply-To: <1408789147-18675-1-git-send-email-lersek@redhat.com> Subject: Re: [Qemu-devel] [PATCH 0/2] pflash (UEFI varstore) migration shortcut for libvirt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laszlo Ersek Cc: Kevin Wolf , Juan Quintela , Michal Privoznik , David Gilbert , qemu devel list , Stefan Hajnoczi , Paolo Bonzini --JBi0ZxuS5uaEhkUZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 23, 2014 at 12:19:05PM +0200, Laszlo Ersek wrote: > Libvirt is growing support for x86_64 OVMF guests: >=20 > http://www.redhat.com/archives/libvir-list/2014-August/msg01045.html >=20 > An important feature of such guests is the persistent store for > non-volatile UEFI variables. This is implemented with if=3Dpflash drives. > The referenced libvirt patchset sets up the varstore files for > single-host use. >=20 > Wrt. migration, two choices have been considered: > (a) full-blown live storage migration for the drives backing pflash > devices, > (b) vs. a shortcut that exploits the special nature of pflash drives > (namely, their minuscule size, and a RAMBlock that keeps the full > contents of each pflash drive visible to the guest, and is > up-to-date, at all times.) >=20 > Patch 1/2 is a trivial cleanup (some DPRINTF() calls in pflash_cfi01 > have bit-rotted). Patch 2/2 seeks to implement choice (b), which is what > the libvirt patchset relies on for migration. >=20 > Thanks, > Laszlo >=20 > Laszlo Ersek (2): > pflash_cfi01: fixup stale DPRINTF() calls > pflash_cfi01: write flash contents to bdrv on incoming migration >=20 > hw/block/pflash_cfi01.c | 18 ++++++++++++++++-- > 1 file changed, 16 insertions(+), 2 deletions(-) Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan --JBi0ZxuS5uaEhkUZ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUBJZ5AAoJEJykq7OBq3PIdCYH/jndMyF2znslUnyFED0dP0Mu iTf14AeYOVZyzefDlgLTkIMJtsN8t3Gfk/UOrMZdEPN9L0OCiBNsZ91FuFuJYoz9 WScP4B+kBAFwLDyBmjjAbuR3I+4uc14ZSxT/gUOw+aiLy973GkKfbs73v8lEm1lL vcAqz1DFe2SFWJqFfYm7tXraqBvUk+d/B1uk0FkifFW6302LsVZCFZgvRR5CWA4y rOQDiXygyF6T26agL7Ng+yapy8yL1d7zeDWlSBBkfGtpMzS+FZ6IFG+uX83BTqJO dXdM411aaHrDmSPKRS4H4Qg4ACz6SPyyvVoLk4pIQ1FK1eqCIRSR4WhQs4Cb+hw= =Y8GV -----END PGP SIGNATURE----- --JBi0ZxuS5uaEhkUZ--