From fe67e3e28e9887248610e6106d6245741acb7f96 Mon Sep 17 00:00:00 2001 From: Luyao Huang Date: Mon, 20 Aug 2018 17:48:33 +0800 Subject: [PATCH] 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