qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 02/11] memory: Document that the RAM MR initiali


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 02/11] memory: Document that the RAM MR initializers do not handle migration
Date: Mon, 10 Jul 2017 12:01:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0


On 07/07/2017 16:42, Peter Maydell wrote:
> @@ -522,6 +537,9 @@ void memory_region_init_ram_ptr(MemoryRegion *mr,
>   * @name: the name of the region.
>   * @size: size of the region.
>   * @ptr: memory to be mapped; must contain at least @size bytes.
> + *
> + * Note that this function does not do anything to cause the data in the
> + * RAM memory region to be migrated; that is the responsibility of the 
> caller.

Perhaps add a note that it rarely makes sense for this function?

Paolo

>   */
>  void memory_region_init_ram_device_ptr(MemoryRegion *mr,
>                                         struct Object *owner,
> -- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]