Re: [tip:tools/kvm] kvm tools: Fix reported year in RTC emulation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 19, 2012 at 4:28 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:

> You know there is a century field, right?

Yeah. That's  not the issue. The issue is that kvmtool takes the
gmtime notion of a year, which is years since 1900, and just uses that
in the year byte of CMOS. This is a pretty trivial fix which should
work in all the cases I can think of for QEMU (and works very well for
me at present). If I'm missing something, let me know. I'm just back
from too much beer at latinosoft dinner so don't assume I'm thinking
clearly.

ron
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux