[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] VMX: adjust correct table when there's no posted interrupt support



commit e4e1e0ecc023caf4cf3b87a4aa4d5e210760f4e8
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Fri Apr 19 12:31:18 2013 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Fri Apr 19 12:31:18 2013 +0200

    VMX: adjust correct table when there's no posted interrupt support
    
    The caller of start_vmx() will overwrite hvm_funcs, so there's no point
    in adjusting that table in start_vmx().
    
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---
 xen/arch/x86/hvm/vmx/vmx.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c
index 799b60e..6866cd0 100644
--- a/xen/arch/x86/hvm/vmx/vmx.c
+++ b/xen/arch/x86/hvm/vmx/vmx.c
@@ -1585,8 +1585,8 @@ struct hvm_function_table * __init start_vmx(void)
         alloc_direct_apic_vector(&posted_intr_vector, event_check_interrupt);
     else
     {
-        hvm_funcs.deliver_posted_intr = NULL;
-        hvm_funcs.sync_pir_to_irr = NULL;
+        vmx_function_table.deliver_posted_intr = NULL;
+        vmx_function_table.sync_pir_to_irr = NULL;
     }
 
     setup_vmcs_dump();
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.