2013-05-31 16:47:22 +00:00
|
|
|
#ifdef WITH_QEMU
|
2008-05-16 16:51:30 +00:00
|
|
|
|
2013-05-31 16:47:22 +00:00
|
|
|
# include "capabilities.h"
|
|
|
|
# include "domain_conf.h"
|
2014-06-27 14:39:27 +00:00
|
|
|
# include "qemu/qemu_capabilities.h"
|
2016-04-13 06:12:47 +00:00
|
|
|
# include "qemu/qemu_conf.h"
|
2008-05-16 16:51:30 +00:00
|
|
|
|
|
|
|
virCapsPtr testQemuCapsInit(void);
|
2013-03-31 18:03:42 +00:00
|
|
|
virDomainXMLOptionPtr testQemuXMLConfInit(void);
|
2014-06-27 14:39:27 +00:00
|
|
|
|
|
|
|
virQEMUCapsPtr qemuTestParseCapabilities(const char *capsFile);
|
2015-03-23 16:19:28 +00:00
|
|
|
|
|
|
|
extern virCPUDefPtr cpuDefault;
|
|
|
|
extern virCPUDefPtr cpuHaswell;
|
|
|
|
void testQemuCapsSetCPU(virCapsPtr caps,
|
|
|
|
virCPUDefPtr hostCPU);
|
|
|
|
|
2015-09-15 06:16:02 +00:00
|
|
|
int qemuTestDriverInit(virQEMUDriver *driver);
|
|
|
|
void qemuTestDriverFree(virQEMUDriver *driver);
|
2015-09-09 14:03:14 +00:00
|
|
|
int qemuTestCapsCacheInsert(virQEMUCapsCachePtr cache, const char *binary,
|
|
|
|
virQEMUCapsPtr caps);
|
|
|
|
|
|
|
|
/* This variable is actually defined in src/qemu/qemu_capabilities.c */
|
|
|
|
extern const char *qemuTestCapsName;
|
2013-05-31 16:47:22 +00:00
|
|
|
#endif
|