hvf: Remove hvf-accel-ops.h

We can move the definition of hvf_vcpu_exec() into our internal
hvf header, obsoleting the need for hvf-accel-ops.h.

Signed-off-by: Alexander Graf <agraf@csgraf.de>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Message-id: 20210519202253.76782-11-agraf@csgraf.de
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
Alexander Graf 2021-06-03 14:09:33 +01:00 committed by Peter Maydell
parent 36464fafcb
commit d662ede2b1
4 changed files with 1 additions and 21 deletions

View File

@ -58,8 +58,6 @@
#include "sysemu/runstate.h" #include "sysemu/runstate.h"
#include "qemu/guest-random.h" #include "qemu/guest-random.h"
#include "hvf-accel-ops.h"
HVFState *hvf_state; HVFState *hvf_state;
/* Memory slots */ /* Memory slots */

View File

@ -1,17 +0,0 @@
/*
* Accelerator CPUS Interface
*
* Copyright 2020 SUSE LLC
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
#ifndef HVF_CPUS_H
#define HVF_CPUS_H
#include "sysemu/cpus.h"
int hvf_vcpu_exec(CPUState *);
#endif /* HVF_CPUS_H */

View File

@ -46,6 +46,7 @@ extern HVFState *hvf_state;
void assert_hvf_ok(hv_return_t ret); void assert_hvf_ok(hv_return_t ret);
int hvf_arch_init_vcpu(CPUState *cpu); int hvf_arch_init_vcpu(CPUState *cpu);
void hvf_arch_vcpu_destroy(CPUState *cpu); void hvf_arch_vcpu_destroy(CPUState *cpu);
int hvf_vcpu_exec(CPUState *);
hvf_slot *hvf_find_overlap_slot(uint64_t, uint64_t); hvf_slot *hvf_find_overlap_slot(uint64_t, uint64_t);
int hvf_put_registers(CPUState *); int hvf_put_registers(CPUState *);
int hvf_get_registers(CPUState *); int hvf_get_registers(CPUState *);

View File

@ -73,8 +73,6 @@
#include "qemu/accel.h" #include "qemu/accel.h"
#include "target/i386/cpu.h" #include "target/i386/cpu.h"
#include "hvf-accel-ops.h"
void vmx_update_tpr(CPUState *cpu) void vmx_update_tpr(CPUState *cpu)
{ {
/* TODO: need integrate APIC handling */ /* TODO: need integrate APIC handling */