aboutsummaryrefslogtreecommitdiff
path: root/target-s390x/kvm.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2013-02-04 22:53:25 +0000
committerAlexander Graf <agraf@suse.de>2013-03-08 21:17:46 +0100
commit1c9d2a1d3c63ab7cee37acdcab92aafad3d6b3fe (patch)
tree862370c724531121941a78e330d3572f28548163 /target-s390x/kvm.c
parent0bc472a9d6b80567c212023c5eae413f4dfb53ad (diff)
downloadqemu-1c9d2a1d3c63ab7cee37acdcab92aafad3d6b3fe.zip
qemu-1c9d2a1d3c63ab7cee37acdcab92aafad3d6b3fe.tar.gz
qemu-1c9d2a1d3c63ab7cee37acdcab92aafad3d6b3fe.tar.bz2
s390: simplify kvm cpu init
There is no special code right now and the reset ioctl is done later on in the the reset handler anyway. Lets simplify the cpu init. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-s390x/kvm.c')
-rw-r--r--target-s390x/kvm.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c
index 3929771..8f111ae 100644
--- a/target-s390x/kvm.c
+++ b/target-s390x/kvm.c
@@ -103,13 +103,8 @@ unsigned long kvm_arch_vcpu_id(CPUState *cpu)
int kvm_arch_init_vcpu(CPUState *cpu)
{
- int ret = 0;
-
- if (kvm_vcpu_ioctl(cpu, KVM_S390_INITIAL_RESET, NULL) < 0) {
- perror("cannot init reset vcpu");
- }
-
- return ret;
+ /* nothing todo yet */
+ return 0;
}
void kvm_arch_reset_vcpu(CPUState *cpu)