[PATCH v2 00/14] news update since v6.9 to v7.0

Diff from v1: - Drop the news "Introduce VIR_DOMAIN_CHECKPOINT_REDEFINE_VALIDATE flag" - Move the news of virt-aa-helper to bug fix part - Update some descriptions of news v1: https://listman.redhat.com/archives/libvir-list/2021-April/msg00456.html Thanks for the advice from Peter Krempa and Erik Skultety. Han Han (14): news: make SEV attrs 'cbitpos' & 'reducedPhysBits' optional news: support device stats collection for SR-IOV VF hostdev news: virt-aa-helper: allow guest to create hard links for mounted 9pfs paths news: cpu_map: Add EPYC-Rome cpu model news: cpu: Support for XML validation in cpu comparison logging: allow max_len=0 to disable log rollover news: qemu: Set noqueue qdisc for TAP devices news: qemu: Introduce virtio free page reporting feature news: qemu: virtiofs can be used without NUMA nodes news: qemu: Add 'fmode' and 'dmode' options for 9pfs news: Introduce "migrate_tls_force" to qemu.conf qemu: support kvm-poll-control performance hint news: cpu_map: Add Snowridge cpu model news: qemu: Add support for NFS disk protocol NEWS.rst | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) -- 2.31.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 5f8b0ae02d..e4a98fbd75 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -421,6 +421,13 @@ v6.9.0 (2020-11-02) using ``<interface type='vdpa'>``. The node device APIs also now list and provide XML descriptions for vDPA devices. +* **Improvements** + + * qemu: Make 'cbitpos' & 'reducedPhysBits' attrs optional + + Libvirt probes the underlying platform in order to fill in these SEV + attributes automatically before launching a guest. + * **Bug fixes** * hyperv: ensure WQL queries work in all locales -- 2.31.1

Signed-off-by: Han Han <hhan@redhat.com> --- NEWS.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index e4a98fbd75..2db7e8c27c 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -428,6 +428,11 @@ v6.9.0 (2020-11-02) Libvirt probes the underlying platform in order to fill in these SEV attributes automatically before launching a guest. + * util: support device stats collection for SR-IOV VF hostdev + + For SR-IOV VF hostdev, now libvirt supports to retrieve device traffic + stats via the API ``virDomainInterfaceStats`` or ``virsh domifstat``. + * **Bug fixes** * hyperv: ensure WQL queries work in all locales -- 2.31.1

Signed-off-by: Han Han <hhan@redhat.com> --- NEWS.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 2db7e8c27c..0ce67a9a50 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -446,6 +446,8 @@ v6.9.0 (2020-11-02) ``virt-ssh-helper`` command on the remote host, and thus always used the fallback instead; this has now been fixed. + * virt-aa-helper: allow guest to create hard links for mounted 9pfs paths + v6.8.0 (2020-10-01) =================== -- 2.31.1

Signed-off-by: Han Han <hhan@redhat.com> --- NEWS.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 0ce67a9a50..31ca073e75 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -421,6 +421,10 @@ v6.9.0 (2020-11-02) using ``<interface type='vdpa'>``. The node device APIs also now list and provide XML descriptions for vDPA devices. + * cpu_map: Add EPYC-Rome cpu model + + The EPYC-Rome is supported in QEMU since ``v5.0.0``. + * **Improvements** * qemu: Make 'cbitpos' & 'reducedPhysBits' attrs optional -- 2.31.1

Signed-off-by: Han Han <hhan@redhat.com> --- NEWS.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 31ca073e75..7a85fa29f3 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -425,6 +425,14 @@ v6.9.0 (2020-11-02) The EPYC-Rome is supported in QEMU since ``v5.0.0``. + * cpu: Add a flag for XML validation in cpu comparison + + For the APIs ``virConnectCompareCPU`` and + ``virConnectCompareHypervisorCPU``, the flag + ``VIR_CONNECT_COMPARE_CPU_VALIDATE_XML`` is added for XML validation. As for + virsh, use the option ``--validate`` for sub-commmand ``cpu-compare`` or + ``hypervisor-cpu-compare``. + * **Improvements** * qemu: Make 'cbitpos' & 'reducedPhysBits' attrs optional -- 2.31.1

Signed-off-by: Han Han <hhan@redhat.com> --- NEWS.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 7a85fa29f3..884b541f7a 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -445,6 +445,10 @@ v6.9.0 (2020-11-02) For SR-IOV VF hostdev, now libvirt supports to retrieve device traffic stats via the API ``virDomainInterfaceStats`` or ``virsh domifstat``. + * logging: allow max_len=0 to disable log rollover + + Set ``max_len=0`` in ``virtlogd.conf`` to disable log rollover. + * **Bug fixes** * hyperv: ensure WQL queries work in all locales -- 2.31.1

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 884b541f7a..4026b92b0c 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -449,6 +449,12 @@ v6.9.0 (2020-11-02) Set ``max_len=0`` in ``virtlogd.conf`` to disable log rollover. + * qemu: Set noqueue qdisc for TAP devices + + Set noqueue instead of the former pfifo_fast queue to TAP devices. It will + avoid needless cost of host CPU cycles and improve the performance of the + TAP devices. + * **Bug fixes** * hyperv: ensure WQL queries work in all locales -- 2.31.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 4026b92b0c..c0ecc5664e 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -433,6 +433,13 @@ v6.9.0 (2020-11-02) virsh, use the option ``--validate`` for sub-commmand ``cpu-compare`` or ``hypervisor-cpu-compare``. + * qemu: Introduce virtio free page reporting feature + + Introduce the optional attribute ``free-page-reporting`` for virtio + memballoon device. It enables/disables the ability of the QEMU virtio + memory balloon to return unused pages back to the hypervisor. It is + supported since ``QEMU 5.1``. + * **Improvements** * qemu: Make 'cbitpos' & 'reducedPhysBits' attrs optional -- 2.31.1

Signed-off-by: Han Han <hhan@redhat.com> --- NEWS.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index c0ecc5664e..bc863eceb2 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -462,6 +462,11 @@ v6.9.0 (2020-11-02) avoid needless cost of host CPU cycles and improve the performance of the TAP devices. + * qemu: virtiofs can be used without NUMA nodes + + Virtiofs is supported for the VM without NUMA nodes but configured with + shared memory. + * **Bug fixes** * hyperv: ensure WQL queries work in all locales -- 2.31.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 bc863eceb2..5b806f86d1 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -353,6 +353,13 @@ v6.10.0 (2020-12-01) ``virDomainSetVcpus()``, and ``virDomainSetVcpusFlags()`` APIs have been implemented in the Hyper-V driver. + * qemu: Add 'fmode' and 'dmode' options for 9pfs + + Expose QEMU's 9pfs 'fmode' and 'dmode' options via attributes on the + 'filesystem' node in the domain XML. These options control the creation + mode of files and directories, respectively, when using accessmode=mapped. + It requires QEMU 2.10 or above. + * **Improvements** * virsh: Support network disks in ``virsh attach-disk`` -- 2.31.1

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 5b806f86d1..55d57aa53b 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -335,6 +335,12 @@ v6.10.0 (2020-12-01) option is missing are now '1'. This ensures that only legitimate clients access servers, which don't have any additional form of authentication. + * qemu: Introduce "migrate_tls_force" to qemu.conf + + The ``migrate_tls_force`` configuration option allows administrators to + always force migration connections to be TLS secured as if + ``VIR_MIGRATE_TLS`` flag was used. + * **New features** * qemu: Implement OpenSSH authorized key file management APIs -- 2.31.1

Signed-off-by: Han Han <hhan@redhat.com> --- NEWS.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 55d57aa53b..106b6ed3c6 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -366,6 +366,11 @@ v6.10.0 (2020-12-01) mode of files and directories, respectively, when using accessmode=mapped. It requires QEMU 2.10 or above. + * qemu: support kvm-poll-control performance hint + + Implement the new KVM feature 'poll-control' to set this performance hint + for KVM guests. It requires QEMU 4.2 or above. + * **Improvements** * virsh: Support network disks in ``virsh attach-disk`` -- 2.31.1

Signed-off-by: Han Han <hhan@redhat.com> --- NEWS.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 106b6ed3c6..b63d2baba2 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -245,6 +245,10 @@ v7.0.0 (2021-01-15) powered off or undefined. Add per-TPM emulator option ``persistent_state`` for keeping TPM state. + * cpu_map: Add Snowridge cpu model + + The cpu model Snowridge is supported since QEMU 4.1. + * **Improvements** * qemu: Discourage users from polling ``virDomainGetBlockJobInfo`` for block -- 2.31.1

Signed-off-by: Han Han <hhan@redhat.com> --- NEWS.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index b63d2baba2..937a03a37a 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -249,6 +249,10 @@ v7.0.0 (2021-01-15) The cpu model Snowridge is supported since QEMU 4.1. + * qemu: Add support for NFS disk protocol + + Implement support for the 'nfs' native protocol driver in the qemu driver. + * **Improvements** * qemu: Discourage users from polling ``virDomainGetBlockJobInfo`` for block -- 2.31.1

ping On Thu, Apr 22, 2021 at 11:48 AM Han Han <hhan@redhat.com> wrote:
Diff from v1: - Drop the news "Introduce VIR_DOMAIN_CHECKPOINT_REDEFINE_VALIDATE flag" - Move the news of virt-aa-helper to bug fix part - Update some descriptions of news
v1: https://listman.redhat.com/archives/libvir-list/2021-April/msg00456.html
Thanks for the advice from Peter Krempa and Erik Skultety.
Han Han (14): news: make SEV attrs 'cbitpos' & 'reducedPhysBits' optional news: support device stats collection for SR-IOV VF hostdev news: virt-aa-helper: allow guest to create hard links for mounted 9pfs paths news: cpu_map: Add EPYC-Rome cpu model news: cpu: Support for XML validation in cpu comparison logging: allow max_len=0 to disable log rollover news: qemu: Set noqueue qdisc for TAP devices news: qemu: Introduce virtio free page reporting feature news: qemu: virtiofs can be used without NUMA nodes news: qemu: Add 'fmode' and 'dmode' options for 9pfs news: Introduce "migrate_tls_force" to qemu.conf qemu: support kvm-poll-control performance hint news: cpu_map: Add Snowridge cpu model news: qemu: Add support for NFS disk protocol
NEWS.rst | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+)
-- 2.31.1

ping again :)) On Wed, May 19, 2021 at 11:09 AM Han Han <hhan@redhat.com> wrote:
ping
On Thu, Apr 22, 2021 at 11:48 AM Han Han <hhan@redhat.com> wrote:
Diff from v1: - Drop the news "Introduce VIR_DOMAIN_CHECKPOINT_REDEFINE_VALIDATE flag" - Move the news of virt-aa-helper to bug fix part - Update some descriptions of news
v1: https://listman.redhat.com/archives/libvir-list/2021-April/msg00456.html
Thanks for the advice from Peter Krempa and Erik Skultety.
Han Han (14): news: make SEV attrs 'cbitpos' & 'reducedPhysBits' optional news: support device stats collection for SR-IOV VF hostdev news: virt-aa-helper: allow guest to create hard links for mounted 9pfs paths news: cpu_map: Add EPYC-Rome cpu model news: cpu: Support for XML validation in cpu comparison logging: allow max_len=0 to disable log rollover news: qemu: Set noqueue qdisc for TAP devices news: qemu: Introduce virtio free page reporting feature news: qemu: virtiofs can be used without NUMA nodes news: qemu: Add 'fmode' and 'dmode' options for 9pfs news: Introduce "migrate_tls_force" to qemu.conf qemu: support kvm-poll-control performance hint news: cpu_map: Add Snowridge cpu model news: qemu: Add support for NFS disk protocol
NEWS.rst | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+)
-- 2.31.1

PING+1 On Wed, May 26, 2021 at 4:34 PM Han Han <hhan@redhat.com> wrote:
ping again :))
On Wed, May 19, 2021 at 11:09 AM Han Han <hhan@redhat.com> wrote:
ping
On Thu, Apr 22, 2021 at 11:48 AM Han Han <hhan@redhat.com> wrote:
Diff from v1: - Drop the news "Introduce VIR_DOMAIN_CHECKPOINT_REDEFINE_VALIDATE flag" - Move the news of virt-aa-helper to bug fix part - Update some descriptions of news
v1: https://listman.redhat.com/archives/libvir-list/2021-April/msg00456.html
Thanks for the advice from Peter Krempa and Erik Skultety.
Han Han (14): news: make SEV attrs 'cbitpos' & 'reducedPhysBits' optional news: support device stats collection for SR-IOV VF hostdev news: virt-aa-helper: allow guest to create hard links for mounted 9pfs paths news: cpu_map: Add EPYC-Rome cpu model news: cpu: Support for XML validation in cpu comparison logging: allow max_len=0 to disable log rollover news: qemu: Set noqueue qdisc for TAP devices news: qemu: Introduce virtio free page reporting feature news: qemu: virtiofs can be used without NUMA nodes news: qemu: Add 'fmode' and 'dmode' options for 9pfs news: Introduce "migrate_tls_force" to qemu.conf qemu: support kvm-poll-control performance hint news: cpu_map: Add Snowridge cpu model news: qemu: Add support for NFS disk protocol
NEWS.rst | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+)
-- 2.31.1

ping On Mon, Jun 7, 2021 at 10:24 AM Han Han <hhan@redhat.com> wrote:
PING+1
On Wed, May 26, 2021 at 4:34 PM Han Han <hhan@redhat.com> wrote:
ping again :))
On Wed, May 19, 2021 at 11:09 AM Han Han <hhan@redhat.com> wrote:
ping
On Thu, Apr 22, 2021 at 11:48 AM Han Han <hhan@redhat.com> wrote:
Diff from v1: - Drop the news "Introduce VIR_DOMAIN_CHECKPOINT_REDEFINE_VALIDATE flag" - Move the news of virt-aa-helper to bug fix part - Update some descriptions of news
v1: https://listman.redhat.com/archives/libvir-list/2021-April/msg00456.html
Thanks for the advice from Peter Krempa and Erik Skultety.
Han Han (14): news: make SEV attrs 'cbitpos' & 'reducedPhysBits' optional news: support device stats collection for SR-IOV VF hostdev news: virt-aa-helper: allow guest to create hard links for mounted 9pfs paths news: cpu_map: Add EPYC-Rome cpu model news: cpu: Support for XML validation in cpu comparison logging: allow max_len=0 to disable log rollover news: qemu: Set noqueue qdisc for TAP devices news: qemu: Introduce virtio free page reporting feature news: qemu: virtiofs can be used without NUMA nodes news: qemu: Add 'fmode' and 'dmode' options for 9pfs news: Introduce "migrate_tls_force" to qemu.conf qemu: support kvm-poll-control performance hint news: cpu_map: Add Snowridge cpu model news: qemu: Add support for NFS disk protocol
NEWS.rst | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+)
-- 2.31.1
participants (1)
-
Han Han