whpx: move internal definitions to whpx-internal.h
commit84f4ef17ae9933e27699077a2840a9ea251ca38f
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 19 Dec 2020 09:06:37 +0000 (19 04:06 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 12 Jan 2021 11:38:03 +0000 (12 12:38 +0100)
treefe9fbc35c72b3eae9aed12333f7e32fef366d608
parent9102c968216460c27be1c476938c3e2d508f5fc7
whpx: move internal definitions to whpx-internal.h

Only leave the external interface in sysemu/whpx.h.  whpx_apic_in_platform
is moved to a .c file because it needs whpx_state.

Reported-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20201219090637.1700900-3-pbonzini@redhat.com>
include/sysemu/whpx.h
target/i386/whpx/whpx-all.c
target/i386/whpx/whpx-internal.h