aboutsummaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2012-11-12 16:46:55 +0000
committerAlexander Graf <agraf@suse.de>2012-12-14 13:12:54 +0100
commit22a2611c9cef4a8c8ad96fe17b3511a6cc5fb3a1 (patch)
tree2233d3eddcede09496995341736aa377e139efc1 /block.c
parent500efa2319d1f1074b1d61e5ceb7a0fd61d0831d (diff)
downloadqemu-22a2611c9cef4a8c8ad96fe17b3511a6cc5fb3a1.zip
qemu-22a2611c9cef4a8c8ad96fe17b3511a6cc5fb3a1.tar.gz
qemu-22a2611c9cef4a8c8ad96fe17b3511a6cc5fb3a1.tar.bz2
pseries: Split xics irq configuration from state information
Currently the XICS irq controller code has a per-irq state structure which amongst other things includes whether the interrupt is level or message triggered - this is configured by the platform code, and is not directly visible to the guest. This leads to a slightly awkward construct at reset time where we need to reset everything in the state structure _except_ the lsi/msi flag, which needs to retain the information given at platform init time. More importantly this flag will make matching the qemu state to the KVM state for the upcoming in-kernel XICS implementation more awkward. This patch, therefore, removes this flag from the per-irq state structure, instead adding a parallel array giving the lsi/msi configuration per irq. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions