commit | 008755209ce1ae86c0f562a44810b57d9ea31a71 | [log] [tgz] |
---|---|---|
author | Jason Gunthorpe <jgg@ziepe.ca> | Tue Oct 31 14:28:09 2017 -0600 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Nov 02 18:23:18 2017 +0100 |
tree | dc6c407efacaa82779e14863d333bd1b079972bf | |
parent | cc9085b6875323fd0c935ee7176583bb572821ee [diff] |
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: Jason Gunthorpe <jgg@ziepe.ca> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>