[PATCH] schema: Allow '0' offset for a <slice> of <disk>

Pavel Hrdina phrdina at redhat.com
Fri May 21 13:57:06 UTC 2021


On Fri, May 21, 2021 at 02:57:16PM +0200, Peter Krempa wrote:
> Using slice to cut off the end of the image is a perfectly vaid
> configuration. Use 'unsignedInt' instead of 'positiveInteger' for the
> 'offset' attribute in the XML schema and modify one test case to cover
> this use case.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1960993
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  docs/schemas/domaincommon.rng                          | 2 +-
>  tests/qemuxml2argvdata/disk-slices.x86_64-latest.args  | 2 +-
>  tests/qemuxml2argvdata/disk-slices.xml                 | 2 +-
>  tests/qemuxml2xmloutdata/disk-slices.x86_64-latest.xml | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210521/b3e0f80b/attachment-0001.sig>


More information about the libvir-list mailing list