]> git.ipfire.org Git - thirdparty/libvirt.git/commit
numa_conf: Move memnode mode validation into virDomainNumaDefValidate()
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 18 May 2023 08:27:52 +0000 (10:27 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 22 May 2023 11:57:44 +0000 (13:57 +0200)
commitf6ba9fc12a043b5be636bc199d1bc7b2ec2fa227
treeaaa8808297c56e11a94e8e2677c2053d8a0a2b9e
parenta152d856c312bf6856fda0f76636c7a2700a3e63
numa_conf: Move memnode mode validation into virDomainNumaDefValidate()

When parsing a <memnode/> we also check whether the @mode
argument fulfills some requirements wrt 'restrictive' mode. This
is not the right place though. There's virDomainNumaDefValidate()
which contains other checks.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/conf/numa_conf.c