[libvirt] [PATCH 01/11] Fix parsing of port attribute in storage XML configuration

Eric Blake eblake at redhat.com
Fri Nov 19 17:56:37 UTC 2010


On 11/12/2010 11:36 AM, Daniel P. Berrange wrote:
> On Fri, Nov 12, 2010 at 10:21:16AM -0700, Eric Blake wrote:
>> On 11/12/2010 09:22 AM, Daniel P. Berrange wrote:
>>> The XML docs describe a 'port' attribute for the
>>> storage source <host> element, but the parser never
>>> handled it.
>>>
>>> * docs/schemas/storagepool.rng: Define port attribute
>>> * src/conf/storage_conf.c: Add missing parsing/formatting
>>>   of host port number
>>> * src/conf/storage_conf.h: Remove bogus/unused 'protocol' field
>>> ---
>>>  docs/schemas/storagepool.rng |    5 +++++
>>
>> Missing corresponding docs/formatstorage.html.in change.
> 
> As per the commit message, this is already documented, but not
> implemented !

Good to know.

> 
>>> diff --git a/docs/schemas/storagepool.rng b/docs/schemas/storagepool.rng
>>> index 54eb802..8f067f3 100644
>>> --- a/docs/schemas/storagepool.rng
>>> +++ b/docs/schemas/storagepool.rng
>>> @@ -186,6 +186,11 @@
>>>        <attribute name='name'>
>>>          <text/>
>>>        </attribute>
>>> +      <optional>
>>> +        <attribute name='port'>
>>> +          <text/>
>>
>> Is text really appropriate?
> 
> I guess it should reference a port number
> 

I don't see this patch applied yet.  ACK with that nit to the schema fixed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101119/39d7b1f6/attachment-0001.sig>


More information about the libvir-list mailing list