exec: Save CPUState::exception_index field
commit6c3bff0ed8a40921464b9a07aa0fe079e860c978
authorPavel Dovgaluk <Pavel.Dovgaluk@ispras.ru>
Thu, 31 Jul 2014 05:41:17 +0000 (31 09:41 +0400)
committerAndreas Färber <afaerber@suse.de>
Fri, 5 Sep 2014 14:32:48 +0000 (5 16:32 +0200)
tree3c1b8dc85829a14915712728fd42c035e6d8efa1
parentfd884c07658d02a96a882b8457d6d7a5cd71a407
exec: Save CPUState::exception_index field

This patch adds a subsection with exception_index field to the VMState for
correct saving the CPU state.
Without this patch, simulator could miss the pending exception in the saved
virtual machine state.

Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Cc: qemu-stable@nongnu.org
Signed-off-by: Andreas Färber <afaerber@suse.de>
exec.c