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

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

 



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,
> so please wrap with HAVE_KVM_IRQCHIP (which is a close approximation).
> 
> Arch maintainers, please confirm.

Yes, vcpu[0] should be the bsp for ia64 guests, even if this is not always true for real platforms.   
Xiantao--
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