[PATCH] qemuDomainDiskChangeSupported: Fill in missing check

2024-06-21 Thread Adam Julis
The attribute 'discard_no_unref' is not allowed to be changed while the virtual machine is running. Resolves: https://issues.redhat.com/browse/RHEL-37542 Signed-off-by: Adam Julis --- src/qemu/qemu_domain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qemu/qemu_domain.c

[PATCH] cpu_map: Add libcpuinfo as optional data source

2024-06-21 Thread Tim Wiederhake
This adds an option to use libcpuinfo [1] as data source for libvirt's list of x86 cpu features. This is purely optional and does not change the script's behavior if libcpuinfo is not installed. libcpuinfo is a cross-vendor, cross-architecture source for CPU related information that has the

[PATCH 10/10] cpu_map: Ignore feature "kvm-asyncpf-vmexit"

2024-06-21 Thread Tim Wiederhake
Signed-off-by: Tim Wiederhake --- src/cpu_map/sync_qemu_features_i386.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpu_map/sync_qemu_features_i386.py b/src/cpu_map/sync_qemu_features_i386.py index e4b1f7275a..1b09532b13 100755 --- a/src/cpu_map/sync_qemu_features_i386.py +++

[PATCH 09/10] cpu_map: Add missing feature "vmx-nested-exception"

2024-06-21 Thread Tim Wiederhake
Signed-off-by: Tim Wiederhake --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 36e5386c74..19904f2e22 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -829,6

[PATCH 08/10] cpu_map: Add missing feature "rfds-clear"

2024-06-21 Thread Tim Wiederhake
Signed-off-by: Tim Wiederhake --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 9814a16347..36e5386c74 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -815,6

[PATCH 07/10] cpu_map: Add missing feature "rfds-no"

2024-06-21 Thread Tim Wiederhake
Signed-off-by: Tim Wiederhake --- src/cpu_map/x86_features.xml | 3 +++ tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml | 1 + tests/domaincapsdata/qemu_9.1.0.x86_64.xml | 1 + .../cpu-host-model-fallback-kvm.x86_64-latest.args

[PATCH 06/10] cpu_map: Add missing feature "succor"

2024-06-21 Thread Tim Wiederhake
Signed-off-by: Tim Wiederhake --- src/cpu_map/x86_features.xml | 3 +++ tests/cputestdata/x86_64-cpuid-EPYC-7502-32-Core-disabled.xml | 2 +- tests/cputestdata/x86_64-cpuid-EPYC-7502-32-Core-guest.xml | 1 +

[PATCH 05/10] cpu_map: Add missing feature "overflow-recov"

2024-06-21 Thread Tim Wiederhake
Signed-off-by: Tim Wiederhake --- src/cpu_map/x86_features.xml | 5 + .../cputestdata/x86_64-cpuid-EPYC-7502-32-Core-disabled.xml | 2 +- tests/cputestdata/x86_64-cpuid-EPYC-7502-32-Core-guest.xml | 1 +

[PATCH 04/10] cpu_map: Add missing feature "lam"

2024-06-21 Thread Tim Wiederhake
Signed-off-by: Tim Wiederhake --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index dcf01f2581..738684aab2 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -449,6

[PATCH 03/10] cpu_map: Add missing feature "wrmsrns"

2024-06-21 Thread Tim Wiederhake
Signed-off-by: Tim Wiederhake --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 13051ddf83..dcf01f2581 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -440,6

[PATCH 02/10] cpu_map: Add missing feature "lkgs"

2024-06-21 Thread Tim Wiederhake
Signed-off-by: Tim Wiederhake --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 63f20a4bb8..13051ddf83 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -437,6

[PATCH 01/10] cpu_map: Add missing feature "fred"

2024-06-21 Thread Tim Wiederhake
Signed-off-by: Tim Wiederhake --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index da71a3a6a0..63f20a4bb8 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -434,6

[PATCH 00/10] Sync cpu features with qemu

2024-06-21 Thread Tim Wiederhake
This brings libvirt in sync qith qemu commit 02d9c38236cf8c9826e5c5be61780ccb4ae0. Tim Wiederhake (10): cpu_map: Add missing feature "fred" cpu_map: Add missing feature "lkgs" cpu_map: Add missing feature "wrmsrns" cpu_map: Add missing feature "lam" cpu_map: Add missing feature

Re: [PATCH] tests: fix broken nftables test data so that individual tests are successful

2024-06-21 Thread Laine Stump
*ping* (if you ack it. please also push since I'm mostly away from my computer for the next 2.5 weeks) On 6/12/24 3:25 PM, Laine Stump wrote: When the chain names and table name used by the nftables firewall backend were changed in commit 958aa7f274904eb8e4678a43eac845044f0dcc38, I forgot to

[PATCH] network: add more firewall test cases

2024-06-21 Thread Laine Stump
This patch adds some previously missing test cases that test for proper firewall rule creation when the following are included in the network definition: * * no forward element (an "isolated" network) * nat port range when only ipv4 is nat-ed * nat port range when both ipv4 & ipv6 are nated

Re: [PATCH 00/12] Introduce SEV-SNP support

2024-06-21 Thread Michal Prívozník
On 6/20/24 17:19, Jonathon Jongsma wrote: > On 6/20/24 6:22 AM, Michal Privoznik wrote: >> SEV-SNP support just landed in QEMU. Here is the first round of patches >> to incorporate support into libvirt. >> >> TODOs (aka problems of future me): >> >> - Teach tools/virt-qemu-sev-validate how to deal