x86/hvm: Fix earlier hvm_load_cpu_ctxt() breakage.

Signed-off-by: Keir Fraser <keir@xen.org>
This commit is contained in:
Keir Fraser committed 2012-01-20 18:17:59 +00:00
1 parent b4960592ac
commit e510f6c58d
1 file changed
+1 -1
+1 -1
View File
@@ -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 )
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.