diff options
author | Daniel Xu <dxu@dxuuu.xyz> | 2023-03-22 18:19:27 -0600 |
---|---|---|
committer | Konstantin Kostiuk <kkostiuk@redhat.com> | 2023-05-04 09:12:48 +0000 |
commit | 810f677ab86e649d449233b435197552024b016d (patch) | |
tree | 7c708199a9ccca2e279be46df67b217335adaddf /tests/unit | |
parent | 9c5ccc52abe3977be53e42af84a6e590b3e1db19 (diff) |
qga: Add `merged` variant to GuestExecCaptureOutputMode
Currently, any captured output (via `capture-output`) is segregated into
separate GuestExecStatus fields (`out-data` and `err-data`). This means
that downstream consumers have no way to reassemble the captured data
back into the original stream.
This is relevant for chatty and semi-interactive (ie. read only) CLI
tools. Such tools may deliberately interleave stdout and stderr for
visual effect. If segregated, the output becomes harder to visually
understand.
This commit adds a new enum variant to the GuestExecCaptureOutputMode
qapi to merge the output streams such that consumers can have a pristine
view of the original command output.
Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Diffstat (limited to 'tests/unit')
0 files changed, 0 insertions, 0 deletions