Searched hist:"824808 dd77821ceba05357cb1ee4069a6a95bebd" (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 051.pc.out | diff 824808dd77821ceba05357cb1ee4069a6a95bebd Wed Jul 04 06:28:29 CDT 2018 Kevin Wolf <kwolf@redhat.com> block: Don't silently truncate node names
If the user passes a too long node name string, we silently truncate it to fit into BlockDriverState.node_name, i.e. to 31 characters. Apart from surprising the user when the node has a different name than requested, this also bypasses the check for duplicate names, so that the same name can be assigned to multiple nodes.
Fix this by just making too long node names an error.
Reported-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
H A D | 051 | diff 824808dd77821ceba05357cb1ee4069a6a95bebd Wed Jul 04 06:28:29 CDT 2018 Kevin Wolf <kwolf@redhat.com> block: Don't silently truncate node names
If the user passes a too long node name string, we silently truncate it to fit into BlockDriverState.node_name, i.e. to 31 characters. Apart from surprising the user when the node has a different name than requested, this also bypasses the check for duplicate names, so that the same name can be assigned to multiple nodes.
Fix this by just making too long node names an error.
Reported-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
H A D | 051.out | diff 824808dd77821ceba05357cb1ee4069a6a95bebd Wed Jul 04 06:28:29 CDT 2018 Kevin Wolf <kwolf@redhat.com> block: Don't silently truncate node names
If the user passes a too long node name string, we silently truncate it to fit into BlockDriverState.node_name, i.e. to 31 characters. Apart from surprising the user when the node has a different name than requested, this also bypasses the check for duplicate names, so that the same name can be assigned to multiple nodes.
Fix this by just making too long node names an error.
Reported-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
/openbmc/qemu/ |
H A D | block.c | diff 824808dd77821ceba05357cb1ee4069a6a95bebd Wed Jul 04 06:28:29 CDT 2018 Kevin Wolf <kwolf@redhat.com> block: Don't silently truncate node names
If the user passes a too long node name string, we silently truncate it to fit into BlockDriverState.node_name, i.e. to 31 characters. Apart from surprising the user when the node has a different name than requested, this also bypasses the check for duplicate names, so that the same name can be assigned to multiple nodes.
Fix this by just making too long node names an error.
Reported-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|