Re: [Qemu-devel] [PATCH for 2.1] ppc: fix -mem-path failure

2014-07-22 Thread Alexander Graf
On 07/21/2014 11:30 AM, Hu Tao wrote: commit e938ba0c tried to enable -mem-path for ppc but breaked some ppc boards. The problems are: 1. it fails when allocating memory for rom, sram whose sizes are less than huge page size: ./ppc-softmmu/qemu-system-ppc -m 512 -mem-path /hugepages/

[Qemu-devel] [PATCH for 2.1] ppc: fix -mem-path failure

2014-07-21 Thread Hu Tao
commit e938ba0c tried to enable -mem-path for ppc but breaked some ppc boards. The problems are: 1. it fails when allocating memory for rom, sram whose sizes are less than huge page size: ./ppc-softmmu/qemu-system-ppc -m 512 -mem-path /hugepages/ \ -kernel /home/hutao/Downloads/vmlinux