mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
target/arm/kvm: Unexport kvm_arm_vcpu_init
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Gavin Shan <gshan@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
de3c96017f
commit
5a8a6013ea
2 changed files with 11 additions and 13 deletions
|
@ -60,7 +60,17 @@ typedef struct ARMHostCPUFeatures {
|
||||||
|
|
||||||
static ARMHostCPUFeatures arm_host_cpu_features;
|
static ARMHostCPUFeatures arm_host_cpu_features;
|
||||||
|
|
||||||
int kvm_arm_vcpu_init(CPUState *cs)
|
/**
|
||||||
|
* kvm_arm_vcpu_init:
|
||||||
|
* @cs: CPUState
|
||||||
|
*
|
||||||
|
* Initialize (or reinitialize) the VCPU by invoking the
|
||||||
|
* KVM_ARM_VCPU_INIT ioctl with the CPU type and feature
|
||||||
|
* bitmask specified in the CPUState.
|
||||||
|
*
|
||||||
|
* Returns: 0 if success else < 0 error code
|
||||||
|
*/
|
||||||
|
static int kvm_arm_vcpu_init(CPUState *cs)
|
||||||
{
|
{
|
||||||
ARMCPU *cpu = ARM_CPU(cs);
|
ARMCPU *cpu = ARM_CPU(cs);
|
||||||
struct kvm_vcpu_init init;
|
struct kvm_vcpu_init init;
|
||||||
|
|
|
@ -18,18 +18,6 @@
|
||||||
#define KVM_ARM_VGIC_V2 (1 << 0)
|
#define KVM_ARM_VGIC_V2 (1 << 0)
|
||||||
#define KVM_ARM_VGIC_V3 (1 << 1)
|
#define KVM_ARM_VGIC_V3 (1 << 1)
|
||||||
|
|
||||||
/**
|
|
||||||
* kvm_arm_vcpu_init:
|
|
||||||
* @cs: CPUState
|
|
||||||
*
|
|
||||||
* Initialize (or reinitialize) the VCPU by invoking the
|
|
||||||
* KVM_ARM_VCPU_INIT ioctl with the CPU type and feature
|
|
||||||
* bitmask specified in the CPUState.
|
|
||||||
*
|
|
||||||
* Returns: 0 if success else < 0 error code
|
|
||||||
*/
|
|
||||||
int kvm_arm_vcpu_init(CPUState *cs);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* kvm_arm_vcpu_finalize:
|
* kvm_arm_vcpu_finalize:
|
||||||
* @cs: CPUState
|
* @cs: CPUState
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue