Re: [PATCH] libxl: Fix Domain-0 ballooning logic

2023-09-19 Thread Jim Fehlig
On 9/19/23 06:50, Michal Prívozník wrote: On 9/18/23 19:16, Jim Fehlig wrote: When Domain-0 autoballooning is enabled, it's possible that memory may need to be ballooned down in Domain-0 to accommodate the needs of another virtual machine. libxlDomainFreeMemory handles this task, but due to a

Re: [PATCH] libxl: Fix Domain-0 ballooning logic

2023-09-19 Thread Michal Prívozník
On 9/18/23 19:16, Jim Fehlig wrote: > When Domain-0 autoballooning is enabled, it's possible that memory may > need to be ballooned down in Domain-0 to accommodate the needs of another > virtual machine. libxlDomainFreeMemory handles this task, but due to a > logic bug is underflowing the variable

[PATCH] libxl: Fix Domain-0 ballooning logic

2023-09-18 Thread Jim Fehlig
When Domain-0 autoballooning is enabled, it's possible that memory may need to be ballooned down in Domain-0 to accommodate the needs of another virtual machine. libxlDomainFreeMemory handles this task, but due to a logic bug is underflowing the variable containing Domain-0 new target memory. The