Re: [PATCH] qemu: Validate memory hotplug in domainValidateCallback instead of cmd line generator

2020-08-31 Thread Daniel Henrique Barboza
On 8/31/20 10:44 AM, Michal Privoznik wrote: When editing a domain with hotplug enabled, I removed the only NUMA node it had and got no error. I got the error later though, when starting the domain. This is not as user friendly as it can be. Move the validation call out from command line gener

[PATCH] qemu: Validate memory hotplug in domainValidateCallback instead of cmd line generator

2020-08-31 Thread Michal Privoznik
When editing a domain with hotplug enabled, I removed the only NUMA node it had and got no error. I got the error later though, when starting the domain. This is not as user friendly as it can be. Move the validation call out from command line generator and into domain validator (which is called pr