commit | 0dce7cd67fd9055c4a2ff278f8af1431e646d346 | [log] [tgz] |
---|---|---|
author | Andrew Jones <drjones@redhat.com> | Wed Jan 15 13:39:59 2014 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Jan 15 13:42:14 2014 +0100 |
tree | 454bfdea72661a0e3e4295a9ee2f9a12dc63b815 | |
parent | 7e22e91102c6b9df7c4ae2168910e19d2bb14cd6 [diff] |
kvm: x86: fix apic_base enable check Commit e66d2ae7c67bd moved the assignment vcpu->arch.apic_base = value above a condition with (vcpu->arch.apic_base ^ value), causing that check to always fail. Use old_value, vcpu->arch.apic_base's old value, in the condition instead. Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>