]> xenbits.xensource.com Git - libvirt.git/commitdiff
news: cpu: Support for XML validation in cpu comparison
authorHan Han <hhan@redhat.com>
Wed, 11 May 2022 02:17:02 +0000 (10:17 +0800)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 18 May 2022 17:55:48 +0000 (19:55 +0200)
Signed-off-by: Han Han <hhan@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
NEWS.rst

index 8e7cca09dc681199cb23f4faf4887f3265bfa715..cd80fdab060a4d1b077f709eee7b3fa869500c22 100644 (file)
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -1196,6 +1196,14 @@ v6.9.0 (2020-11-02)
 
     It's supported in QEMU 5.0.0 and newer.
 
+  * cpu: Add a flag for XML validation in CPU comparison
+
+    The ``virConnectCompareCPU`` and ``virConnectCompareHypervisorCPU`` API
+    now support the ``VIR_CONNECT_COMPARE_CPU_VALIDATE_XML`` flag, which
+    enables XML validation. For virsh, this feature is enabled by passing
+    the ``--validate`` option to the ``cpu-compare`` and
+    ``hypervisor-cpu-compare`` subcommands.
+
 * **Improvements**
 
   * qemu: Make 'cbitpos' & 'reducedPhysBits' attrs optional