[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-commits] [COMMIT 059b8b1] KVM: x86: Refactor persistent CPU st
From: |
Filip Navara |
Subject: |
Re: [Qemu-commits] [COMMIT 059b8b1] KVM: x86: Refactor persistent CPU state |
Date: |
Wed, 1 Jul 2009 22:05:14 +0200 |
On Wed, Jul 1, 2009 at 9:52 PM, Anthony Liguori<address@hidden> wrote:
> Blue Swirl wrote:
>>
>> On 6/30/09, Anthony Liguori <address@hidden> wrote:
>>
>>>
>>> From: Jan Kiszka <address@hidden>
>>>
>>> This patch aligns the KVM-related layout and encoding of the CPU state
>>> to be saved to disk or migrated with qemu-kvm. The major differences are
>>> reordering of fields and a compressed interrupt_bitmap into a single
>>> number as there can be no more than one pending IRQ at a time.
>>>
>>> Signed-off-by: Jan Kiszka <address@hidden>
>>> Signed-off-by: Anthony Liguori <address@hidden>
>>>
>>
>>
>>>
>>> + for (i = 0; i < ARRAY_SIZE(env->interrupt_bitmap); i++) {
>>> + bit = ffsll(env->interrupt_bitmap[i]);
>>>
>>
>> This broke build on platforms without ffsll (Mingw32, *BSDs).
>>
>
> What version of mingw32? Mine seems to have ffsll (gcc 4.4.2).
Official MinGW with GCC 3.4.5 doesn't have it.
Best regards,
Filip Navara