mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
x86/hvm: Fix earlier hvm_load_cpu_ctxt() breakage.
Signed-off-by: Keir Fraser <keir@xen.org>
This commit is contained in:
1 parent
b4960592ac
commit
e510f6c58d
1 file changed
+1
-1
@@ -686,7 +686,7 @@ static int hvm_load_cpu_ctxt(struct domain *d, hvm_domain_context_t *h)
|
||||
|
||||
/* Need to init this vcpu before loading its contents */
|
||||
rc = boot_vcpu(d, vcpuid, NULL);
|
||||
if ( rc != 0 )
|
||||
if ( (rc != 0) && (rc != -EEXIST) )
|
||||
return rc;
|
||||
|
||||
if ( hvm_load_entry(CPU, h, &ctxt) != 0 )
|
||||
|
||||