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

2011-05-12 Thread Ingo Molnar
* Asias He wrote: > On 05/11/2011 11:17 PM, levinsasha...@gmail.com wrote: > > From: Sasha Levin > > > > e820 is expected to leave a memory gap within the low 32 > > bits of RAM space. From the documentation of e820_setup_gap(): > > /* > > * Search for the biggest gap in the low 32 bits of th

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

2011-05-11 Thread Asias He
On 05/11/2011 11:17 PM, levinsasha...@gmail.com wrote: > From: Sasha Levin > > e820 is expected to leave a memory gap within the low 32 > bits of RAM space. From the documentation of e820_setup_gap(): > /* > * Search for the biggest gap in the low 32 bits of the e820 > * memory space. We pass

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

2011-05-11 Thread Ingo Molnar
* levinsasha...@gmail.com wrote: > @@ -225,7 +266,18 @@ struct kvm *kvm__init(const char *kvm_dev, unsigned long > ram_size) > > self->ram_size = ram_size; > > - self->ram_start = mmap(NULL, ram_size, PROT_READ | PROT_WRITE, > MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE,

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

2011-05-11 Thread Pekka Enberg
On Wed, 11 May 2011, Ingo Molnar wrote: Ok, with your fixes applied i can boot a 10 GB RAM guest just fine - both the hang and the later IO errors and IO corruptions are gone: [root@aldebaran ~]# free total used free sharedbuffers cached Mem: 10019972

[PATCH 1/3 V4] kvm tools: Add memory gap for larger RAM sizes

2011-05-11 Thread levinsasha928
From: Sasha Levin e820 is expected to leave a memory gap within the low 32 bits of RAM space. From the documentation of e820_setup_gap(): /* * Search for the biggest gap in the low 32 bits of the e820 * memory space. We pass this space to PCI to assign MMIO resources * for hotplug or unconfig

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

2011-05-11 Thread Ingo Molnar
* Ingo Molnar wrote: > I'll test your series. Ok, with your fixes applied i can boot a 10 GB RAM guest just fine - both the hang and the later IO errors and IO corruptions are gone: [root@aldebaran ~]# free total used free sharedbuffers cached Mem: