Re: [RFC PATCH 14/16] kvm tools: teach guest_flat_to_host about memory banks starting above 0

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

 



On 11/12/2012 06:57 AM, Will Deacon wrote:
> Running a guest with multiple banks of memory based above 0 causes the
> guest_flat_to_host address conversion to fail, as it is assumed that
> guest memory addresses are offset linearly from 0.
> 
> This patch changes the translation function so that the kvm_mem_bank
> structures registered by kvm__register_mem are used to translate guest
> addresses, rather than use an offset from the start of host memory.
> 
> Signed-off-by: Will Deacon <will.deacon@xxxxxxx>
> ---

Hmm... we probably need something to teach E820 about this new memory layout
thingie if we start mapping multiple memory banks.

Not urgent for now though - I guess.


Thanks,
Sasha
--
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