qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Change of max-ram-below-4g initial value breaks Xen
@ 2016-06-22 15:09 Anthony PERARD
  2016-06-22 15:27 ` Gerd Hoffmann
  2016-06-23 14:57 ` Gerd Hoffmann
  0 siblings, 2 replies; 6+ messages in thread
From: Anthony PERARD @ 2016-06-22 15:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: xen-devel, Stefano Stabellini, Paolo Bonzini, Gerd Hoffmann

Hi,

following commit 8156d48 (pc: allow raising low memory via
max-ram-below-4g option), guest under Xen fail to boot. This is due to
the initial value of max-ram-below-4g been change from 4G to 3.5G.
Unfortunately, a Xen guest have a higher default split, at 3.75G, but
can be change via the -machine options max-ram-below-4g. Now, it looks
like a user ask for 3.5G where the rest of the Xen tool stack is still
at 3.75G.

In QEMU, the ram split calculation for Xen is done in xen_ram_init(). It
can be change via max-ram-below-4g.

The hvmloader firmware will start the MMIO hole at 3.75G unless told
otherwise via a xenstore entry. The xenstore entry can be set by the Xen
toolstack, which would also add 'max-ram-below-4g' to -machine if a user
request it.


How could xen_ram_init() find out if the value of max-ram-below-4g is
the default or if a user have set it? Is there another way we could fix
this?


Regards,

-- 
Anthony PERARD

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

end of thread, other threads:[~2016-06-24 11:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-22 15:09 [Qemu-devel] Change of max-ram-below-4g initial value breaks Xen Anthony PERARD
2016-06-22 15:27 ` Gerd Hoffmann
2016-06-23 14:57 ` Gerd Hoffmann
2016-06-23 16:18   ` Anthony PERARD
2016-06-24  5:46     ` Gerd Hoffmann
2016-06-24 11:19       ` Anthony PERARD

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