All of lore.kernel.org
 help / color / mirror / Atom feed
* memsize for HVM save/restore
@ 2007-03-24 11:37 Zhai, Edwin
  2007-03-24 14:18 ` Keir Fraser
  0 siblings, 1 reply; 6+ messages in thread
From: Zhai, Edwin @ 2007-03-24 11:37 UTC (permalink / raw)
  To: Keir, Ewan Mellor; +Cc: xen-devel


As you know, HVM save/restore broke recently because restored config miss guest 
memsize that used by xc_hvm_restore to locate some pfn.

After discussion, we decided to remove the pfn deduction logic from restore side 
by adding a general memory layout. I have a patch for it.

But then qemu broke, because it also require the memsize to locate the share 
page. We can't use the previous method, as it requires a lot of changes in qemu.

The memsize in xmconfig file is only used at the beginning of create, then
lost when runing and restore. we have memory_{dynamic,static}_{max,min} for 
keeping mem config, but all of them are useless in this case.

I have witnessed the fluctuation of memsize config: first as 'memory', then 
'memory_static_min', now disappear. 

Guest memsize is an important parameter, so it should be constantly kept in an 
fixed config entry just like others(vcpus...). Am I right?

-- 
best rgds,
edwin

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

end of thread, other threads:[~2007-03-27 15:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-24 11:37 memsize for HVM save/restore Zhai, Edwin
2007-03-24 14:18 ` Keir Fraser
2007-03-26  3:13   ` Zhai, Edwin
2007-03-26 18:31     ` Keir Fraser
2007-03-27 15:42       ` Zhai, Edwin
2007-03-27 15:52         ` Keir Fraser

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.