qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Time drift again.


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH] Time drift again.
Date: Tue, 16 Dec 2008 17:36:19 +0200

On 12/16/08, Gleb Natapov <address@hidden> wrote:
>   #ifdef TARGET_I386
>   int win2k_install_hack = 0;
>   #endif
>  +int rtc_td_hack = 0;

>   #ifdef TARGET_I386
>             "-win2k-hack     use it when installing Windows 2000 to avoid a 
> disk full bug\n"
>   #endif
>  +           "-rtc-td-hack    use it to fix time drift in Windows ACPI HAL\n"

>      QEMU_OPTION_win2k_hack,
>  +    QEMU_OPTION_rtc_td_hack,

>      { "win2k-hack", 0, QEMU_OPTION_win2k_hack },
>  +    { "rtc-td-hack", 0, QEMU_OPTION_rtc_td_hack },

>                  win2k_install_hack = 1;
>                  break;
>   #endif
>  +            case QEMU_OPTION_rtc_td_hack:
>  +                rtc_td_hack = 1;
>  +                break;
>   #ifdef USE_KQEMU

Like win2k-hack, the code and variable definitions should be
conditional to TARGET_I386, just by moving the #endif a few lines.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]