diff options
author | Alexander Graf <agraf@suse.de> | 2009-10-30 05:47:09 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-11-05 16:49:54 +1100 |
commit | c862125c8ae4c261ecbb096ab12b1fa55fcfce8d (patch) | |
tree | c7c54cbbcdd71ceb45c57685b1ef0f3ae6650c9a /sound/atmel | |
parent | 5126ed37603ae3a5ec764d99d77430a179021699 (diff) |
Add interrupt handling code
Getting from host state to the guest is only half the story. We also need
to return to our host context and handle whatever happened to get us out of
the guest.
On PowerPC every guest exit is an interrupt. So all we need to do is trap
the host's interrupt handlers and get into our #VMEXIT code to handle it.
PowerPCs also have a register that can add an offset to the interrupt handlers'
adresses which is what the booke KVM code uses. Unfortunately that is a
hypervisor ressource and we also want to be able to run KVM when we're running
in an LPAR. So we have to hook into the Linux interrupt handlers.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'sound/atmel')
0 files changed, 0 insertions, 0 deletions