[libvirt] [PATCH v1 2/6] conf: Parse and format shmem device XML

Maxime Leroy maxime.leroy at 6wind.com
Wed Aug 27 21:06:02 UTC 2014


On Tue, Aug 26, 2014 at 11:02 AM, Wang Rui <moon.wangrui at huawei.com> wrote:
> On 2014/8/22 18:47, Maxime Leroy wrote:
>> This patch adds configuration support for the shmem device
>> as described in the schema in the previous patch.
[..]
>> +    if (model) {
>> +        if ((def->model == virDomainShmemModelTypeFromString(model)) < 0) {
>
> I guess you intend 'def->modle = ...' not 'def->model == ...' .
>

Thanks. Anyway model attribute will be removed.

Maxime




More information about the libvir-list mailing list