commit | 8a5a87d9b7aef24bcdba763d8ee14982477b0a2e | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Sun Aug 05 15:58:26 2012 +0300 |
committer | Avi Kivity <avi@redhat.com> | Mon Aug 06 16:20:03 2012 +0300 |
tree | 806447c648a1a7661b8d44fb775f4341c778f033 | |
parent | 9c5b11728344e1085593f494ddc8838497e7ffde [diff] |
KVM: clean up kvm_(set|get)_apic_base kvm_get_apic_base() needlessly checks irqchip_in_kernel although it does the same no matter what result of the check is. kvm_set_apic_base() also checks for irqchip_in_kernel, but kvm_lapic_set_base() can handle this case. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>