Re: [PATCH] hw/arm/virt: use pflash image real size when mapping

2020-09-21 Thread Laszlo Ersek
On 09/18/20 15:41, Philippe Mathieu-Daudé wrote: > Cc'ing firmware experts. > > On 9/18/20 2:26 PM, haibinzhang(寮犳捣鏂�) wrote: >> Default size of arm-virt pflash image is 64MB which >> will cost extra 128MB(64MBx2) memory per qemu process >> and 12.5GB for 100 qemu processes. Host memory is >> prec

Re: [PATCH] hw/arm/virt: use pflash image real size when mapping

2020-09-20 Thread 张海斌
Resend the mail using plain text format > On Sep 18, 2020, at 9:41 PM, Philippe Mathieu-Daudé wrote: > > Cc'ing firmware experts. > > On 9/18/20 2:26 PM, haibinzhang(寮犳捣鏂? wrote: >> Default size of arm-virt pflash image is 64MB which >> will cost extra 128MB(64MBx2) memory per qemu process >> a

Re: [PATCH] hw/arm/virt: use pflash image real size when mapping

2020-09-19 Thread 张海斌
On Sep 18, 2020, at 9:41 PM, Philippe Mathieu-Daudé mailto:phi...@redhat.com>> wrote: Cc'ing firmware experts. On 9/18/20 2:26 PM, haibinzhang(寮犳捣鏂? wrote: Default size of arm-virt pflash image is 64MB which will cost extra 128MB(64MBx2) memory per qemu process and 12.5GB for 100 qemu processe

Re: [PATCH] hw/arm/virt: use pflash image real size when mapping

2020-09-18 Thread Philippe Mathieu-Daudé
Cc'ing firmware experts. On 9/18/20 2:26 PM, haibinzhang(寮犳捣鏂�) wrote: > Default size of arm-virt pflash image is 64MB which > will cost extra 128MB(64MBx2) memory per qemu process > and 12.5GB for 100 qemu processes. Host memory is > precious and it is valuable to reduce pflash image size. > For

[PATCH] hw/arm/virt: use pflash image real size when mapping

2020-09-18 Thread 张海斌
Default size of arm-virt pflash image is 64MB which will cost extra 128MB(64MBx2) memory per qemu process and 12.5GB for 100 qemu processes. Host memory is precious and it is valuable to reduce pflash image size. For compatibility arm-virt uses real size when mapping. Signed-off-by: Haibin Zhang

[PATCH] hw/arm/virt: use pflash image real size when mapping

2020-09-18 Thread 张海斌
Default size of arm-virt pflash image is 64MB which will cost extra 128MB(64MBx2) memory per qemu process and 12.5GB for 100 qemu processes. Host memory is precious and it is valuable to reduce pflash image size. For compatibility arm-virt uses real size when mapping. Signed-off-by: Haibin Zhang