Skip to content
Commit 00875520 authored by Jason Gunthorpe's avatar Jason Gunthorpe Committed by Paolo Bonzini
Browse files

kvm: Return -ENODEV from update_persistent_clock



kvm does not support setting the RTC, so the correct result is -ENODEV.
Returning -1 will cause sync_cmos_clock to keep trying to set the RTC
every second.

Signed-off-by: default avatarJason Gunthorpe <jgg@ziepe.ca>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent cc9085b6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment