Re: Remove qemu_alloc_physram()

Ryan Harper
2009-05-28T21:53:58Z

* Avi Kivity <avi@redhat.com> [2009-05-27 11:23]:
> Avi Kivity wrote:
> >nicolas prochazka wrote:
> >>without -mem-prealloc
> >>HugePages_Total: 2560
> >>HugePages_Free: 2296
> >>HugePages_Rsvd: 0
> >>
> >>so after minimum test, i can say that's your patch seems to be correct
> >>this problem.
> >>
> >
> >It isn't correct, it doesn't generate the right alignment.
> >
> Better patch attached.

This patch restores -mempath working for me on latest qemu-kvm.git.

btw, why'd we go from -mem-path (kvm-84/stable) to -mempath (kvm-85 and
newer)? Changing these breaks existing scripts. Not a big deal, but
wondering what was the motivation for the change.

--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
ryanh@us.ibm.com