Re: [PATCH v2 02/11] KVM: introduce new vendor op for KVM_GET_DEVICE_ATTR

From: Paolo Bonzini
Date: Fri Feb 23 2024 - 10:04:12 EST


On 2/23/24 15:45, Sean Christopherson wrote:
And as I recently found out[2], u64_to_user_ptr() exists for this exact reason.

I vote to convert to u64_to_user_ptr() as a prep patch, which would make this all
quite a bit more readable.

Sounds good.

Paolo