On Tue, Feb 14, 2023 at 05:00:56PM +0800, Tianrui Zhao wrote:
What is wrong with accessing only one csr at a time? Isn't this whatWe want to use this ioctl to access multiple csrs at one time. If without+#define KVM_GET_CSRS _IOWR(KVMIO, 0xc5, struct kvm_csrs)Why does this arch need new ioctls?
+#define KVM_SET_CSRS _IOW(KVMIO, 0xc6, struct kvm_csrs)
this, we only access one csr.
other architectures do?
There is another function, can we use the KVM_GET/SET_MSRS to access ourI do not know, that's up to the KVM developers to answer.
csrs?
thanks,
greg k-h