[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/9] s390x: use kvm_enable_cap_vcpu()
From: |
Cornelia Huck |
Subject: |
[Qemu-devel] [PATCH 3/9] s390x: use kvm_enable_cap_vcpu() |
Date: |
Mon, 14 Apr 2014 18:48:24 +0200 |
Make kvm_s390_enable_css_support() use new interface.
Signed-off-by: Cornelia Huck <address@hidden>
---
target-s390x/kvm.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c
index 56b9af7..fbdc1bb 100644
--- a/target-s390x/kvm.c
+++ b/target-s390x/kvm.c
@@ -910,12 +910,10 @@ void kvm_s390_crw_mchk(S390CPU *cpu)
void kvm_s390_enable_css_support(S390CPU *cpu)
{
- struct kvm_enable_cap cap = {};
int r;
/* Activate host kernel channel subsystem support. */
- cap.cap = KVM_CAP_S390_CSS_SUPPORT;
- r = kvm_vcpu_ioctl(CPU(cpu), KVM_ENABLE_CAP, &cap);
+ r = kvm_enable_cap_vcpu(CPU(cpu), KVM_CAP_S390_CSS_SUPPORT);
assert(r == 0);
}
--
1.7.9.5
- Re: [Qemu-devel] [PATCH 2/9] kvm: add kvm_enable_cap_{vm,vcpu}, (continued)
- Re: [Qemu-devel] [PATCH 2/9] kvm: add kvm_enable_cap_{vm,vcpu}, Alexander Graf, 2014/04/16
- Re: [Qemu-devel] [PATCH 2/9] kvm: add kvm_enable_cap_{vm,vcpu}, Alexander Graf, 2014/04/16
- Re: [Qemu-devel] [PATCH 2/9] kvm: add kvm_enable_cap_{vm,vcpu}, Cornelia Huck, 2014/04/16
- Re: [Qemu-devel] [PATCH 2/9] kvm: add kvm_enable_cap_{vm,vcpu}, Cornelia Huck, 2014/04/16
- Re: [Qemu-devel] [PATCH 2/9] kvm: add kvm_enable_cap_{vm,vcpu}, Alexander Graf, 2014/04/16
- Re: [Qemu-devel] [PATCH 2/9] kvm: add kvm_enable_cap_{vm,vcpu}, Cornelia Huck, 2014/04/16
[Qemu-devel] [PATCH 6/9] s390x/virtio-ccw: Wire up irq routing and irqfds., Cornelia Huck, 2014/04/14
[Qemu-devel] [PATCH 3/9] s390x: use kvm_enable_cap_vcpu(),
Cornelia Huck <=
[Qemu-devel] [PATCH 5/9] s390x/virtio-ccw: reference-counted indicators, Cornelia Huck, 2014/04/14
[Qemu-devel] [PATCH 7/9] s390x/css: Don't save orb in subchannel., Cornelia Huck, 2014/04/14
[Qemu-devel] [PATCH 9/9] s390x/kvm: sync gbea and pp register, Cornelia Huck, 2014/04/14
[Qemu-devel] [PATCH 4/9] s390x: Add I/O adapter registration., Cornelia Huck, 2014/04/14