From a5db2986d47fafc5e62f992616f057bfa43015d9 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 8 May 2009 11:50:12 +0100 Subject: x86 hvm: hvm_set_callback_irq_level() must not be called in IRQ context or with IRQs disabled. Ensure this by deferring to tasklet (softirq) context if required. Signed-off-by: Keir Fraser --- xen/include/asm-x86/hvm/vcpu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xen/include/asm-x86/hvm/vcpu.h') diff --git a/xen/include/asm-x86/hvm/vcpu.h b/xen/include/asm-x86/hvm/vcpu.h index faea392f92..cd24177232 100644 --- a/xen/include/asm-x86/hvm/vcpu.h +++ b/xen/include/asm-x86/hvm/vcpu.h @@ -66,6 +66,8 @@ struct hvm_vcpu { struct arch_svm_struct svm; } u; + struct tasklet assert_evtchn_irq_tasklet; + struct mtrr_state mtrr; u64 pat_cr; -- cgit v1.2.3