diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-08-02 18:04:12 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-09-10 13:52:28 -0500 |
commit | e2826cf4a8c89d64cdf8304f861910293f046aa8 (patch) | |
tree | 20431f589391ea7ee2229e3518620e18845707f3 /net/tap-win32.c | |
parent | 00cf57747db98c6a9e4219cea39ac3113dde6993 (diff) |
RTC: Get and set time without going through s->current_tm
This patch makes rtc_set_time and rtc_set_cmos work without reading
s->current_tm. In the case of rtc_set_time I introduce a new
function that retrieves the time and stores into a given struct tm
(not hard-coded to s->current_tm). In the case of rtc_set_cmos, the
current time is similarly taken from a struct tm rather than
s->current_tm.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net/tap-win32.c')
0 files changed, 0 insertions, 0 deletions