* On Wednesday 15 Oct 2008 08:06:30 Sheng Yang wrote: > > > @@ -4115,6 +4116,9 @@ struct kvm *kvm_arch_create_vm(void) > > > INIT_LIST_HEAD(&kvm->arch.active_mmu_pages); > > > INIT_LIST_HEAD(&kvm->arch.assigned_dev_head); > > > > > > + /* Reserve bit 0 of irq_sources_bitmap for userspace irq > > > source */ + kvm->arch.irq_sources_bitmap = 1; > > > + > > Amit, could you help to use 1 << KVM_USERSPACE_IRQ_SOURCE_ID here, I come > to think it's more proper. :)
This is fine; if you think there has to be a change, the change could be done in the .h: - #define KVM_USERSPACE_IRQ_SOURCE_ID 0 + #define KVM_USERSPACE_IRQ_SOURCE_ID 1 << 0 -- 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
