Il 27/03/2012 23:21, Zhi Yong Wu ha scritto:
Yes, that's correct. Everything that uses PROP_PTR needs to become a
But i didn't see that that stuff which uses PROP_PTR become a link in
current QEMU code.
Yes, that's why I wrote needs to become. In order to use links, you
need two things:
*
By the way, why have we not add one QOM cookbook to docs? It is very
useful for us newbiew to learn.
On Wed, Mar 28, 2012 at 2:41 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 27/03/2012 23:21, Zhi Yong Wu ha scritto:
Yes, that's correct. Everything that uses PROP_PTR needs to become a
But
Il 28/03/2012 09:53, Zhi Yong Wu ha scritto:
By the way, why have we not add one QOM cookbook to docs? It is very
useful for us newbiew to learn.
Yes, that would be useful. It takes time to write docs unfortunately. :(
Paolo
On Wed, Mar 28, 2012 at 4:05 PM, 陳韋任 che...@iis.sinica.edu.tw wrote:
Il 28/03/2012 09:53, Zhi Yong Wu ha scritto:
By the way, why have we not add one QOM cookbook to docs? It is very
useful for us newbiew to learn.
You can write what you learn during this work. This should be a good
Il 28/03/2012 09:53, Zhi Yong Wu ha scritto:
By the way, why have we not add one QOM cookbook to docs? It is very
useful for us newbiew to learn.
You can write what you learn during this work. This should be a good
start! :)
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab,
On Wed, Mar 28, 2012 at 04:25:54PM +0800, Zhi Yong Wu wrote:
On Wed, Mar 28, 2012 at 4:05 PM, 陳韋任 che...@iis.sinica.edu.tw wrote:
Il 28/03/2012 09:53, Zhi Yong Wu ha scritto:
By the way, why have we not add one QOM cookbook to docs? It is very
useful for us newbiew to learn.
You can
Il 26/03/2012 07:40, zwu.ker...@gmail.com ha scritto:
+#define DEFINE_HOSTDEV_PROP_PEER(_n, _s, _f) \
+DEFINE_HOSTDEV_PROP(_n, _s, _f, hostdev_prop_netdev, NetClientState*)
This should be simply a linkNetDev property.
Paolo
On Tue, Mar 27, 2012 at 4:23 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 26/03/2012 07:40, zwu.ker...@gmail.com ha scritto:
+#define DEFINE_HOSTDEV_PROP_PEER(_n, _s, _f) \
+ DEFINE_HOSTDEV_PROP(_n, _s, _f, hostdev_prop_netdev, NetClientState*)
This should be simply a
Il 27/03/2012 11:06, Zhi Yong Wu ha scritto:
+#define DEFINE_HOSTDEV_PROP_PEER(_n, _s, _f) \
+DEFINE_HOSTDEV_PROP(_n, _s, _f, hostdev_prop_netdev,
NetClientState*)
This should be simply a linkNetDev property.
IMHO, i don't fully understand what linkNetDev mean. What is
On Tue, Mar 27, 2012 at 6:15 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 27/03/2012 11:06, Zhi Yong Wu ha scritto:
+#define DEFINE_HOSTDEV_PROP_PEER(_n, _s, _f) \
+ DEFINE_HOSTDEV_PROP(_n, _s, _f, hostdev_prop_netdev,
NetClientState*)
This should be simply a
Il 27/03/2012 13:59, Zhi Yong Wu ha scritto:
On Tue, Mar 27, 2012 at 6:15 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 27/03/2012 11:06, Zhi Yong Wu ha scritto:
+#define DEFINE_HOSTDEV_PROP_PEER(_n, _s, _f) \
+DEFINE_HOSTDEV_PROP(_n, _s, _f, hostdev_prop_netdev,
On Tue, Mar 27, 2012 at 9:58 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 27/03/2012 13:59, Zhi Yong Wu ha scritto:
On Tue, Mar 27, 2012 at 6:15 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 27/03/2012 11:06, Zhi Yong Wu ha scritto:
+#define DEFINE_HOSTDEV_PROP_PEER(_n, _s, _f)
Il 27/03/2012 16:18, Zhi Yong Wu ha scritto:
On Tue, Mar 27, 2012 at 9:58 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 27/03/2012 13:59, Zhi Yong Wu ha scritto:
On Tue, Mar 27, 2012 at 6:15 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 27/03/2012 11:06, Zhi Yong Wu ha scritto:
+#define
On Tue, Mar 27, 2012 at 10:50 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 27/03/2012 16:18, Zhi Yong Wu ha scritto:
On Tue, Mar 27, 2012 at 9:58 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 27/03/2012 13:59, Zhi Yong Wu ha scritto:
On Tue, Mar 27, 2012 at 6:15 PM, Paolo Bonzini
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
include/qemu/hostdev.h | 128 ++
qom/Makefile |2 +-
qom/hostdev.c | 333
3 files changed, 462
A lot of property get/set functions in qdev-properties.c are related
to DeviceState. So i have to copy and modify some of them here to
apply our host device model. In the future, we should make those
functions more generic.
On Mon, Mar 26, 2012 at 1:40 PM, zwu.ker...@gmail.com wrote:
From: Zhi
16 matches
Mail list logo