[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] hvm: Fix HVMOP_flush_tlbs to flush paging-mode state.
# HG changeset patch # User Keir Fraser <keir@xxxxxxxxxxxxx> # Date 1191314137 -3600 # Node ID 60c898eeb17ba6ee4d1e0dc76ca55f740f0a3979 # Parent 949664900fff8cb9d8835a537a12ea020679c3dd hvm: Fix HVMOP_flush_tlbs to flush paging-mode state. From: Peter Johnston <pjohnston@xxxxxxxxxxxxx> Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> --- xen/arch/x86/hvm/hvm.c | 8 ++++++++ 1 files changed, 8 insertions(+) diff -r 949664900fff -r 60c898eeb17b xen/arch/x86/hvm/hvm.c --- a/xen/arch/x86/hvm/hvm.c Tue Oct 02 09:31:40 2007 +0100 +++ b/xen/arch/x86/hvm/hvm.c Tue Oct 02 09:35:37 2007 +0100 @@ -1657,7 +1657,15 @@ static int hvmop_set_pci_link_route( static int hvmop_flush_tlb_all(void) { + struct vcpu *v; + + /* Flush paging-mode soft state (e.g., va->gfn cache; PAE PDPE cache). */ + for_each_vcpu ( current->domain, v ) + paging_update_cr3(v); + + /* Flush all dirty TLBs. */ flush_tlb_mask(current->domain->domain_dirty_cpumask); + return 0; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |