Re: [PATCH 1/4] Introduce kvm_vcpu_is_bsp() function.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2009-06-08 at 14:20 +0300, Avi Kivity wrote:
> Gleb Natapov wrote:
> > @@ -130,6 +130,7 @@ struct kvm {
> >  	int nmemslots;
> >  	struct kvm_memory_slot memslots[KVM_MEMORY_SLOTS +
> >  					KVM_PRIVATE_MEM_SLOTS];
> > +	struct kvm_vcpu *bsp_vcpu;
> >  	struct kvm_vcpu *vcpus[KVM_MAX_VCPUS];
> >  	struct list_head vm_list;
> >  	struct kvm_io_bus mmio_bus;
> >   
> 
> The concept of bsp (boot processor) is limited IIUC to x86 and ia64

That is true.

> please wrap with HAVE_KVM_IRQCHIP (which is a close approximation).

I don't know about that... I've definitely thought about implementing an
in-kernel PIC for PowerPC. (That will make more sense as an optimization
once the processors with hypervisor support start hitting the market.)

-- 
Hollis Blanchard
IBM Linux Technology Center

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux