qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] fw cfg files cross-version migration races
@ 2015-06-01 14:10 Michael S. Tsirkin
  2015-06-01 14:13 ` Daniel P. Berrange
  0 siblings, 1 reply; 20+ messages in thread
From: Michael S. Tsirkin @ 2015-06-01 14:10 UTC (permalink / raw)
  To: qemu-devel; +Cc: somlo, kraxel

Hi all,
At the moment we have devices adding and removing fw cfg file entries.
One problem is that this makes the contents of fw cfg
depend on order of device initialization.
Since the fw cfg file list is not migrated, this means that
guest will break if it is migrated between qemu versions
which generate the list diferently, and if migration triggers
while guest happens to read fw cfg.

As there are plans to extend the use of fw cfg, I think it's
important to fix this issue sooner rather than later.

Ideas:
	- sort fw cfg files by name before exposing them to guest
	- keep doing what we did for compat machine types,
	  hope that things don't break too often


More ideas? Comments? Anyone wants to try implementing this?

-- 
MST

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

end of thread, other threads:[~2015-06-08 15:53 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-01 14:10 [Qemu-devel] fw cfg files cross-version migration races Michael S. Tsirkin
2015-06-01 14:13 ` Daniel P. Berrange
2015-06-01 15:32   ` Gabriel L. Somlo
2015-06-01 15:44     ` Michael S. Tsirkin
2015-06-01 18:00       ` Gabriel L. Somlo
2015-06-01 20:31         ` Gabriel L. Somlo
2015-06-02  7:04           ` Laszlo Ersek
2015-06-02  7:11           ` Gerd Hoffmann
2015-06-03  8:31             ` Paolo Bonzini
2015-06-03 16:03             ` Michael S. Tsirkin
2015-06-05 16:05             ` Gabriel L. Somlo
2015-06-08  7:21               ` Gerd Hoffmann
2015-06-08  9:43                 ` Michael S. Tsirkin
2015-06-08 11:19                   ` Gerd Hoffmann
2015-06-08 11:44                     ` Paolo Bonzini
2015-06-08 12:23                       ` Gabriel L. Somlo
2015-06-08 12:28                         ` Paolo Bonzini
2015-06-08 12:33                         ` Gerd Hoffmann
2015-06-08 13:32                           ` Gabriel L. Somlo
2015-06-08 15:53                             ` Michael S. Tsirkin

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