qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC 2/9] net: introduce one net host device class


From: Zhi Yong Wu
Subject: Re: [Qemu-devel] [RFC 2/9] net: introduce one net host device class
Date: Tue, 27 Mar 2012 17:13:03 +0800

On Tue, Mar 27, 2012 at 4:30 PM, Paolo Bonzini <address@hidden> wrote:
> Il 26/03/2012 07:40, address@hidden ha scritto:
>> +    /*< public >*/
>> +    QemuOpts *opts;
>> +    Monitor *mon;
>> +    const char *name;
>> +    NetClientState *peer;
>> +};
>
> The QemuOpts should not be part of the struct.  You need to store them
> into properties at initialization time, and forget them afterwards.
This should be done in your QemuOpts QOM feature, right?:)
>
> All the infrastructure to do this is already in qdev-properties.c.
>
> Paolo



-- 
Regards,

Zhi Yong Wu



reply via email to

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