]> git.proxmox.com Git - mirror_qemu.git/commit
xics-kvm: Fix reset function
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Thu, 13 Feb 2014 01:08:35 +0000 (12:08 +1100)
committerAndreas Färber <afaerber@suse.de>
Thu, 13 Mar 2014 02:49:48 +0000 (03:49 +0100)
commitfb0e843a11abae5b959a4b02be7aef617c023b4e
tree302fc34f089b463d642fe952f2eec0e2935e46d8
parent8f3babb74d48e17e8a717b79d57c1fbe6b3b2480
xics-kvm: Fix reset function

Currently interrupt priorities are set to 0 (highest) at the very
beginning of the guest execution which is not correct and makes the guest
produce random interrupt error messages such as:
"Interrupt 0x1001 (real) is invalid, disabling it".
This also prevents interrupt states from correct migration.

This initializes priority to 0xFF as the emulated XICS does.

Suggested-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/intc/xics_kvm.c