diff options
author | Zachary Amsden <zamsden@redhat.com> | 2010-06-14 23:42:15 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-08-01 09:46:46 +0200 |
commit | bd371396b38ffc4bd6444b0203f33b99d18cedd0 (patch) | |
tree | 6187dd8a99636d1116534e7c9a4f5123d8b5803e /arch/x86/kvm/lapic.c | |
parent | KVM: MMU: don't walk every parent pages while mark unsync (diff) | |
download | linux-bd371396b38ffc4bd6444b0203f33b99d18cedd0.tar.xz linux-bd371396b38ffc4bd6444b0203f33b99d18cedd0.zip |
KVM: x86: fix -DDEBUG oops
Fix a slight error with assertion in local APIC code.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/lapic.c')
-rw-r--r-- | arch/x86/kvm/lapic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c index d8258a0060f8..024f6d1c2996 100644 --- a/arch/x86/kvm/lapic.c +++ b/arch/x86/kvm/lapic.c @@ -329,7 +329,7 @@ int kvm_apic_match_dest(struct kvm_vcpu *vcpu, struct kvm_lapic *source, "dest_mode 0x%x, short_hand 0x%x\n", target, source, dest, dest_mode, short_hand); - ASSERT(!target); + ASSERT(target); switch (short_hand) { case APIC_DEST_NOSHORT: if (dest_mode == 0) |