bug? hvm builder memory allocation ...
Hi,
hvm memory allocation looks buggy in unstable: First it allocates memory using two xc_domain_memory_populate_physmap() calls, explicitly excluding the vga hole, then the (not allocated) vga hole is released via xc_domain_memory_decrease_reservation() ...
cheers,
Gerd
Signature · 2 lines
Gerd Hoffmann <[email protected]> http://www.suse.de/~kraxel/julika-dora.jpeg
Well clearly it works. I'm not sure why though. :-) The decrease_reservation() request ought to fail and hence fail the HVM guest creation. I'll look into it.
-- Keir
Quoted 9 lines · Gerd Hoffmann
Hi,
hvm memory allocation looks buggy in unstable: First it allocates memory using two
xc_domain_memory_populate_physmap()calls, explicitly excluding the vga hole, then the (not allocated) vga hole is released viaxc_domain_memory_decrease_reservation()...cheers,
Gerd
Error handling in xc_domain_{increase,decrease}_reservation() was broken. With that fixed the HVM builder was indeed broken, so I removed the unnecessary decrease_reservation() call. This is all fixed in c/s 12273:5a41ea282c.
Thanks,
Keir
Quoted 24 lines · Keir Fraser
Well clearly it works. I'm not sure why though. :-) The
decrease_reservation()request ought to fail and hence fail the HVM guest creation. I'll look into it.-- Keir
Quoted 9 lines · Gerd Hoffmann
Hi,
hvm memory allocation looks buggy in unstable: First it allocates memory using two
xc_domain_memory_populate_physmap()calls, explicitly excluding the vga hole, then the (not allocated) vga hole is released viaxc_domain_memory_decrease_reservation()...cheers,
Gerd_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel