On Thu, Dec 03, 2020 at 13:36:13 +0100, Michal Privoznik wrote:
There is this function qemuDomainDefValidateMemoryHotplug() which
is called explicitly from hotplug path and the qemu's domain def
validator. This is not really necessary because we can move the
part that validates feature against qemuCaps into device
validator which is called implicitly (from qemu driver's POV).
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
src/qemu/qemu_domain.c | 32 +-------------------------------
src/qemu/qemu_validate.c | 16 +++++++++++++++-
2 files changed, 16 insertions(+), 32 deletions(-)
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>