qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Regression: Xen guest with 5G of RAM on 32bit fail to boot
@ 2015-12-01 17:53 Anthony PERARD
  2015-12-01 18:37 ` Dr. David Alan Gilbert
  2015-12-02 10:30 ` Paolo Bonzini
  0 siblings, 2 replies; 8+ messages in thread
From: Anthony PERARD @ 2015-12-01 17:53 UTC (permalink / raw)
  To: QEMU-devel
  Cc: Paolo Bonzini, Stefano Stabellini, Xen Devel,
	Dr. David Alan Gilbert, Juan Quintela

Hi,

Under Xen, a guest with 5G of RAM, with a 32bit binary QEMU (well, with a
32bit dom0) does not boot anymore. QEMU abort() with "Bad ram offset efffd000".

This issue first appear in 4ed023ce2a39ab5812d33cf4d819def168965a7f (Round
up RAMBlock sizes to host page sizes).

The problem is in qemu_ram_alloc_internal() where 'size' and 'maxsize' are
now been truncate to 32bit, due to 'qemu_host_page_size' been an uintptr_t
in the HOST_PAGE_ALIGN macro.

ram_add_t is uint64_t when compiled with --enable-xen.

Regards,

-- 
Anthony PERARD

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

end of thread, other threads:[~2015-12-02 12:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-01 17:53 [Qemu-devel] Regression: Xen guest with 5G of RAM on 32bit fail to boot Anthony PERARD
2015-12-01 18:37 ` Dr. David Alan Gilbert
2015-12-01 18:50   ` Anthony PERARD
2015-12-02 10:30 ` Paolo Bonzini
2015-12-02 10:44   ` Dr. David Alan Gilbert
2015-12-02 11:59   ` Paolo Bonzini
2015-12-02 12:05     ` Dr. David Alan Gilbert
2015-12-02 12:11     ` Juan Quintela

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