mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu-9.2 will deprecate the 'reconnect' field in favor of 'reconnect-ms'. As libvirt currently doesn't track the timeouts in milliseconds we simply convert them to avoid use of the deprecated field. Quite a lot of churn is caused by the need to plumb 'qemuCaps' into the chardev props generator. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
24 lines
673 B
C
24 lines
673 B
C
/*
|
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "domain_conf.h"
|
|
#include "qemu_capabilities.h"
|
|
#include "vircommand.h"
|
|
|
|
int
|
|
qemuChardevBuildCommandline(virCommand *cmd,
|
|
const virDomainChrSourceDef *dev,
|
|
const char *charAlias,
|
|
virQEMUCaps *qemuCaps);
|
|
|
|
int
|
|
qemuChardevGetBackendProps(const virDomainChrSourceDef *chr,
|
|
bool commandline,
|
|
virQEMUCaps *qemuCaps,
|
|
const char *alias,
|
|
const char **backendType,
|
|
virJSONValue **props);
|