Re: [PATCH 1/2] kvm tools: Add memory gap for larger RAM sizes

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

 



On 05/11/2011 11:44 AM, Ingo Molnar wrote:
>
>  It doesn't work in general - if you have a PCI device with a BAR
>  (like a video card framebuffer), then you need allocations for main
>  memory (0+) and pci (0xe000000+).  You can't have a contiguous
>  mapping on i386 containing both.

I think in tools/kvm/ we can ignore i386 hosts that would like to map more RAM
than they have virtual address space for ...

Guests up to 1-2 gigs of RAM will still work fine.


It doesn't work. Consider a guest with 128MB of RAM mapped at 0-128MB and an 8MB framebuffer mapped at 0xe0000000. There's no way to present this in a contiguous space.

Well, I guess you can map the framebuffer lower, but that means giving up memory hotplug if you ever wish to implement it (and doesn't allow the guest to remap the framebuffer if it wishes to).

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

--
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