qemu-ppc
[Top][All Lists]
Advanced

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

Re: [Qemu-ppc] [Qemu-devel] [QEMU PATCH v5 4/6] migration: migrate QTAIL


From: Paolo Bonzini
Subject: Re: [Qemu-ppc] [Qemu-devel] [QEMU PATCH v5 4/6] migration: migrate QTAILQ
Date: Sat, 8 Oct 2016 13:37:46 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0


On 07/10/2016 19:43, Jianjun Duan wrote:
> Even though most put/get have no issues now, when somebody writes a new
> put, he or she could run into issues if only checking the type
> signature. It makes the code more readable.

No, it doesn't because one is left wondering what is VMS_LINKED about.
What is the relation between linked datastructures and passing some
arguments as NULL/noon-NULL?

When somebody writes a new get/put, they'll make an informed choice on
what arguments they need. :)

Paolo



reply via email to

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