diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2014-08-09 16:05:51 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-08-15 18:54:06 +0400 |
commit | d6c140a771d3be4ef677a3c3eeb7dbfa7fb30378 (patch) | |
tree | 25a131525b3bcca9f45a8957d029d8a4a96c5fd9 | |
parent | f083201667fddd51055c2ac67f67221e82298a35 (diff) | |
download | qemu-d6c140a771d3be4ef677a3c3eeb7dbfa7fb30378.zip qemu-d6c140a771d3be4ef677a3c3eeb7dbfa7fb30378.tar.gz qemu-d6c140a771d3be4ef677a3c3eeb7dbfa7fb30378.tar.bz2 |
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 <jan.kiszka@siemens.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r-- | hw/intc/apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/apic.c b/hw/intc/apic.c index ef19e55..03ff9e9 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; |