]> git.ipfire.org Git - thirdparty/qemu.git/commit
x86: Use common variable range MTRR counts
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 14 Aug 2014 21:39:27 +0000 (15:39 -0600)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 10 Sep 2014 14:30:57 +0000 (09:30 -0500)
commit07f8c97f84a4cf4ac84f4374682194156525ede9
tree2d8d2c26896c764a33ad72a86e21ab90d0d3fdcd
parent72c9c9a05e79d4638bb248bc1cc903839b8f676f
x86: Use common variable range MTRR counts

We currently define the number of variable range MTRR registers as 8
in the CPUX86State structure and vmstate, but use MSR_MTRRcap_VCNT
(also 8) to report to guests the number available.  Change this to
use MSR_MTRRcap_VCNT consistently.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit d8b5c67b05420d966664664ff287af05b884bdd1)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target-i386/cpu.h
target-i386/machine.c