mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 05:17:59 +03:00
5b7bf20877
Two utility functions are introduced for proper initialization and cleanup of the driver. Signed-off-by: Pavel Fedin <p.fedin@samsung.com> Signed-off-by: Ján Tomko <jtomko@redhat.com>
22 lines
598 B
C
22 lines
598 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);
|
|
extern qemuBuildCommandLineCallbacks testCallbacks;
|
|
|
|
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);
|
|
#endif
|