From: Jack Lange Date: Wed, 25 Feb 2009 23:16:59 +0000 (-0600) Subject: added hacks to the APIC because Linux coders didn't read the spec X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=4382aa6ff0eb10cf9444982e64e0b3860e415eba added hacks to the APIC because Linux coders didn't read the spec --- diff --git a/palacios/src/devices/apic.c b/palacios/src/devices/apic.c index 03b37e8..df9dd12 100644 --- a/palacios/src/devices/apic.c +++ b/palacios/src/devices/apic.c @@ -382,8 +382,10 @@ static int apic_read(addr_t guest_addr, void * dst, uint_t length, void * priv_d switch (reg_addr & ~0x3) { case EOI_OFFSET: - PrintError("Attempting to read from write only register\n"); - return -1; + // Well, only an idiot would read from a architectural write only register + // Oh, Hello Linux. + // PrintError("Attempting to read from write only register\n"); + // return -1; break; // data registers