Re: [Qemu-devel] [PATCH v2 1/2] qdev: Introduce a function to get qbus's parent

2014-08-21 Thread Gonglei (Arei)
> From: Hu Tao [mailto:hu...@cn.fujitsu.com] > On Thu, Aug 21, 2014 at 05:47:45PM +0800, arei.gong...@huawei.com wrote: > > From: Gonglei > > > > We need to use qbus's parent and get its name. > > > > Signed-off-by: Gonglei > > --- > > hw/core/qdev.c | 7 +++ > > include/hw/qdev-core

Re: [Qemu-devel] [PATCH v2 1/2] qdev: Introduce a function to get qbus's parent

2014-08-21 Thread Hu Tao
On Thu, Aug 21, 2014 at 05:47:45PM +0800, arei.gong...@huawei.com wrote: > From: Gonglei > > We need to use qbus's parent and get its name. > > Signed-off-by: Gonglei > --- > hw/core/qdev.c | 7 +++ > include/hw/qdev-core.h | 1 + > 2 files changed, 8 insertions(+) > > diff --git

[Qemu-devel] [PATCH v2 1/2] qdev: Introduce a function to get qbus's parent

2014-08-21 Thread arei.gonglei
From: Gonglei We need to use qbus's parent and get its name. Signed-off-by: Gonglei --- hw/core/qdev.c | 7 +++ include/hw/qdev-core.h | 1 + 2 files changed, 8 insertions(+) diff --git a/hw/core/qdev.c b/hw/core/qdev.c index da1ba48..5c49e08 100644 --- a/hw/core/qdev.c +++ b/hw/c