Re: [PATCH 5/5] KVM: arm/arm64: allow userspace to set MPIDR

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

 



On 8 March 2017 at 14:19, Christoffer Dall <christoffer.dall@xxxxxxxxxx> wrote:
> Isn't this all super racy?  What prevents two VCPUs from getting the
> same MPIDR at the same time?

>From a userspace API point of view, I was expecting this to be
"just don't do that then" territory, ie it's userspace's job
to set the MPIDRs to something that makes sense. Does KVM
actually care internally what the MPIDR presented to the guest is?
(In theory I don't see why you shouldn't be able to present
the guest with a bit of bogus hardware that claims the same
MPIDR for all cores.)

thanks
-- PMM
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm



[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux