OSDN Git Service

pc: fix KVM features in pc-1.3 and earlier machine types
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 14 Jan 2015 16:53:55 +0000 (17:53 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Jan 2015 11:22:43 +0000 (12:22 +0100)
commit0034a0f239623388525c884dabf9a125eafb1acb
treeaf248e637801d133cb6890ddfb36b202484863ed
parenta46b3aaf6bb038d4f6f192a84df204f10929e75c
pc: fix KVM features in pc-1.3 and earlier machine types

Due to a typo, instead of disabling KVM_FEATURE_PV_EOI (bit
6) these machine types are disabling bits 1 and 2, which are
KVM_FEATURE_NOP_IO_DELAY and KVM_FEATURE_MMU_OP.  Not a big deal
because they aren't very important and KVM_FEATURE_MMU_OP is
disabled anyway.  The worst part is actually that KVM_FEATURE_PV_EOI
is remaining enabled.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/pc_piix.c