Comment 16 for bug 570588

Peter Maydell (pmaydell) wrote :

I wrote:
"The physical memory map on versatile hardware does not allow more than 256MB of space for RAM. The bug here is just that qemu should exit with a helpful error message"

...and I've just submitted the following two patches upstream which implement this:

so passing '-M versatilepb -m 512' to qemu-system-arm results in it failing cleanly with the message:
qemu: maximum permitted RAM size for 'versatilepb' is 256M