mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
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>
20 lines
312 B
C
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);
|