From: Christian Borntraeger Date: Mon, 4 Feb 2013 22:53:25 +0000 (+0000) Subject: s390: simplify kvm cpu init X-Git-Tag: qemu-xen-4.4.0-rc1~6^2~925^2~4^2~4 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1c9d2a1d3c63ab7cee37acdcab92aafad3d6b3fe;p=qemu-upstream-4.5-testing.git 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 Signed-off-by: Alexander Graf --- diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c index 392977118..8f111ae73 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)