Il 22/03/2013 06:24, Yang Zhang ha scritto:
> + vector = ioapic->redirtbl[RTC_GSI].fields.vector;
> + kvm_for_each_vcpu(i, vcpu, ioapic->kvm) {
> + if (kvm_apic_pending_eoi(vcpu, vector)) {
> + pending_eoi++;
> + set_bit(vcpu->vcpu_id, ioapic->rtc_status.dest_map);
Also, __set_bit. If I understand correctly, dest_map is protected by
the ioapic spinlock.
Paolo
> + }
> + }
> + ioapic->rtc_status.pending_eoi = pending_eoi;
--
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