]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Fix reported RTC century and year
authorPekka Enberg <penberg@kernel.org>
Thu, 25 Oct 2012 06:31:25 +0000 (09:31 +0300)
committerPekka Enberg <penberg@kernel.org>
Fri, 26 Oct 2012 15:32:38 +0000 (18:32 +0300)
commit58bd23dd3bc3d74dc7064ef7a2d08e15e74c295b
treeb2b96f7b5f4b405ae0cfb332fe5b16da37d1e7b5
parent9820b0f1a27527a59aa286eb211089a5da438c99
kvm tools: Fix reported RTC century and year

Commit 13d5097 ("kvm tools: Fix reported year in RTC emulation)
attempted to fix wrongly reported RTC year. However, as pointed out by
hpa the proper way to deal with this is to support the RTC century
field.

Suggested-by: H. Peter Anvin <hpa@zytor.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Ron Minnich <rminnich@gmail.com>
Cc: Asias He <asias.hejun@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/hw/rtc.c