whpx: rename whp-dispatch to whpx-internal.h
Rename the file in preparation for moving more implementation-internal definitions to it. The build is still broken though. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20201219090637.1700900-2-pbonzini@redhat.com>
This commit is contained in:
parent
2c9dce0196
commit
9102c96821
@ -26,13 +26,10 @@
|
|||||||
#include "qapi/qapi-types-common.h"
|
#include "qapi/qapi-types-common.h"
|
||||||
#include "qapi/qapi-visit-common.h"
|
#include "qapi/qapi-visit-common.h"
|
||||||
#include "migration/blocker.h"
|
#include "migration/blocker.h"
|
||||||
#include "whp-dispatch.h"
|
|
||||||
#include <winerror.h>
|
#include <winerror.h>
|
||||||
|
|
||||||
#include "whpx-cpus.h"
|
#include "whpx-cpus.h"
|
||||||
|
#include "whpx-internal.h"
|
||||||
#include <WinHvPlatform.h>
|
|
||||||
#include <WinHvEmulation.h>
|
|
||||||
|
|
||||||
#define HYPERV_APIC_BUS_FREQUENCY (200000000ULL)
|
#define HYPERV_APIC_BUS_FREQUENCY (200000000ULL)
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#include "hw/pci/msi.h"
|
#include "hw/pci/msi.h"
|
||||||
#include "sysemu/hw_accel.h"
|
#include "sysemu/hw_accel.h"
|
||||||
#include "sysemu/whpx.h"
|
#include "sysemu/whpx.h"
|
||||||
#include "whp-dispatch.h"
|
#include "whpx-internal.h"
|
||||||
|
|
||||||
static void whpx_put_apic_state(APICCommonState *s,
|
static void whpx_put_apic_state(APICCommonState *s,
|
||||||
struct whpx_lapic_state *kapic)
|
struct whpx_lapic_state *kapic)
|
||||||
|
@ -15,11 +15,9 @@
|
|||||||
#include "qemu/guest-random.h"
|
#include "qemu/guest-random.h"
|
||||||
|
|
||||||
#include "sysemu/whpx.h"
|
#include "sysemu/whpx.h"
|
||||||
|
#include "whpx-internal.h"
|
||||||
#include "whpx-cpus.h"
|
#include "whpx-cpus.h"
|
||||||
|
|
||||||
#include <WinHvPlatform.h>
|
|
||||||
#include <WinHvEmulation.h>
|
|
||||||
|
|
||||||
static void *whpx_cpu_thread_fn(void *arg)
|
static void *whpx_cpu_thread_fn(void *arg)
|
||||||
{
|
{
|
||||||
CPUState *cpu = arg;
|
CPUState *cpu = arg;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef WHP_DISPATCH_H
|
#ifndef WHP_INTERNAL_H
|
||||||
#define WHP_DISPATCH_H
|
#define WHP_INTERNAL_H
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <WinHvPlatform.h>
|
#include <WinHvPlatform.h>
|
||||||
@ -72,4 +72,4 @@ typedef enum WHPFunctionList {
|
|||||||
WINHV_PLATFORM_FNS_SUPPLEMENTAL
|
WINHV_PLATFORM_FNS_SUPPLEMENTAL
|
||||||
} WHPFunctionList;
|
} WHPFunctionList;
|
||||||
|
|
||||||
#endif /* WHP_DISPATCH_H */
|
#endif /* WHP_INTERNAL_H */
|
Loading…
Reference in New Issue
Block a user