Paolo Bonzini wrote on 2013-03-26:
> Il 22/03/2013 06:24, Yang Zhang ha scritto:
>> +static void rtc_irq_restore(struct kvm_ioapic *ioapic)
>> +{
>> + struct kvm_vcpu *vcpu;
>> + int vector, i, pending_eoi = 0;
>> +
>> + if (RTC_GSI != 8)
>
> Please set it to -1U if not x86, and do
>
> if (RTC_GSI >= IOAPIC_NUM_PINS)
> return;
> here.
Sure. It is more reasonable.
Best regards,
Yang
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html