提交 3af43219 编写于 作者: J Jiri Denemark

qemu: Export caps cache APIs for tests

Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
上级 dccb2629
......@@ -2781,7 +2781,7 @@ int virQEMUCapsProbeQMP(virQEMUCapsPtr qemuCaps,
* ...
* </qemuCaps>
*/
static int
int
virQEMUCapsLoadCache(virQEMUCapsPtr qemuCaps, const char *filename,
time_t *qemuctime, time_t *selfctime,
unsigned long *selfvers)
......@@ -3019,7 +3019,7 @@ virQEMUCapsLoadCache(virQEMUCapsPtr qemuCaps, const char *filename,
}
static char *
char *
virQEMUCapsFormatCache(virQEMUCapsPtr qemuCaps,
time_t selfCTime,
unsigned long selfVersion)
......
......@@ -45,4 +45,13 @@ virQEMUCapsNewForBinaryInternal(const char *binary,
gid_t runGid,
bool qmpOnly);
int virQEMUCapsLoadCache(virQEMUCapsPtr qemuCaps,
const char *filename,
time_t *qemuctime,
time_t *selfctime,
unsigned long *selfvers);
char *virQEMUCapsFormatCache(virQEMUCapsPtr qemuCaps,
time_t selfCTime,
unsigned long selfVersion);
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册