From: Luyao Huang Date: Mon, 20 Aug 2018 09:48:33 +0000 (+0800) Subject: qemu: Validate memory access during validate domain config X-Git-Tag: v4.7.0-rc2^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe67e3e28e9887248610e6106d6245741acb7f96;p=thirdparty%2Flibvirt.git qemu: Validate memory access during validate domain config Commit 6534b3c4 tried to raise an error when there is no numa nodes by setting access='shared' in the domain config, but added a helper called from qemuDomainDeviceDefValidate instead of a helper called from qemuDomainDefValidate for XML: Since there are no memory devices in the test XML, there would be no validation failure, but the test added was still failing. Investigating that it turns out that unnecessary XML elements were causing the failure (no need for