qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 37/36] qdev: device_del: search for to be unp


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v2 37/36] qdev: device_del: search for to be unplugged device in 'peripheral' container
Date: Wed, 08 Oct 2014 10:01:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1

Il 08/10/2014 05:49, Zhu Guihua ha scritto:
> when device_add pc-dimm, only 'memdev' property is necessary, but the
> 'id' property is optional. 
> 
> So I execute the command as followings:
> object_add memory-backend-ram,id=ram0,size=128M
> device_add pc-dimm,memdev=ram0
> 
> Now it is impossible to delete the pc-dimm, because it has no id, and it
> is inside of 'peripheral-anon' container. 

Sure; but that was an explicit choice when you issued device_add.

Paolo



reply via email to

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