mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
Add -rtc-td-hack option to fix time drift with RTC on Windows (Gleb Natapov)
After my last patch to fix interrupt coalescing was rejected on the basis that it is too intrusive we decided to make the fix much more localized and only fix the problem for RTC time source. Unfortunately it is impossible to fix the problem entirely inside RTC code like Andrzej proposed since Windows reads RTC register C more then once on each time interrupt so it is impossible to count reliably how many interrupt windows actually handled. Proposed solution is localized to I386 target and is disabled by default. To enable it "-rtc-td-hack" flag should be used. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6320 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
5fc1503efc
commit
73822ec806
6 changed files with 94 additions and 0 deletions
1
sysemu.h
1
sysemu.h
|
@ -90,6 +90,7 @@ extern int graphic_depth;
|
|||
extern int nographic;
|
||||
extern const char *keyboard_layout;
|
||||
extern int win2k_install_hack;
|
||||
extern int rtc_td_hack;
|
||||
extern int alt_grab;
|
||||
extern int usb_enabled;
|
||||
extern int smp_cpus;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue