KVM: add ioctls to save/store mpstate
authorMarcelo Tosatti <mtosatti@redhat.com>
Fri, 11 Apr 2008 16:24:45 +0000 (13:24 -0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 15:21:16 +0000 (18:21 +0300)
commit62d9f0dbc92d7e398fde53fc6021338393522e68
tree028e62807ead3db11f15694323743b90c8211ef8
parenta45352908b88d383bc40e1e4d1a6cc5bbcefc895
KVM: add ioctls to save/store mpstate

So userspace can save/restore the mpstate during migration.

[avi: export the #define constants describing the value]
[christian: add s390 stubs]
[avi: ditto for ia64]

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/ia64/kvm/kvm-ia64.c
arch/s390/kvm/kvm-s390.c
arch/x86/kvm/x86.c
include/asm-x86/kvm_host.h
include/linux/kvm.h
include/linux/kvm_host.h
virt/kvm/kvm_main.c