[PATCH v2 0/2] Adapt to latest libxml2

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

 



I noticed a couple deprecation errors when trying to build libvirt
with the latest libxml2 version from the master branch. These patches
fix the deprecated fields.

Both functions used are available in the oldest libxml2 version
required by libvirt, so there is no need to bump it.

Changes in v2:
  - Save return value of xmlCtxtGetLastError for later use
  - Check that xmlCtxtGetLastError doesn't return NULL

Jakub Palacky (2):
  util/virxml: use xmlCtxtGetLastError when applicable
  vmx: use xmlBufferDetach() when applicable

 src/util/virxml.c | 19 ++++++++++---------
 src/vmx/vmx.c     |  2 +-
 2 files changed, 11 insertions(+), 10 deletions(-)

-- 
2.46.0




[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