diff mbox

APIC id reporting is broken.

Message ID 20090806080752.GM4764@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Gleb Natapov Aug. 6, 2009, 8:07 a.m. UTC
It was broken by commit 55b23c7377c9f9f0b4a4b90950f0e18b26ac45e8.

APIC_ID is handled by default clause anyway so remove the special
handling.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
--
			Gleb.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Avi Kivity Aug. 6, 2009, 10 a.m. UTC | #1
On 08/06/2009 11:07 AM, Gleb Natapov wrote:
> It was broken by commit 55b23c7377c9f9f0b4a4b90950f0e18b26ac45e8.
>
> APIC_ID is handled by default clause anyway so remove the special
> handling.
>    

Applied, thanks.
diff mbox

Patch

diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c
index 6c3cd2c..fdddf48 100644
--- a/arch/x86/kvm/lapic.c
+++ b/arch/x86/kvm/lapic.c
@@ -556,9 +556,6 @@  static u32 __apic_read(struct kvm_lapic *apic, unsigned int offset)
 		return 0;
 
 	switch (offset) {
-	case APIC_ID:
-		apic_get_reg(apic, offset);
-		break;
 	case APIC_ARBPRI:
 		printk(KERN_WARNING "Access APIC ARBPRI register "
 		       "which is for P6\n");