[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] arm: Fix arch_initialise_vcpu to be unsupported
commit 63fdea768d175e96443a53b95a6441f520743e2e Author: Michal Orzel <michal.orzel@xxxxxxx> AuthorDate: Tue Jul 6 12:28:53 2021 +0200 Commit: Julien Grall <jgrall@xxxxxxxxxx> CommitDate: Wed Jul 7 14:05:40 2021 +0100 arm: Fix arch_initialise_vcpu to be unsupported Function arch_initialise_vcpu is not reachable as the VCPUOP_initialise is an unsupported operation on arm. Modify the function by adding ASSERT_UNREACHABLE() and returning -EOPNOTSUPP. Suggested-by: Jan Beulich <jbeulich@xxxxxxxx> Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx> Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx> Acked-by: Julien Grall <jgrall@xxxxxxxxxx> --- xen/arch/arm/domain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/arch/arm/domain.c b/xen/arch/arm/domain.c index 74bdbb9082..19c756ac3d 100644 --- a/xen/arch/arm/domain.c +++ b/xen/arch/arm/domain.c @@ -923,7 +923,8 @@ int arch_set_info_guest( int arch_initialise_vcpu(struct vcpu *v, XEN_GUEST_HANDLE_PARAM(void) arg) { - return default_initialise_vcpu(v, arg); + ASSERT_UNREACHABLE(); + return -EOPNOTSUPP; } int arch_vcpu_reset(struct vcpu *v) -- generated by git-patchbot for /home/xen/git/xen.git#master
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |