target/i386: Consolidate the X86XSaveArea offset checks
commit436463b84b75fad6ff962e45a2220a7d1d17557e
authorDavid Edmondson <david.edmondson@oracle.com>
Mon, 5 Jul 2021 10:46:26 +0000 (5 11:46 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Jul 2021 05:54:53 +0000 (6 07:54 +0200)
tree9c30d8f7f43851037422b75afac8a7e1160abf66
parentac7b7cae4e8598359a2a7557899904c9563a776a
target/i386: Consolidate the X86XSaveArea offset checks

Rather than having similar but different checks in cpu.h and kvm.c,
move them all to cpu.h.
Message-Id: <20210705104632.2902400-3-david.edmondson@oracle.com>

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.h
target/i386/kvm/kvm.c