Files
libvirt/tests/qemufakedrivers.h
T
Michal Privoznik b01baffbb2 qemuxmlconftest: Separate fake drivers into a separate file
One of the tests that qemuxmlconftest does is generate cmd line
for given domain XML. This process might involve talking to other
drivers (secret/storage/nwfilter/network). To produce predictable
output the test comes with fake implementation of APIs of those
drivers. Well, move that implementation into a separate file so
that it can be reused by other tests (notably, qemuhotplugtest is
going to use it).

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
2026-03-18 14:23:21 +01:00

20 lines
312 B
C

/*
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
#pragma once
#include "driver.h"
virSecretDriver *
testQemuGetFakeSecretDriver(void);
virStorageDriver *
testQemuGetFakeStorageDriver(void);
virNWFilterDriver *
testQemuGetFakeNWFilterDriver(void);
virNetworkDriver *
testQemuGetFakeNetworkDriver(void);