mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +00:00
qemu: support append param on live attaching file chardev
Currently it is simply ignored. Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
5f6a761899
commit
106a89fbf7
@ -7457,6 +7457,10 @@ qemuMonitorJSONAttachCharDevCommand(const char *chrID,
|
|||||||
backend_type = "file";
|
backend_type = "file";
|
||||||
if (virJSONValueObjectAppendString(data, "out", chr->data.file.path) < 0)
|
if (virJSONValueObjectAppendString(data, "out", chr->data.file.path) < 0)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
if (virJSONValueObjectAdd(data,
|
||||||
|
"T:append", chr->data.file.append,
|
||||||
|
NULL) < 0)
|
||||||
|
goto cleanup;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case VIR_DOMAIN_CHR_TYPE_DEV:
|
case VIR_DOMAIN_CHR_TYPE_DEV:
|
||||||
|
Loading…
Reference in New Issue
Block a user