Re: [RFT] kvm with Windows optimization

Avi Kivity
2007-10-25T18:09:24Z

Anthony Liguori wrote:
> Avi Kivity wrote:
>> Anthony Liguori wrote:
>>> Avi Kivity wrote:
>>>> This is a request for testing of an experimental kvm feature that
>>>> dramatically accelerates some Windows releases (when running with
>>>> the ACPI HAL, and especially with guest SMP). The feature detects
>>>> accesses by the guest to the Task Priority Register (TPR) and
>>>> patches them at runtime to a kvm-friendly code snipped that is
>>>> provided by the BIOS.
>>>>
>>>> The upshot of all that is that
>>>> http://kvm.qumranet.com/kvmwiki/Windows_ACPI_Workaround is no
>>>> longer required, and Windows SMP no longer runs like a dog; it's
>>>> quite snappy from my very limited testing.
>>>>
>>>> Please download the test release from
>>>> http://people.qumranet.com/avi/tpr-opt-1.tar.gz and give it a
>>>> spin. Once it has received some exposure, I'll merge it into
>>>> mainline.
>>>>
>>>> Credit for the original idea is due to Ben Serebrin.
>>>>
>>>>
>>>
>>> Sweet!
>>>
>>> I needed the following patch to compile. Will let you know how
>>> testing goes.
>>>
>>
>> I already applied that, plus another minor fix, so I recommend
>> re-downloading. Should have given it a new name.
>
> What's the minor fix? During the second stage of installing winxp, I
> just got the following BUG(). Have to reboot to check and see if this
> is specific to your branch.
>

Unrelated to the below, I guess. It prevents BSODs, not BUGs.

--
error compiling committee.c: too many arguments to function