Re: [Qemu-devel] [PATCH 3/3] change int len to uin32_t len

2018-11-08 Thread Peter Maydell
On 8 November 2018 at 10:59, Li Zhijian wrote: > In order to support >= 2G initrd, we need to change len type from int to > uin32_t. > > Below is the flow sample to show how qemu copy initrd from qemu > side to VM when using optionroms bootlinux_dma.bin: > dma_memory_read(uint32_t len) > -> dma_

[Qemu-devel] [PATCH 3/3] change int len to uin32_t len

2018-11-08 Thread Li Zhijian
In order to support >= 2G initrd, we need to change len type from int to uin32_t. Below is the flow sample to show how qemu copy initrd from qemu side to VM when using optionroms bootlinux_dma.bin: dma_memory_read(uint32_t len) -> dma_memory_rw(uint32_t len) -> dma_memory_rw_relaxed(uint32_t