mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 13:17:58 +03:00
0da965c5e0
Essentially revert commit3a6204c
which added these to allow the test suite to pass without depending on the host system state. Since commit4b527c1
we already mock virSCSIDeviceGetSgName, so these callbacks are useless.
26 lines
781 B
C
26 lines
781 B
C
#ifdef WITH_QEMU
|
|
|
|
# include "capabilities.h"
|
|
# include "domain_conf.h"
|
|
# include "qemu/qemu_command.h"
|
|
# include "qemu/qemu_capabilities.h"
|
|
|
|
virCapsPtr testQemuCapsInit(void);
|
|
virDomainXMLOptionPtr testQemuXMLConfInit(void);
|
|
|
|
virQEMUCapsPtr qemuTestParseCapabilities(const char *capsFile);
|
|
|
|
extern virCPUDefPtr cpuDefault;
|
|
extern virCPUDefPtr cpuHaswell;
|
|
void testQemuCapsSetCPU(virCapsPtr caps,
|
|
virCPUDefPtr hostCPU);
|
|
|
|
int qemuTestDriverInit(virQEMUDriver *driver);
|
|
void qemuTestDriverFree(virQEMUDriver *driver);
|
|
int qemuTestCapsCacheInsert(virQEMUCapsCachePtr cache, const char *binary,
|
|
virQEMUCapsPtr caps);
|
|
|
|
/* This variable is actually defined in src/qemu/qemu_capabilities.c */
|
|
extern const char *qemuTestCapsName;
|
|
#endif
|