On Jul 14, 2015 4:51 AM, "George Dunlap" wrote: > > On Sat, Jul 11, 2015 at 10:30 PM, Eric Shelton wrote: > > Allocate additional memory to the stub domain for qemu-traditional if > > more than 4 MB is assigned to the video adapter to avoid out of memory > > condition for QEMU. > > > > Signed-off-by: Eric Shelton > > This seems like a good fix for now, thanks. > > But (just speaking to people in general) it does make it even harder > to predict exactly how much host memory a VM is going to end up > needing to start, which is something a lot of people complain about. > > I'm beginning to think that one feature we should try to look at is a > way for the admin to specify, "Max host memory used", from which > shadow/p2m/device memory/stubdomain can all be "allocated". Just curious: what happens when all of that memory has been "allocated," yet there is still plenty of memory overall? Would you not be able to spin up a domain despite there actually being plenty of memory to do so? Eric