KVM: s390: provide the prefix register via kvm_run
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 11 Jan 2012 10:20:31 +0000 (11:20 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:22 +0000 (14:52 +0200)
commit60b413c9248495ea400e80e08e4d1e28ed7ee05e
tree37881e9b94d7d736caf04c577f47b555fd34d7ff
parentb9e5dc8d4511e6a00862a795319569e7fe7f60f4
KVM: s390: provide the prefix register via kvm_run

Add the prefix register to the synced register field in kvm_run.
While we need the prefix register most of the time read-only, this
patch also adds handling for guest dirtying of the prefix register.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/s390/include/asm/kvm.h
arch/s390/kvm/kvm-s390.c