[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: |
Zhu Guihua |
Subject: |
Re: [Qemu-devel] [PATCH v2 37/36] qdev: device_del: search for to be unplugged device in 'peripheral' container |
Date: |
Thu, 9 Oct 2014 09:50:14 +0800 |
On Wed, 2014-10-08 at 10:01 +0200, Paolo Bonzini wrote:
> 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.
Thanks for your patient explanation。
And I think it is better to make memory-devices without dev->id use
auto-generated IDs.
Regards,
Zhu
>
> Paolo
- [Qemu-devel] [PATCH v2 37/36] qdev: device_del: search for to be unplugged device in 'peripheral' container, Igor Mammedov, 2014/10/02
- Re: [Qemu-devel] [PATCH v2 37/36] qdev: device_del: search for to be unplugged device in 'peripheral' container, Zhu Guihua, 2014/10/07
- Re: [Qemu-devel] [PATCH v2 37/36] qdev: device_del: search for to be unplugged device in 'peripheral' container, Igor Mammedov, 2014/10/07
- Re: [Qemu-devel] [PATCH v2 37/36] qdev: device_del: search for to be unplugged device in 'peripheral' container, Andreas Färber, 2014/10/07
- Re: [Qemu-devel] [PATCH v2 37/36] qdev: device_del: search for to be unplugged device in 'peripheral' container, Igor Mammedov, 2014/10/07
- Re: [Qemu-devel] [PATCH v2 37/36] qdev: device_del: search for to be unplugged device in 'peripheral' container, Zhu Guihua, 2014/10/07
- Re: [Qemu-devel] [PATCH v2 37/36] qdev: device_del: search for to be unplugged device in 'peripheral' container, Paolo Bonzini, 2014/10/08
- Re: [Qemu-devel] [PATCH v2 37/36] qdev: device_del: search for to be unplugged device in 'peripheral' container,
Zhu Guihua <=
- Re: [Qemu-devel] [PATCH v2 37/36] qdev: device_del: search for to be unplugged device in 'peripheral' container, Markus Armbruster, 2014/10/09