mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 04:41:20 +00:00
27cf98e2d1
The virCaps structure gathered a ton of irrelevant data over time that. The original reason is that it was propagated to the XML parser functions. This patch aims to create a new data structure virDomainXMLConf that will contain immutable data that are used by the XML parser. This will allow two things we need: 1) Get rid of the stuff from virCaps 2) Allow us to add callbacks to check and add driver specific stuff after domain XML is parsed. This first attempt removes pointers to private data allocation functions to this new structure and update all callers and function that require them.
7 lines
135 B
C
7 lines
135 B
C
|
|
#include "capabilities.h"
|
|
#include "domain_conf.h"
|
|
|
|
virCapsPtr testQemuCapsInit(void);
|
|
virDomainXMLConfPtr testQemuXMLConfInit(void);
|