Let's say I create a virtual machine with 512mb of memory.
Checking the Xen .cfg file, I see "maxmem=4096" as well.
Needs control over that parameter. It's what allows domUs to balloon out of control if they want more than the memory allocated to them.
We created Swap for a reason, and maxmem shouldn't be able to override all of that work.