]> xenbits.xensource.com Git - libvirt.git/commit
cpu_x86: Require <cpuid> within <feature> in CPU map
authorJiri Denemark <jdenemar@redhat.com>
Wed, 13 Mar 2019 09:23:01 +0000 (10:23 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 8 Apr 2019 13:28:59 +0000 (15:28 +0200)
commitdbc04114f3d14b53c999bd89db51276358b1aba3
treeee2eb8121fe5ca8de2a756240b15dcd252945adf
parentbe46f613261d3b655a1f15afd635087e68a9c39b
cpu_x86: Require <cpuid> within <feature> in CPU map

A feature with no cpuid element is invalid and it should not be silently
treated as a feature with all CPUID bits set to zero.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/cpu/cpu_x86.c