qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PULL 37/47] nvdimm acpi: introduce fit buffer


From: Xiao Guangrong
Subject: Re: [Qemu-devel] [PULL 37/47] nvdimm acpi: introduce fit buffer
Date: Tue, 1 Nov 2016 23:57:55 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0



On 11/01/2016 09:58 PM, Igor Mammedov wrote:


I mean, for example. if there are two devices, the first one is failed to be
realized, the second one is init-ed successfully, then can
nvdimm_plugged_device_list() get these two devices?

Based the code of pc_dimm_built_list(), i guess yes.
nope,
read qdev_device_add() end result:
 - on success device in QOM tree
 - on failure device is destroyed

Okay, pc_dimm_built_list let me mislead the failed case.
so this function also can be refined.



reply via email to

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