diff options
| author | 2017-10-31 14:28:09 -0600 | |
|---|---|---|
| committer | 2017-11-02 18:23:18 +0100 | |
| commit | 008755209ce1ae86c0f562a44810b57d9ea31a71 (patch) | |
| tree | dc6c407efacaa82779e14863d333bd1b079972bf /lib/test-string_helpers.c | |
| parent | Merge branch 'kvm-ppc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc (diff) | |
| download | linux-dev-008755209ce1ae86c0f562a44810b57d9ea31a71.tar.xz linux-dev-008755209ce1ae86c0f562a44810b57d9ea31a71.zip | |
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>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
