[Android-virt] [PATCH 03/15] ARM: KVM: Initial VGIC MMIO support code

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

 



On 20/06/12 22:06, Christoffer Dall wrote:
> On Mon, May 14, 2012 at 9:05 AM, Marc Zyngier <marc.zyngier at arm.com> wrote:
>> Wire the initial in-kernel MMIO support code for the VGIC, used
>> for the distributor emulation.
>>
>> Signed-off-by: Marc Zyngier <marc.zyngier at arm.com>
>> ---
>>  arch/arm/include/asm/kvm_vgic.h |    4 +-
>>  arch/arm/kvm/Makefile           |    1 +
>>  arch/arm/kvm/vgic.c             |  130 +++++++++++++++++++++++++++++++++++++++
>>  3 files changed, 134 insertions(+), 1 deletions(-)
>>  create mode 100644 arch/arm/kvm/vgic.c
>>

[...]

> I'm guessing we probably don't want to do all this off of the kvm_run
> struct given that user space maps it, but rather have a separate copy
> of the struct mmio or something different all together.

Ouch. I didn't realize kvm_run was actually mmapped. I'll change all
this to use a separate copy.

	M.
-- 
Jazz is not dead. It just smells funny...




[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