mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
target/arm/kvm: Unexport kvm_arm_vcpu_finalize
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
5a8a6013ea
commit
c223c67aaa
2 changed files with 13 additions and 15 deletions
|
@ -81,7 +81,19 @@ static int kvm_arm_vcpu_init(CPUState *cs)
|
||||||
return kvm_vcpu_ioctl(cs, KVM_ARM_VCPU_INIT, &init);
|
return kvm_vcpu_ioctl(cs, KVM_ARM_VCPU_INIT, &init);
|
||||||
}
|
}
|
||||||
|
|
||||||
int kvm_arm_vcpu_finalize(CPUState *cs, int feature)
|
/**
|
||||||
|
* kvm_arm_vcpu_finalize:
|
||||||
|
* @cs: CPUState
|
||||||
|
* @feature: feature to finalize
|
||||||
|
*
|
||||||
|
* Finalizes the configuration of the specified VCPU feature by
|
||||||
|
* invoking the KVM_ARM_VCPU_FINALIZE ioctl. Features requiring
|
||||||
|
* this are documented in the "KVM_ARM_VCPU_FINALIZE" section of
|
||||||
|
* KVM's API documentation.
|
||||||
|
*
|
||||||
|
* Returns: 0 if success else < 0 error code
|
||||||
|
*/
|
||||||
|
static int kvm_arm_vcpu_finalize(CPUState *cs, int feature)
|
||||||
{
|
{
|
||||||
return kvm_vcpu_ioctl(cs, KVM_ARM_VCPU_FINALIZE, &feature);
|
return kvm_vcpu_ioctl(cs, KVM_ARM_VCPU_FINALIZE, &feature);
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,20 +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_finalize:
|
|
||||||
* @cs: CPUState
|
|
||||||
* @feature: feature to finalize
|
|
||||||
*
|
|
||||||
* Finalizes the configuration of the specified VCPU feature by
|
|
||||||
* invoking the KVM_ARM_VCPU_FINALIZE ioctl. Features requiring
|
|
||||||
* this are documented in the "KVM_ARM_VCPU_FINALIZE" section of
|
|
||||||
* KVM's API documentation.
|
|
||||||
*
|
|
||||||
* Returns: 0 if success else < 0 error code
|
|
||||||
*/
|
|
||||||
int kvm_arm_vcpu_finalize(CPUState *cs, int feature);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* kvm_arm_register_device:
|
* kvm_arm_register_device:
|
||||||
* @mr: memory region for this device
|
* @mr: memory region for this device
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue