OK, I wil chang all flags to 32bits
It is a little strange that the compiler give no warning when losing precision.
-Original Message-
From: Richard Henderson [mailto:richard.hender...@linaro.org]
Sent: Wednesday, July 18, 2018 12:03 AM
To: junyan...@gmx.com; qemu-devel@nongnu.org
Cc:
On 07/16/2018 11:32 PM, junyan...@gmx.com wrote:
> RAMBlock *qemu_ram_alloc_from_fd(ram_addr_t size, MemoryRegion *mr,
> - bool share, int fd,
> + uint64_t ram_flags, int fd,
> Error **errp)
> {
>
From: Junyan He
As more flag parameters besides the existing 'share' are going to be
added to following functions
memory_region_init_ram_from_file
qemu_ram_alloc_from_fd
qemu_ram_alloc_from_file
let's switch them to use the 'flags' parameters so as to ease future
flag additions.
The existing