qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] pflash (UEFI varstore) migration shortcut for libvirt
@ 2014-08-23 10:19 Laszlo Ersek
  2014-08-23 10:19 ` [Qemu-devel] [PATCH 1/2] pflash_cfi01: fixup stale DPRINTF() calls Laszlo Ersek
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Laszlo Ersek @ 2014-08-23 10:19 UTC (permalink / raw)
  To: Michal Privoznik, Eric Blake, Daniel P. Berrange, Paolo Bonzini,
	Kevin Wolf, Stefan Hajnoczi, Juan Quintela, David Gilbert,
	Laszlo Ersek, qemu devel list

Libvirt is growing support for x86_64 OVMF guests:

http://www.redhat.com/archives/libvir-list/2014-August/msg01045.html

An important feature of such guests is the persistent store for
non-volatile UEFI variables. This is implemented with if=pflash drives.
The referenced libvirt patchset sets up the varstore files for
single-host use.

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.)

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.

Thanks,
Laszlo

Laszlo Ersek (2):
  pflash_cfi01: fixup stale DPRINTF() calls
  pflash_cfi01: write flash contents to bdrv on incoming migration

 hw/block/pflash_cfi01.c | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-09-19  8:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-23 10:19 [Qemu-devel] [PATCH 0/2] pflash (UEFI varstore) migration shortcut for libvirt Laszlo Ersek
2014-08-23 10:19 ` [Qemu-devel] [PATCH 1/2] pflash_cfi01: fixup stale DPRINTF() calls Laszlo Ersek
2014-08-23 10:19 ` [Qemu-devel] [PATCH 2/2] pflash_cfi01: write flash contents to bdrv on incoming migration Laszlo Ersek
2014-08-25 10:33 ` [Qemu-devel] [PATCH 0/2] pflash (UEFI varstore) migration shortcut for libvirt Paolo Bonzini
2014-09-19  6:48   ` Alexey Kardashevskiy
2014-09-19  8:13     ` Paolo Bonzini
2014-08-27  8:58 ` Daniel P. Berrange
2014-08-27  9:21   ` Laszlo Ersek
2014-09-01 15:53 ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).