[Android-virt] [PATCH v5 12/13] ARM: KVM: Fix guest view of MPIDR

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

 



On 12/11/2011 12:25 PM, Christoffer Dall wrote:
> From: Marc Zyngier <marc.zyngier at arm.com>
>
> A guest may need to know which CPU it has booted on (and Linux does).
> Now that we can run KVM on a SMP host, QEMU may be running on any

s/QEMU/userspace/

> CPU. In that case, directly reading MPIDR will give an inconsistent
> view on the guest CPU number (among other problems).
>
> The solution is to use the VMPIDR register, which is computed by
> using the host MPIDR and overriding the low bits with KVM vcpu_id.
>
> Signed-off-by: Marc Zyngier <marc.zyngier at arm.com>

Since you're posting the patch for (eventual) inclusion, you need to
sign off as well.


-- 
error compiling committee.c: too many arguments to function



[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