kvm: x86: Save/restore exception_index
commit4d6e3ac5d411c461d0fb4b1cd2ace854963c9e30
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 8 Dec 2009 16:54:55 +0000 (8 17:54 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Sat, 12 Dec 2009 13:59:39 +0000 (12 07:59 -0600)
treeca931064e0124d0a0590b104de2603ce2ba3eed4
parentbd9d30640c3c2489175fd9ddd5459c69f94688f8
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>
cpu-defs.h
target-i386/machine.c