aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/audit.c
diff options
context:
space:
mode:
Diffstat (limited to 'xen/arch/x86/audit.c')
-rw-r--r--xen/arch/x86/audit.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/xen/arch/x86/audit.c b/xen/arch/x86/audit.c
index d389758a93..ef58f52eff 100644
--- a/xen/arch/x86/audit.c
+++ b/xen/arch/x86/audit.c
@@ -404,16 +404,16 @@ int audit_adjust_pgtables(struct domain *d, int dir, int noisy)
void adjust_for_pgtbase()
{
- struct exec_domain *ed;
+ struct vcpu *v;
- for_each_exec_domain(d, ed)
+ for_each_vcpu(d, v)
{
- if ( pagetable_get_paddr(ed->arch.guest_table) )
- adjust(&frame_table[pagetable_get_pfn(ed->arch.guest_table)], 1);
- if ( pagetable_get_paddr(ed->arch.shadow_table) )
- adjust(&frame_table[pagetable_get_pfn(ed->arch.shadow_table)], 0);
- if ( ed->arch.monitor_shadow_ref )
- adjust(&frame_table[ed->arch.monitor_shadow_ref], 0);
+ if ( pagetable_get_paddr(v->arch.guest_table) )
+ adjust(&frame_table[pagetable_get_pfn(v->arch.guest_table)], 1);
+ if ( pagetable_get_paddr(v->arch.shadow_table) )
+ adjust(&frame_table[pagetable_get_pfn(v->arch.shadow_table)], 0);
+ if ( v->arch.monitor_shadow_ref )
+ adjust(&frame_table[v->arch.monitor_shadow_ref], 0);
}
}