479c2a1cb7
ioapic: keep RO bits for IOAPIC entry
...
Currently IOAPIC RO bits can be written. To be better aligned with
hardware, we should let them read-only.
Reviewed-by: Radim Krčmář <rkrcmar@redhat.com >
Signed-off-by: Peter Xu <peterx@redhat.com >
Message-Id: <1462875682-1349-2-git-send-email-peterx@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2016-05-23 16:53:43 +02:00
d665d696c5
hmp: added io apic dump state
...
Added the hmp command to query io apic state, may be usefull after guest
crashes to understand IRQ routing in guest.
Implementation is only for kvm here. The dump will look like
(qemu) info ioapic
ioapic id=0x00 sel=0x26 (redir[11])
pin 0 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical
pin 1 0x0000000000000031 dest=0 vec=49 active-hi edge fixed physical
...
pin 23 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical
IRR (none)
Remote IRR (none)
Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com >
Signed-off-by: Denis V. Lunev <den@openvz.org >
CC: Paolo Bonzini <pbonzini@redhat.com >
CC: Andreas Färber <afaerber@suse.de >
Message-Id: <1442927901-1084-9-git-send-email-den@openvz.org >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2015-09-25 12:04:42 +02:00
af59940735
ioapic_internal.h: added more constants
...
Added the masks for easy access to fields of the redirection table entry
Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com >
Signed-off-by: Denis V. Lunev <den@openvz.org >
CC: Paolo Bonzini <pbonzini@redhat.com >
CC: Andreas Färber <afaerber@suse.de >
Message-Id: <1442927901-1084-8-git-send-email-den@openvz.org >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2015-09-25 12:04:42 +02:00
db0f888848
ioapic: QOM'ify ioapic
...
Convert 'init' function to QOM's 'realize' for ioapic and kvm-ioapic.
Change variable 'ioapic_no' from static to global. Then we can drop
the 'instance_no' function argument.
Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com >
Signed-off-by: Andreas Färber <afaerber@suse.de >
2013-12-24 18:02:18 +01:00
0d09e41a51
hw: move headers to include/
...
Many of these should be cleaned up with proper qdev-/QOM-ification.
Right now there are many catch-all headers in include/hw/ARCH depending
on cpu.h, and this makes it necessary to compile these files per-target.
However, fixing this does not belong in these patches.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-04-08 18:13:10 +02:00