On 16/09/21 20:15, Oliver Upton wrote:
+ if (data.flags & ~KVM_CLOCK_REALTIME) return -EINVAL;
Let's accept KVM_CLOCK_HOST_TSC here even though it's not used; there may be programs that expect to send back to KVM_SET_CLOCK whatever they got from KVM_GET_CLOCK.