[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] monitor: allow object_del & device_del to accep
From: |
Gonglei |
Subject: |
Re: [Qemu-devel] [PATCH] monitor: allow object_del & device_del to accept QOM paths |
Date: |
Sat, 29 Aug 2015 15:27:36 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 2015/8/29 14:49, Paolo Bonzini wrote:
>
>
> On 28/08/2015 14:53, Markus Armbruster wrote:
>> I believe this makes sense no matter what we do about device IDs (see
>> thread "Should we auto-generate IDs?").
>
> I haven't read that huge thread yet, but I think it gives the user too
> much power. There are internal objects that are not supposed to be
> freed, and freeing them would likely result in a SEGV or similar.
>
If one object do not support hot-unplug, the interface will return simply
with error messages. ;)
Regards,
-Gonglei