[PATCH 00/21] Refactoring conf to use XPath

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series reworks the outdated way of parsing XML to parsing by XPath,
which is more obvious and saves a few lines of code.

Kristina Hanicova (21):
  conf: Propagate xmlXPathContextPtr into
    virDomainHostdevSubsysUSBDefParseXML()
  Refactoring virDomainHostdevSubsysUSBDefParseXML() to use XPath
  conf: Propagate xmlXPathContextPtr into virDomainBlkioDeviceParseXML()
  Refactoring virDomainBlkioDeviceParseXML() to use XPath
  conf: Propagate xmlXPathContextPtr into
    virDomainHostdevSubsysPCIDefParseXML()
  Refactoring virDomainHostdevSubsysPCIDefParseXML() to use XPath
  conf: Propagate xmlXPathContextPtr into virDomainLeaseDefParseXML()
  Refactoring virDomainLeaseDefParseXML() to use XPath
  Refactoring virDomainDiskDefParseXML() to use XPath
  Refactoring virDomainControllerDefParseXML() to use XPath
  Refactoring virDomainFSDefParseXML() to use XPath
  Refactoring virDomainNetDefParseXML() to use XPath
  conf: Propagate xmlXPathContextPtr into
    virDomainChrDefParseTargetXML()
  Refactoring virDomainChrDefParseTargetXML() to use XPath
  Refactoring virDomainChrSourceDefParseXML() to use XPath
  Refactoring virDomainChrDefParseXML() to use XPath
  Refactoring virDomainSmartcardDefParseXML() to use XPath
  Refactoring virDomainGraphicsDefParseXMLSpice() to use XPath
  conf: Propagate xmlXPathContextPtr into
    virDomainVideoDriverDefParseXML()
  Refactoring virDomainVideoDriverDefParseXML() to use XPath
  Refactoring virDomainVideoDefParseXML() to use XPath

 src/conf/domain_conf.c | 1786 +++++++++++++++++-----------------------
 1 file changed, 777 insertions(+), 1009 deletions(-)

-- 
2.30.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux