Re: [PATCH 1/4] Make drive unit attribute optional in the XML schema

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

 



On 01/12/2012 08:39 PM, Michael Ellerman wrote:
> The "unit" attribute of a drive address is optional in the code, so should
> also be in the XML schema.
> 
> Signed-off-by: Michael Ellerman <michael@xxxxxxxxxxxxxx>
> ---
>  docs/schemas/domaincommon.rng |    8 +++++---
>  1 files changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
> index e93ae77..b9da906 100644
> --- a/docs/schemas/domaincommon.rng
> +++ b/docs/schemas/domaincommon.rng
> @@ -2307,9 +2307,11 @@
>          <ref name="driveBus"/>
>        </attribute>
>      </optional>
> -    <attribute name="unit">
> -      <ref name="driveUnit"/>
> -    </attribute>
> +    <optional>
> +      <attribute name="unit">
> +        <ref name="driveUnit"/>
> +      </attribute>
> +    </optional>

ACK and pushed.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]