]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm: Fix off-by-one bugs in kvm__setup_cpuid()
authorPekka Enberg <penberg@cs.helsinki.fi>
Sun, 11 Apr 2010 13:35:35 +0000 (16:35 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Sun, 11 Apr 2010 13:36:54 +0000 (16:36 +0300)
commit282c6d6ce8da4c0502385779ab92abe8312778f5
tree871ac7e651f24c642c282720b9086f063f64b9b1
parent3787712fd620d51eaa5794fd8570aa526a0fc6e4
kvm: Fix off-by-one bugs in kvm__setup_cpuid()

The cpuid_highest_func() and cpuid_highest_ext_func() return the highest
possible function number, not the first non-existing function.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
tools/kvm/cpuid.c