[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/5] s390: simplify kvm cpu init
From: |
Alexander Graf |
Subject: |
[Qemu-devel] [PATCH 1/5] s390: simplify kvm cpu init |
Date: |
Fri, 8 Mar 2013 21:17:49 +0100 |
From: Christian Borntraeger <address@hidden>
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 <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
---
target-s390x/kvm.c | 9 ++-------
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)
--
1.6.0.2
- [Qemu-devel] [PULL 0/5] s390 patch queue 2013-03-08, Alexander Graf, 2013/03/08
- [Qemu-devel] [PATCH 1/5] s390: simplify kvm cpu init,
Alexander Graf <=
- [Qemu-devel] [PATCH 3/5] Allow virtio-net features for legacy s390 virtio bus, Alexander Graf, 2013/03/08
- [Qemu-devel] [PATCH 4/5] s390/css: Fix subchannel detection, Alexander Graf, 2013/03/08
- [Qemu-devel] [PATCH 5/5] s390/virtio-ccw: remove redundant call to blockdev_mark_auto_del, Alexander Graf, 2013/03/08
- [Qemu-devel] [PATCH 2/5] s390: virtio-ccw maintainer, Alexander Graf, 2013/03/08
- Re: [Qemu-devel] [PULL 0/5] s390 patch queue 2013-03-08, Blue Swirl, 2013/03/09