25 lines
828 B
Diff
25 lines
828 B
Diff
|
# HG changeset patch
|
||
|
# User Keir Fraser <keir@xen.org>
|
||
|
# Date 1295625605 0
|
||
|
# Node ID 43592043cefc8357e6e6a0ab9ba85ca480968cb1
|
||
|
# Parent 9bd5f65050f8014de7d0fcf9d89ed8c441f261fa
|
||
|
svm: migrate pirq with vcpu
|
||
|
|
||
|
hvm_migrate_pirqs() is missing in svm_do_resume().
|
||
|
|
||
|
Signed-off-by: Wei Wang <wei.wang2@amd.com>
|
||
|
|
||
|
Index: xen-4.0.2-testing/xen/arch/x86/hvm/svm/svm.c
|
||
|
===================================================================
|
||
|
--- xen-4.0.2-testing.orig/xen/arch/x86/hvm/svm/svm.c
|
||
|
+++ xen-4.0.2-testing/xen/arch/x86/hvm/svm/svm.c
|
||
|
@@ -704,7 +704,7 @@ static void svm_do_resume(struct vcpu *v
|
||
|
{
|
||
|
v->arch.hvm_svm.launch_core = smp_processor_id();
|
||
|
hvm_migrate_timers(v);
|
||
|
-
|
||
|
+ hvm_migrate_pirqs(v);
|
||
|
/* Migrating to another ASID domain. Request a new ASID. */
|
||
|
hvm_asid_flush_vcpu(v);
|
||
|
}
|