Re: [PATCH v11 20/21] KVM: ARM: Introduce per-vcpu kvm device controls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2016/2/8 20:40, Christoffer Dall wrote:
+	case KVM_SET_DEVICE_ATTR: {
>+		if (copy_from_user(&attr, argp, sizeof(attr)))
>+			return -EFAULT;
>+		return kvm_arm_vcpu_set_attr(vcpu, &attr);
>+	}
>+	case KVM_GET_DEVICE_ATTR: {
>+		if (copy_from_user(&attr, argp, sizeof(attr)))
>+			return -EFAULT;
>+		return kvm_arm_vcpu_get_attr(vcpu, &attr);
>+	}
>+	case KVM_HAS_DEVICE_ATTR: {
>+		if (copy_from_user(&attr, argp, sizeof(attr)))
>+			return -EFAULT;
>+		return kvm_arm_vcpu_has_attr(vcpu, &attr);
>+	}
do we share the ioctl number space across device, VM, and VCPU file
descriptors?
Yeah, they're shared across device, VM, and VCPU.

Thanks,
--
Shannon
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux