[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging-4.14] x86/HVM: correct cleanup after failed viridian_vcpu_init()
commit f240f9c3c635222069b4e2e037c5eb7aa3687075 Author: Jan Beulich <jbeulich@xxxxxxxx> AuthorDate: Fri Nov 19 09:37:10 2021 +0100 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Fri Nov 19 09:37:10 2021 +0100 x86/HVM: correct cleanup after failed viridian_vcpu_init() This happens after nestedhvm_vcpu_initialise(), so its effects also need to be undone. Fixes: 40a4a9d72d16 ("viridian: add init hooks") Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> master commit: 66675056c6e59b8a8b651a29ef53c63e9e04f58d master date: 2021-10-18 14:21:17 +0200 --- xen/arch/x86/hvm/hvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c index ab45b0a588..5b7e494ca3 100644 --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -1580,7 +1580,7 @@ int hvm_vcpu_initialise(struct vcpu *v) rc = viridian_vcpu_init(v); if ( rc ) - goto fail5; + goto fail6; rc = hvm_all_ioreq_servers_add_vcpu(d, v); if ( rc != 0 ) -- generated by git-patchbot for /home/xen/git/xen.git#staging-4.14
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |