Re: [Qemu-devel] automatic exit on memory errors

2012-04-11 Thread Stefan Hajnoczi
On Wed, Apr 4, 2012 at 5:38 PM, Frediano Ziglio wrote: > Anybody considered this problem? In QEMU there are a few different types of memory allocation: 1. Internal data structures allocated at startup. This happens before the VM is running exiting on out-of-memory is fine here. 2. Transient al

[Qemu-devel] automatic exit on memory errors

2012-04-04 Thread Frediano Ziglio
Hi, I just realized that on any out of memory conditions Qemu exit with an error. I found this thread on g_malloc http://comments.gmane.org/gmane.comp.emulators.qemu/128863 but nothing related to the exit conditions. I know that out of memory conditions is quite hard to handle but if some