From: Peter Dinda Date: Wed, 25 Feb 2009 18:39:19 +0000 (-0600) Subject: hacked in support for writes to readonly apic register 0x30 - they are just ignored X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=0f93868a1bc6451bf6ed3822aca1a9e8806ae252 hacked in support for writes to readonly apic register 0x30 - they are just ignored --- diff --git a/palacios/src/devices/apic.c b/palacios/src/devices/apic.c index 77f727b..03b37e8 100644 --- a/palacios/src/devices/apic.c +++ b/palacios/src/devices/apic.c @@ -652,8 +652,12 @@ static int apic_write(addr_t guest_addr, void * src, uint_t length, void * priv_ case TRIG_OFFSET7: case PPR_OFFSET: case EXT_APIC_FEATURE_OFFSET: - PrintError("Attempting to write to read only register %p\n", (void *)reg_addr); +#if 1 + PrintError("Attempting to write to read only register %p (ignored)\n", (void *)reg_addr); +#else + PrintError("Attempting to write to read only register %p (error)\n", (void *)reg_addr); return -1; +#endif break; // Data registers