From: Jan Kiszka Date: Sat, 9 Aug 2014 14:05:51 +0000 (+0200) Subject: apic: Fix reported DFR content X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d6c140a771d3be4ef677a3c3eeb7dbfa7fb30378;p=qemu.git apic: Fix reported DFR content IA-32 SDM, Figure 10-14: Bits 27:0 are reserved as 1. Fixes Jailhouse hypervisor start with in-kernel irqchips off. Signed-off-by: Jan Kiszka Signed-off-by: Michael Tokarev --- diff --git a/hw/intc/apic.c b/hw/intc/apic.c index ef19e5515c..03ff9e94f2 100644 --- a/hw/intc/apic.c +++ b/hw/intc/apic.c @@ -698,7 +698,7 @@ static uint32_t apic_mem_readl(void *opaque, hwaddr addr) val = s->log_dest << 24; break; case 0x0e: - val = s->dest_mode << 28; + val = (s->dest_mode << 28) | 0xfffffff; break; case 0x0f: val = s->spurious_vec;