KVM: i8259: fix migration
authorGleb Natapov <gleb@redhat.com>
Mon, 30 Aug 2010 09:49:13 +0000 (12:49 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 8 Sep 2010 17:50:58 +0000 (14:50 -0300)
commiteebb5f31b8d9a2620dcf32297096f8ce1240b179
tree430a40dd38588b7306a5df1134238d1ffdbb0ea7
parentae0635b3580844e320a253a16985f4ce8b5bd0b6
KVM: i8259: fix migration

Top of kvm_kpic_state structure should have the same memory layout as
kvm_pic_state since it is copied by memcpy.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/irq.h