• P
    virCaps: conf: start splitting out irrelevat data · 27cf98e2
    Peter Krempa 提交于
    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.
    27cf98e2
qemu_domain.h 12.6 KB