[PATCH 0/3] The NEWS for v8.9

Han Han (3): NEWS: Mention UNDEFINE_TPM and UNDEFINE_KEEP_TPM flags NEWS: Mention the tool virt-qemu-qmp-proxy NEWS: Add the stats VIR_DOMAIN_STATS_VM of virConnectGetAllDomainStats NEWS.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.38.1

Signed-off-by: Han Han <hhan@redhat.com> --- NEWS.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 893ad6f370..1d4fb62d5e 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -17,6 +17,13 @@ v8.9.0 (unreleased) * **New features** + * qemu: Add flags to keep or remove TPM state for the virDomainUndefineFlags + + ``VIR_DOMAIN_UNDEFINE_TPM`` and ``VIR_DOMAIN_UNDEFINE_KEEP_TPM`` specify + accordingly to delete or keep a TPM's persistent state directory structure + and files when undefine a domain. In virsh, they are the ``--tpm`` and + ``--keep-tpm`` for the sub-command undefine. + * qemu: Core Scheduling support To avoid side channel attacks, the Linux kernel allows creating groups of -- 2.38.1

On Tue, Nov 01, 2022 at 13:49:10 +0800, Han Han wrote:
Signed-off-by: Han Han <hhan@redhat.com> --- NEWS.rst | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst index 893ad6f370..1d4fb62d5e 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -17,6 +17,13 @@ v8.9.0 (unreleased)
* **New features**
+ * qemu: Add flags to keep or remove TPM state for the virDomainUndefineFlags + + ``VIR_DOMAIN_UNDEFINE_TPM`` and ``VIR_DOMAIN_UNDEFINE_KEEP_TPM`` specify + accordingly to delete or keep a TPM's persistent state directory structure + and files when undefine a domain. In virsh, they are the ``--tpm`` and + ``--keep-tpm`` for the sub-command undefine. +
I'll reword this as: * qemu: Add flags to keep or remove TPM state for ``virDomainUndefineFlags`` ``VIR_DOMAIN_UNDEFINE_TPM`` and ``VIR_DOMAIN_UNDEFINE_KEEP_TPM`` specify accordingly to delete or keep a TPM's persistent state directory structure and files when undefining a domain. In virsh the flags are exposed as ``--tpm`` and ``--keep-tpm`` for the sub-command ``undefine``. and I'll put it under the 'Improvements' section.

Signed-off-by: Han Han <hhan@redhat.com> --- NEWS.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 1d4fb62d5e..7b856f4d3f 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -17,6 +17,13 @@ v8.9.0 (unreleased) * **New features** + * tools: Add the tool for proxying QMP via libvirt QEMU guests + + This tool ``virt-qemu-qmp-proxy`` provides a way to expose a QMP proxy server + that communicates with a QEMU guest managed by libvirt. This enables standard + QMP client tools to interact with libvirt managed guests. + + * qemu: Add flags to keep or remove TPM state for the virDomainUndefineFlags ``VIR_DOMAIN_UNDEFINE_TPM`` and ``VIR_DOMAIN_UNDEFINE_KEEP_TPM`` specify -- 2.38.1

On Tue, Nov 01, 2022 at 13:49:11 +0800, Han Han wrote:
Signed-off-by: Han Han <hhan@redhat.com> --- NEWS.rst | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst index 1d4fb62d5e..7b856f4d3f 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -17,6 +17,13 @@ v8.9.0 (unreleased)
* **New features**
+ * tools: Add the tool for proxying QMP via libvirt QEMU guests + + This tool ``virt-qemu-qmp-proxy`` provides a way to expose a QMP proxy server + that communicates with a QEMU guest managed by libvirt. This enables standard + QMP client tools to interact with libvirt managed guests.
I'll reword this and add a disclaimer that use of this tool may de-sync the state and thus should be used at own risk: * Add ``virt-qemu-qmp-proxy`` for emulating a QMP socket for libvirt managed VMs ``virt-qemu-qmp-proxy`` tool provides a way to expose an emulated QMP server socket for a VM managed by libvirt. This allows existing QMP-only clients to work with libvirt managed VMs. **Note:** libvirt is not interpreting the communication between the tool using the proxy and qemu itself, so any state-changing commands may desynchronize libvirt. Use at your own risk.

Signed-off-by: Han Han <hhan@redhat.com> --- NEWS.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 7b856f4d3f..06fd4fa84f 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -41,6 +41,12 @@ v8.9.0 (unreleased) * **Improvements** + * qemu: Add the stats of VM for virConnectGetAllDomainStats + + The stats ``VIR_DOMAIN_STATS_VM`` of virConnectGetAllDomainStats is to + get the fd-based KVM statistics for the target VM. It could be used by + the command line ``virsh domstats --vm`` + * Add ``vendor`` attribute for CPU models in domain capabilities Users can now see the vendor of each CPU model in domain capabilities and -- 2.38.1

On Tue, Nov 01, 2022 at 13:49:12 +0800, Han Han wrote:
Signed-off-by: Han Han <hhan@redhat.com> --- NEWS.rst | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst index 7b856f4d3f..06fd4fa84f 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -41,6 +41,12 @@ v8.9.0 (unreleased)
* **Improvements**
+ * qemu: Add the stats of VM for virConnectGetAllDomainStats + + The stats ``VIR_DOMAIN_STATS_VM`` of virConnectGetAllDomainStats is to + get the fd-based KVM statistics for the target VM. It could be used by + the command line ``virsh domstats --vm``
The stats reported in this group are totally undocumented. It doesn't make much sense until that is addressed to advertise it's presence as users simply won't be able to use them properly. I'll see whether adding docs before the release is feasible or not. In the meanwhile I'll push the 1/3 and 2/3

On Tue, Nov 01, 2022 at 13:49:12 +0800, Han Han wrote:
Signed-off-by: Han Han <hhan@redhat.com> --- NEWS.rst | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst index 7b856f4d3f..06fd4fa84f 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -41,6 +41,12 @@ v8.9.0 (unreleased)
* **Improvements**
+ * qemu: Add the stats of VM for virConnectGetAllDomainStats + + The stats ``VIR_DOMAIN_STATS_VM`` of virConnectGetAllDomainStats is to + get the fd-based KVM statistics for the target VM. It could be used by + the command line ``virsh domstats --vm`` +
I'll word this as: + * qemu: Add hypervisor-specific statistics to ``virConnectGetAllDomainStats`` + + The new stats group ``VIR_DOMAIN_STATS_VM`` of + ``virConnectGetAllDomainStats``, also exposed as ``virsh domstats --vm``, + returns hypervisor-specific stats fields for given VM. + once my patch adding the docs for the new group is applied.
participants (2)
-
Han Han
-
Peter Krempa