]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
kvm: x86: Save/restore exception_index
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 8 Dec 2009 16:54:55 +0000 (17:54 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Sat, 12 Dec 2009 14:17:28 +0000 (08:17 -0600)
commitebbc8a3d8e76d0402f8a08c10c0f32e24715d41d
tree9fdfa8a1820a2b11fe07780798ebf839f0bbc683
parent08b2d3ba9ac77369a49df987c9ecd9ac2e171ca8
kvm: x86: Save/restore exception_index

As KVM now makes use of exception_index to keep pending exceptions, we
have to save&restore this field as well.

NOTE: We have to nail the arch-independent exception_index down to a
certain bit width for proper vmstate processing, namely to 32 bit.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit 4d6e3ac5d411c461d0fb4b1cd2ace854963c9e30)
cpu-defs.h
target-i386/machine.c