target/i386: Added MSRPM and IOPM size check
authorLara Lazier <laramglazier@gmail.com>
Mon, 5 Jul 2021 08:17:59 +0000 (10:17 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 9 Jul 2021 16:21:33 +0000 (18:21 +0200)
commit481077b28b3edee0d6c6cfbd48774270f819aaf1
treed923a07368c3583b2e50cee8f409d8ce97ae01bd
parentbca6eb34f0318b1b8211c9d227d5439e2d44286d
target/i386: Added MSRPM and IOPM size check

The address of the last entry in the MSRPM and
in the IOPM must be smaller than the largest physical address.
(APM2 15.10-15.11)

Signed-off-by: Lara Lazier <laramglazier@gmail.com>
Message-Id: <20210705081802.18960-2-laramglazier@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/svm.h
target/i386/tcg/sysemu/svm_helper.c