]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virNodeDeviceCapStorageDefFormatBlocksize: Report sector size and count together
authorPeter Krempa <pkrempa@redhat.com>
Thu, 7 Dec 2023 12:01:34 +0000 (13:01 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 7 Dec 2023 15:42:32 +0000 (16:42 +0100)
commit06e344f762bb2a31bfbdecbf0da9736373c19cce
treebd3cafe0c914e1c95dc68e09cbe9b5f2af376013
parent9f855b149a9d7d0ffad7921275a9e57c49cb014b
virNodeDeviceCapStorageDefFormatBlocksize: Report sector size and count together

Report both block count and size together when either one of them is
present equivalently to what the schema type 'blockData' in
'schemas/nodedev.rng' defines.

Resolves: https://issues.redhat.com/browse/RHEL-18165
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/node_device_conf.c