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@suse.com>
This commit is contained in:
Jan Beulich committed 2013-04-19 12:31:18 +02:00
1 parent 9aa356bc9f
commit e4e1e0ecc0
1 file changed
+2 -2
+2 -2
View File
@@ -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();
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.