KVM: s390: Per-vm kvm device controls
authorDominik Dingel <dingel@linux.vnet.ibm.com>
Wed, 9 Apr 2014 11:13:00 +0000 (13:13 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 22 Apr 2014 11:24:12 +0000 (13:24 +0200)
commitf2061656209fb9a5d54bbb1999f0a633438504e7
tree6aeef103f33943cedaf9fa341002a2a1c0ad83d8
parent15f36ebd34b5b296c274ef67024f14c2d394a507
KVM: s390: Per-vm kvm device controls

We sometimes need to get/set attributes specific to a virtual machine
and so need something else than ONE_REG.

Let's copy the KVM_DEVICE approach, and define the respective ioctls
for the vm file descriptor.

Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Documentation/virtual/kvm/api.txt
Documentation/virtual/kvm/devices/vm.txt [new file with mode: 0644]
arch/s390/kvm/kvm-s390.c
include/uapi/linux/kvm.h