All of lore.kernel.org
 help / color / mirror / Atom feed
* Strange (???) xl behavior for save, migrate and migrate-receive
@ 2011-10-17 17:40 Daniel Kiper
  2011-10-17 18:44 ` Dan Magenheimer
  2011-10-17 19:12 ` Olaf Hering
  0 siblings, 2 replies; 10+ messages in thread
From: Daniel Kiper @ 2011-10-17 17:40 UTC (permalink / raw)
  To: xen-devel, konrad.wilk, ian.jackson, ian.campbell, jeremy,
	v.tolstov

Hi,

During work on memory hotplug for Xen I have received some notices
that it breaks machine migration. I had some time and I done some
tests a few days ago. It looks that source of this problem is
xl command itself. I discovered that generic save/restore mechanism
is used for machine migration. xl save store machine config which
was used at machine startup with current machine state. It means
that it does not take into account any config changes which were made
during machine run. This behavior does not allow migrating domain,
on which memory hotplug was used, to restore on destination host
because current size of memory allocated for machine is larger than
size of memory allocated at startup by memory option. Yes, it is
memory option not maxmem option. However, it is not important here
because I think that generic behavior of xl save, migrate and migrate-receive
should be changed (fix for memory hotplug case is workaround for the
generic problem which will return sooner or later). I think that xl save,
migrate and migrate-receive should use current machine state and __CURRENT__
config (from xenstore ???) to do their tasks. However, I am aware that
this change could have large impact on current users. That is why I decided
to ask you about your opinion and suggested solutions in that case
(in general not memory hotplug only).

Currently, these problems could be workaround by passing
path to config file with current config to xl command.

I have done tests on Xen Ver. 4.1.2-rc3. I have not done tests
on xm command, however, I suppose that it has similar behavior.

Daniel

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

end of thread, other threads:[~2011-11-02 20:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-17 17:40 Strange (???) xl behavior for save, migrate and migrate-receive Daniel Kiper
2011-10-17 18:44 ` Dan Magenheimer
2011-10-18  8:19   ` Ian Campbell
2011-10-18 15:16     ` Daniel Kiper
2011-10-18 17:58       ` Dan Magenheimer
2011-11-02 14:17       ` Vasiliy Tolstov
2011-11-02 20:33         ` Daniel Kiper
2011-10-18 15:22   ` Daniel Kiper
2011-10-17 19:12 ` Olaf Hering
2011-10-18 15:32   ` Daniel Kiper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.