Philippe Mathieu-Daudé <philmd@xxxxxxxxxx> writes: > We shouldn't call kvmclock_create() when KVM is not available > or disabled: > - check for kvm_enabled() before calling it > - assert KVM is enabled once called > Since the call is elided when KVM is not available, we can > remove the stub (it is never compiled). > > Signed-off-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx> Reviewed-by: Alex Bennée <alex.bennee@xxxxxxxxxx> -- Alex Bennée Virtualisation Tech Lead @ Linaro