diff options
author | Marcelo Tosatti <[email protected]> | 2009-07-21 12:47:45 -0300 |
---|---|---|
committer | Avi Kivity <[email protected]> | 2009-08-05 13:59:29 +0300 |
commit | 4b656b1202498184a0ecef86b3b89ff613b9c6ab (patch) | |
tree | 048c32cca06f74aa0b9dd63048597fa3c6278a7d /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | d6289b9365c3f622a8cfe62c4fb054bb70b5061a (diff) |
KVM: SVM: force new asid on vcpu migration
If a migrated vcpu matches the asid_generation value of the target pcpu,
there will be no TLB flush via TLB_CONTROL_FLUSH_ALL_ASID.
The check for vcpu.cpu in pre_svm_run is meaningless since svm_vcpu_load
already updated it on schedule in.
Such vcpu will VMRUN with stale TLB entries.
Based on original patch from Joerg Roedel (http://patchwork.kernel.org/patch/10021/)
Signed-off-by: Marcelo Tosatti <[email protected]>
Acked-by: Joerg Roedel <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions