On Tue, Jan 10, 2017 at 01:53:12PM +0100, Igor Mammedov wrote:
> 
> Changelog:
>     since v1:
>         * fix mistakes in commit messages/change them as suggested
>         * extend 3/3 commit message to explain why it's ok to use 'id'
>         * 3/3 set 'id' property directly instead of injecting it back
>           into qdict.
> 
> 
> Series is a couple of preparratory cleanups which simplify fix
> and a fix itself.
> 
> Before fix HMP 'info memdevs' for CLI:
> qemu-system-x86_64 -object memory-backend-ram,id=mem0,size=1G
> outputs:
> 
>   memory backend: 0
>     size:  1073741824
>     merge: true
>     dump: true
>     prealloc: false
>     policy: default
>     host nodes: 128
> 
> after fix:
> 
>   memory backend: mem0
>     size:  1073741824
>     merge: true
>     dump: true
>     prealloc: false
>     policy: default
>     host nodes: 128
> 
> it should help to avoid remembering hotplugged IDs as they
> could be queried back via HMP/QMP interface.
> 

Applied to machine-next. Thanks!

-- 
Eduardo

Reply via email to