commit | daf5e27109c8c16c987e955cc6abbbc0af050edd | [log] [tgz] |
---|---|---|
author | Liu Yu <yu.liu@freescale.com> | Tue Feb 02 19:44:35 2010 +0800 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Mar 01 12:36:10 2010 -0300 |
tree | 70456cce995c63895d50d921e6e0c36a9678de19 | |
parent | 4b7bb9210047fe880bb71e6273c3a4526799dbd7 [diff] |
KVM: ppc/booke: Set ESR and DEAR when inject interrupt to guest Old method prematurely sets ESR and DEAR. Move this part after we decide to inject interrupt, which is more like hardware behave. Signed-off-by: Liu Yu <yu.liu@freescale.com> Acked-by: Hollis Blanchard <hollis@penguinppc.org> Acked-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>