diff options
author | Steven Hand <steven@xensource.com> | 2007-04-04 19:59:10 +0100 |
---|---|---|
committer | Steven Hand <steven@xensource.com> | 2007-04-04 19:59:10 +0100 |
commit | 1d3e27e802686c099d3b4661668d0bfbd9026a42 (patch) | |
tree | 8e8a00dc3f497cdca33bf41cd367a5230b727ba0 /xen/arch/x86/hvm/irq.c | |
parent | 79f84ceeb54544278305df540d833ac74709ac4b (diff) | |
download | xen-1d3e27e802686c099d3b4661668d0bfbd9026a42.tar.gz xen-1d3e27e802686c099d3b4661668d0bfbd9026a42.tar.bz2 xen-1d3e27e802686c099d3b4661668d0bfbd9026a42.zip |
Initial check-in to support PV balloon driver within HVM guests.
Still todo:
- fix mapcache invalidation (should happen in Xen)
- support 32-on-64 mode correctly
Signed-off-by: Steven Hand <steven@xensource.com>
Diffstat (limited to 'xen/arch/x86/hvm/irq.c')
-rw-r--r-- | xen/arch/x86/hvm/irq.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/xen/arch/x86/hvm/irq.c b/xen/arch/x86/hvm/irq.c index a85151eb26..c6c3e7c906 100644 --- a/xen/arch/x86/hvm/irq.c +++ b/xen/arch/x86/hvm/irq.c @@ -347,11 +347,7 @@ int hvm_local_events_need_delivery(struct vcpu *v) pending = (vcpu_info(v, evtchn_upcall_pending) || cpu_has_pending_irq(v)); if ( unlikely(pending) ) - { - struct cpu_user_regs regs; - hvm_store_cpu_guest_regs(v, ®s, NULL); - pending = !irq_masked(regs.eflags); - } + pending = hvm_interrupts_enabled(v); return pending; } |