From 5f197ada50a0d9817b0944cc9aef14906c9a7bb8379bf974696728973a71d7fa Mon Sep 17 00:00:00 2001 From: James Fehlig Date: Thu, 5 Oct 2017 15:49:54 +0000 Subject: [PATCH] Accepting request 531808 from home:jfehlig:branches:Virtualization Updated libvirt package for Factory/TW/SLE15. - spec: Add dependency to UEFI firmwares since paths are specified at build time - Update to libvirt 3.8.0 - Many incremental improvements and bug fixes, see http://libvirt.org/news.html - Dropped patches: 92bd87a2-ryzen-test-data.patch, 5c83b360-epyc-test-data.patch, a0b62843-epyc-cpu-model.patch, f305d8a1-apparmor-attach_disconnected.patch, b482925c-apparmor-ptrace-support.patch - Enable firewalld support for openSUSE >= 42.2 OBS-URL: https://build.opensuse.org/request/show/531808 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=626 --- 5c83b360-epyc-test-data.patch | 490 ------------------ 92bd87a2-ryzen-test-data.patch | 450 ---------------- a0b62843-epyc-cpu-model.patch | 388 -------------- apparmor-no-mount.patch | 6 +- b482925c-apparmor-ptrace-support.patch | 61 --- blockcopy-check-dst-identical-device.patch | 8 +- f305d8a1-apparmor-attach_disconnected.patch | 39 -- libvirt-3.7.0.tar.xz | 3 - libvirt-3.7.0.tar.xz.asc | 10 - libvirt-3.8.0.tar.xz | 3 + libvirt-3.8.0.tar.xz.asc | 10 + libvirt-power8-models.patch | 8 +- libvirt-suse-netcontrol.patch | 36 +- libvirt.changes | 24 + libvirt.spec | 27 +- libxl-dom-reset.patch | 8 +- libxl-qemu-emulator-caps.patch | 6 +- libxl-set-cach-mode.patch | 8 +- libxl-set-migration-constraints.patch | 38 +- libxl-support-block-script.patch | 12 +- lxc-wait-after-eth-del.patch | 22 +- ...e-dhcp-authoritative-on-static-netwo.patch | 12 +- ppc64le-canonical-name.patch | 6 +- qemu-apparmor-screenshot.patch | 6 +- support-managed-pci-xen-driver.patch | 12 +- suse-apparmor-libnl-paths.patch | 12 +- suse-libvirt-guests-service.patch | 18 +- suse-libvirtd-disable-tls.patch | 18 +- suse-libvirtd-service-xen.patch | 6 +- suse-libvirtd-sysconfig-settings.patch | 6 +- suse-ovmf-paths.patch | 14 +- suse-qemu-conf.patch | 10 +- suse-virtlockd-sysconfig-settings.patch | 6 +- suse-virtlogd-sysconfig-settings.patch | 6 +- xen-pv-cdrom.patch | 6 +- xen-sxpr-disk-type.patch | 6 +- 36 files changed, 200 insertions(+), 1601 deletions(-) delete mode 100644 5c83b360-epyc-test-data.patch delete mode 100644 92bd87a2-ryzen-test-data.patch delete mode 100644 a0b62843-epyc-cpu-model.patch delete mode 100644 b482925c-apparmor-ptrace-support.patch delete mode 100644 f305d8a1-apparmor-attach_disconnected.patch delete mode 100644 libvirt-3.7.0.tar.xz delete mode 100644 libvirt-3.7.0.tar.xz.asc create mode 100644 libvirt-3.8.0.tar.xz create mode 100644 libvirt-3.8.0.tar.xz.asc diff --git a/5c83b360-epyc-test-data.patch b/5c83b360-epyc-test-data.patch deleted file mode 100644 index 13b1396..0000000 --- a/5c83b360-epyc-test-data.patch +++ /dev/null @@ -1,490 +0,0 @@ -commit 5c83b3603cc01c29af3c21d6beec549c3c0f9a1e -Author: Jiri Denemark -Date: Thu Sep 7 12:58:41 2017 +0200 - - tests: Add CPUID data for AMD EPYC 7601 32-Core Processor - - Signed-off-by: Jiri Denemark - Reviewed-by: Pavel Hrdina - -Index: libvirt-3.7.0/tests/cputest.c -=================================================================== ---- libvirt-3.7.0.orig/tests/cputest.c -+++ libvirt-3.7.0/tests/cputest.c -@@ -994,6 +994,7 @@ mymain(void) - DO_TEST_CPUID(VIR_ARCH_X86_64, "Core-i7-5600U-arat", true); - DO_TEST_CPUID(VIR_ARCH_X86_64, "Core2-E6850", true); - DO_TEST_CPUID(VIR_ARCH_X86_64, "Core2-Q9500", false); -+ DO_TEST_CPUID(VIR_ARCH_X86_64, "EPYC-7601-32-Core", true); - DO_TEST_CPUID(VIR_ARCH_X86_64, "FX-8150", false); - DO_TEST_CPUID(VIR_ARCH_X86_64, "Opteron-1352", false); - DO_TEST_CPUID(VIR_ARCH_X86_64, "Opteron-2350", true); -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-disabled.xml -=================================================================== ---- /dev/null -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-disabled.xml -@@ -0,0 +1,8 @@ -+ -+ -+ -+ -+ -+ -+ -+ -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-enabled.xml -=================================================================== ---- /dev/null -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-enabled.xml -@@ -0,0 +1,10 @@ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-guest.xml -=================================================================== ---- /dev/null -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-guest.xml -@@ -0,0 +1,40 @@ -+ -+ Opteron_G5 -+ AMD -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-host.xml -=================================================================== ---- /dev/null -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-host.xml -@@ -0,0 +1,48 @@ -+ -+ x86_64 -+ Opteron_G3 -+ AMD -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-json.xml -=================================================================== ---- /dev/null -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-json.xml -@@ -0,0 +1,33 @@ -+ -+ Opteron_G5 -+ AMD -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core.json -=================================================================== ---- /dev/null -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core.json -@@ -0,0 +1,241 @@ -+{ -+ "return": { -+ "model": { -+ "name": "base", -+ "props": { -+ "phys-bits": 0, -+ "core-id": -1, -+ "xlevel": 2147483679, -+ "cmov": true, -+ "ia64": false, -+ "aes": true, -+ "mmx": true, -+ "arat": true, -+ "rdpid": false, -+ "pause-filter": false, -+ "xsavec": true, -+ "osxsave": false, -+ "tsc-frequency": 0, -+ "xd": true, -+ "hv-vendor-id": "", -+ "kvm-asyncpf": true, -+ "kvm_asyncpf": true, -+ "perfctr_core": false, -+ "perfctr-core": false, -+ "mpx": false, -+ "avx512cd": false, -+ "decodeassists": false, -+ "pbe": false, -+ "sse4_1": true, -+ "sse4.1": true, -+ "sse4-1": true, -+ "family": 23, -+ "vmware-cpuid-freq": true, -+ "avx512f": false, -+ "xcrypt": false, -+ "hv-runtime": false, -+ "msr": true, -+ "mce": true, -+ "mca": true, -+ "thread-id": -1, -+ "min-level": 13, -+ "xgetbv1": true, -+ "cid": false, -+ "hv-relaxed": false, -+ "fxsr": true, -+ "ds": false, -+ "hv-crash": false, -+ "xsaveopt": true, -+ "xtpr": false, -+ "avx512-vpopcntdq": false, -+ "phe": false, -+ "avx512vl": false, -+ "extapic": false, -+ "3dnowprefetch": true, -+ "cr8legacy": true, -+ "cpuid-0xb": true, -+ "xcrypt-en": false, -+ "kvm_pv_eoi": true, -+ "apic-id": 4294967295, -+ "pn": false, -+ "dca": false, -+ "vendor": "AuthenticAMD", -+ "pku": false, -+ "smx": false, -+ "cmp-legacy": true, -+ "cmp_legacy": true, -+ "node-id": -1, -+ "avx512-4fmaps": false, -+ "vmcb-clean": false, -+ "vmcb_clean": false, -+ "3dnowext": false, -+ "hle": false, -+ "npt": true, -+ "memory": "/machine/unattached/system[0]", -+ "clwb": false, -+ "lbrv": false, -+ "adx": true, -+ "ss": false, -+ "pni": true, -+ "svm_lock": false, -+ "svm-lock": false, -+ "smep": true, -+ "pfthreshold": false, -+ "smap": true, -+ "x2apic": true, -+ "avx512vbmi": false, -+ "hv-stimer": false, -+ "i64": true, -+ "flushbyasid": false, -+ "f16c": true, -+ "ace2-en": false, -+ "pat": true, -+ "pae": true, -+ "sse": true, -+ "phe-en": false, -+ "kvm-nopiodelay": true, -+ "kvm_nopiodelay": true, -+ "tm": false, -+ "kvmclock-stable-bit": true, -+ "hypervisor": true, -+ "socket-id": -1, -+ "pcommit": false, -+ "syscall": true, -+ "level": 13, -+ "avx512dq": false, -+ "svm": false, -+ "full-cpuid-auto-level": true, -+ "hv-reset": false, -+ "invtsc": false, -+ "sse3": true, -+ "sse2": true, -+ "est": false, -+ "avx512ifma": false, -+ "tm2": false, -+ "kvm-pv-eoi": true, -+ "cx8": true, -+ "kvm-mmu": false, -+ "kvm_mmu": false, -+ "sse4_2": true, -+ "sse4.2": true, -+ "sse4-2": true, -+ "pge": true, -+ "fill-mtrr-mask": true, -+ "pdcm": false, -+ "nodeid_msr": false, -+ "model": 1, -+ "movbe": true, -+ "nrip-save": true, -+ "nrip_save": true, -+ "sse4a": true, -+ "ssse3": true, -+ "kvm_pv_unhalt": true, -+ "invpcid": false, -+ "pdpe1gb": true, -+ "tsc-deadline": true, -+ "fma": true, -+ "cx16": true, -+ "de": true, -+ "enforce": false, -+ "stepping": 2, -+ "xsave": true, -+ "clflush": true, -+ "skinit": false, -+ "tce": false, -+ "tsc": true, -+ "fpu": true, -+ "ds-cpl": false, -+ "ds_cpl": false, -+ "ibs": false, -+ "host-phys-bits": false, -+ "fma4": false, -+ "la57": false, -+ "osvw": true, -+ "check": true, -+ "hv-spinlocks": -1, -+ "pmm": false, -+ "apic": true, -+ "pmu": false, -+ "min-xlevel2": 0, -+ "tsc-adjust": true, -+ "tsc_adjust": true, -+ "kvm-steal-time": true, -+ "kvm_steal_time": true, -+ "kvmclock": true, -+ "l3-cache": true, -+ "lwp": false, -+ "xop": false, -+ "avx": true, -+ "ospke": false, -+ "ace2": false, -+ "acpi": false, -+ "avx512bw": false, -+ "hv-vapic": false, -+ "fsgsbase": true, -+ "ht": false, -+ "nx": true, -+ "pclmulqdq": true, -+ "mmxext": true, -+ "popcnt": true, -+ "xsaves": false, -+ "lm": true, -+ "umip": false, -+ "avx2": true, -+ "pse": true, -+ "sep": true, -+ "pclmuldq": true, -+ "nodeid-msr": false, -+ "kvm": true, -+ "misalignsse": true, -+ "min-xlevel": 2147483679, -+ "bmi2": true, -+ "bmi1": true, -+ "kvm-pv-unhalt": true, -+ "realized": false, -+ "tsc_scale": false, -+ "tsc-scale": false, -+ "topoext": false, -+ "hv-vpindex": false, -+ "xlevel2": 0, -+ "clflushopt": true, -+ "kvm-no-smi-migration": false, -+ "monitor": false, -+ "avx512er": false, -+ "pmm-en": false, -+ "pcid": false, -+ "3dnow": false, -+ "erms": false, -+ "lahf-lm": true, -+ "lahf_lm": true, -+ "xstore": false, -+ "hv-synic": false, -+ "fxsr-opt": true, -+ "fxsr_opt": true, -+ "rtm": false, -+ "lmce": false, -+ "hv-time": false, -+ "perfctr-nb": false, -+ "perfctr_nb": false, -+ "ffxsr": true, -+ "rdrand": true, -+ "rdseed": true, -+ "avx512-4vnniw": false, -+ "vme": true, -+ "vmx": false, -+ "dtes64": false, -+ "mtrr": true, -+ "rdtscp": true, -+ "pse36": true, -+ "tbm": false, -+ "wdt": false, -+ "pause_filter": false, -+ "model-id": "AMD EPYC 7601 32-Core Processor ", -+ "sha-ni": true, -+ "abm": true, -+ "avx512pf": false, -+ "xstore-en": false -+ } -+ } -+ }, -+ "id": "model-expansion" -+} -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core.xml -=================================================================== ---- /dev/null -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core.xml -@@ -0,0 +1,54 @@ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ diff --git a/92bd87a2-ryzen-test-data.patch b/92bd87a2-ryzen-test-data.patch deleted file mode 100644 index 66a9380..0000000 --- a/92bd87a2-ryzen-test-data.patch +++ /dev/null @@ -1,450 +0,0 @@ -commit 92bd87a2395c8e350aa2d5694d4b8e95ce7349b0 -Author: Jiri Denemark -Date: Fri Apr 28 14:09:45 2017 +0200 - - tests: Add CPUID data for AMD Ryzen 7 1800X Eight-Core Processor - - Signed-off-by: Jiri Denemark - Reviewed-by: Pavel Hrdina - -Index: libvirt-3.7.0/tests/cputest.c -=================================================================== ---- libvirt-3.7.0.orig/tests/cputest.c -+++ libvirt-3.7.0/tests/cputest.c -@@ -1001,6 +1001,7 @@ mymain(void) - DO_TEST_CPUID(VIR_ARCH_X86_64, "Opteron-6282", false); - DO_TEST_CPUID(VIR_ARCH_X86_64, "Pentium-P6100", false); - DO_TEST_CPUID(VIR_ARCH_X86_64, "Phenom-B95", true); -+ DO_TEST_CPUID(VIR_ARCH_X86_64, "Ryzen-7-1800X-Eight-Core", true); - DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-5110", false); - DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E3-1245", true); - DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E5-2630", true); -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-disabled.xml -=================================================================== ---- /dev/null -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-disabled.xml -@@ -0,0 +1,9 @@ -+ -+ -+ -+ -+ -+ -+ -+ -+ -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-enabled.xml -=================================================================== ---- /dev/null -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-enabled.xml -@@ -0,0 +1,10 @@ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-guest.xml -=================================================================== ---- /dev/null -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-guest.xml -@@ -0,0 +1,40 @@ -+ -+ Opteron_G5 -+ AMD -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-host.xml -=================================================================== ---- /dev/null -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-host.xml -@@ -0,0 +1,48 @@ -+ -+ x86_64 -+ Opteron_G3 -+ AMD -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-json.xml -=================================================================== ---- /dev/null -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-json.xml -@@ -0,0 +1,32 @@ -+ -+ Opteron_G5 -+ AMD -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core.json -=================================================================== ---- /dev/null -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core.json -@@ -0,0 +1,203 @@ -+{ -+ "return": { -+ "model": { -+ "name": "base", -+ "props": { -+ "pfthreshold": false, -+ "pku": false, -+ "rtm": false, -+ "tsc_adjust": true, -+ "tsc-deadline": true, -+ "xstore-en": false, -+ "tsc-scale": false, -+ "sse": true, -+ "smap": true, -+ "stepping": 1, -+ "tce": false, -+ "kvm_steal_time": true, -+ "smep": true, -+ "rdpid": false, -+ "xcrypt": false, -+ "sse4_2": true, -+ "monitor": false, -+ "sse4_1": true, -+ "kvm-mmu": false, -+ "flushbyasid": false, -+ "kvm-steal-time": true, -+ "lm": true, -+ "tsc": true, -+ "adx": true, -+ "fxsr": true, -+ "sha-ni": false, -+ "tm": false, -+ "pclmuldq": true, -+ "xgetbv1": true, -+ "xstore": false, -+ "vmcb_clean": false, -+ "vme": true, -+ "vendor": "AuthenticAMD", -+ "arat": true, -+ "ffxsr": true, -+ "de": true, -+ "avx512f": false, -+ "pse": true, -+ "ds-cpl": false, -+ "tbm": false, -+ "ia64": false, -+ "phe-en": false, -+ "f16c": true, -+ "ds": false, -+ "mpx": false, -+ "tsc-adjust": true, -+ "aes": true, -+ "avx2": true, -+ "pbe": false, -+ "cx16": true, -+ "ds_cpl": false, -+ "movbe": true, -+ "perfctr-nb": false, -+ "nrip_save": true, -+ "kvm_mmu": false, -+ "ospke": false, -+ "avx512ifma": false, -+ "vmx": false, -+ "sep": true, -+ "xsaveopt": true, -+ "sse4a": true, -+ "avx512dq": false, -+ "i64": true, -+ "avx512-4vnniw": false, -+ "xsave": true, -+ "erms": false, -+ "hle": false, -+ "nodeid_msr": false, -+ "est": false, -+ "svm_lock": false, -+ "xop": false, -+ "model-id": "AMD Ryzen 7 1800X Eight-Core Processor ", -+ "abm": true, -+ "avx512er": false, -+ "sse4.1": true, -+ "sse4.2": true, -+ "pause-filter": false, -+ "lahf-lm": true, -+ "kvm-nopiodelay": true, -+ "cmp_legacy": true, -+ "acpi": false, -+ "fma4": false, -+ "popcnt": true, -+ "mmx": true, -+ "osxsave": false, -+ "pcommit": false, -+ "avx512pf": false, -+ "clwb": false, -+ "dca": false, -+ "pdcm": false, -+ "xcrypt-en": false, -+ "3dnow": false, -+ "invtsc": false, -+ "tm2": false, -+ "hypervisor": true, -+ "kvmclock-stable-bit": true, -+ "fxsr-opt": true, -+ "pcid": false, -+ "sse4-1": true, -+ "sse4-2": true, -+ "avx512-vpopcntdq": false, -+ "avx512-4fmaps": false, -+ "pause_filter": false, -+ "svm-lock": false, -+ "rdrand": true, -+ "nrip-save": true, -+ "avx512vl": false, -+ "x2apic": true, -+ "kvmclock": true, -+ "pge": true, -+ "family": 23, -+ "dtes64": false, -+ "xd": true, -+ "kvm_pv_eoi": true, -+ "ace2": false, -+ "kvm_pv_unhalt": true, -+ "xtpr": false, -+ "perfctr_nb": false, -+ "avx512bw": false, -+ "nx": true, -+ "lwp": false, -+ "msr": true, -+ "ace2-en": false, -+ "decodeassists": false, -+ "perfctr-core": false, -+ "pn": false, -+ "fma": true, -+ "nodeid-msr": false, -+ "kvm_asyncpf": true, -+ "clflush": true, -+ "cx8": true, -+ "mce": true, -+ "avx512cd": false, -+ "cr8legacy": true, -+ "mca": true, -+ "pni": true, -+ "rdseed": true, -+ "apic": true, -+ "fsgsbase": true, -+ "cmp-legacy": true, -+ "kvm-pv-unhalt": true, -+ "rdtscp": true, -+ "mmxext": true, -+ "cid": false, -+ "ssse3": true, -+ "extapic": false, -+ "pse36": true, -+ "mtrr": true, -+ "ibs": false, -+ "la57": false, -+ "avx": true, -+ "syscall": true, -+ "umip": false, -+ "invpcid": false, -+ "avx512vbmi": false, -+ "kvm-asyncpf": true, -+ "vmcb-clean": false, -+ "pmm": false, -+ "cmov": true, -+ "perfctr_core": false, -+ "misalignsse": true, -+ "clflushopt": true, -+ "pat": true, -+ "lbrv": false, -+ "3dnowprefetch": true, -+ "fpu": true, -+ "pae": true, -+ "wdt": false, -+ "tsc_scale": false, -+ "skinit": false, -+ "fxsr_opt": true, -+ "kvm_nopiodelay": true, -+ "pmm-en": false, -+ "phe": false, -+ "3dnowext": false, -+ "osvw": true, -+ "ht": false, -+ "pdpe1gb": true, -+ "kvm-pv-eoi": true, -+ "npt": true, -+ "xsavec": true, -+ "lahf_lm": true, -+ "pclmulqdq": true, -+ "svm": true, -+ "sse3": true, -+ "sse2": true, -+ "ss": false, -+ "topoext": false, -+ "smx": false, -+ "bmi1": true, -+ "bmi2": true, -+ "xsaves": false, -+ "model": 1 -+ } -+ } -+ }, -+ "id": "model-expansion" -+} -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core.xml -=================================================================== ---- /dev/null -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core.xml -@@ -0,0 +1,52 @@ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ diff --git a/a0b62843-epyc-cpu-model.patch b/a0b62843-epyc-cpu-model.patch deleted file mode 100644 index 3dc0d4f..0000000 --- a/a0b62843-epyc-cpu-model.patch +++ /dev/null @@ -1,388 +0,0 @@ -commit a0b628432a11ec97bbda9893504fb8180c36186e -Author: Brijesh Singh -Date: Wed Aug 23 13:49:41 2017 -0500 - - cpu: Add new EPYC CPU model - - Add a new CPU model called 'EPYC' to model processors from AMD EPYC - family (which includes EPYC 76xx,75xx,74xx, 73xx and 72xx). - - The following features bits have been added/removed compare to Opteron_G5 - - Added: monitor, movbe, rdrand, mmxext, ffxsr, rdtscp, cr8legacy, osvw, - fsgsbase, bmi1, avx2, smep, bmi2, rdseed, adx, smap, clfshopt, sha - xsaveopt, xsavec, xgetbv1, arat - - Removed: xop, fma4, tbm - - The patch is depend on EPYC CPU model supported introduced in qemu [1] - - [1] https://patchwork.kernel.org/patch/9902205/ - - Cc: Tom Lendacky - Signed-off-by: Brijesh Singh - Signed-off-by: Jiri Denemark - Reviewed-by: Pavel Hrdina - -Index: libvirt-3.7.0/src/cpu/cpu_map.xml -=================================================================== ---- libvirt-3.7.0.orig/src/cpu/cpu_map.xml -+++ libvirt-3.7.0/src/cpu/cpu_map.xml -@@ -260,6 +260,9 @@ - - - -+ -+ -+ - - - -@@ -1545,6 +1548,77 @@ - - - -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ - - - -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-guest.xml -=================================================================== ---- libvirt-3.7.0.orig/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-guest.xml -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-guest.xml -@@ -1,32 +1,11 @@ - -- Opteron_G5 -+ EPYC - AMD -- - -- -- - -- -- -- -- -- -- -- -- -- -- -- -- -- -- - -- -- - - -- -- - - - -@@ -34,7 +13,4 @@ - - - -- -- -- - -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-host.xml -=================================================================== ---- libvirt-3.7.0.orig/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-host.xml -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-host.xml -@@ -1,43 +1,12 @@ - - x86_64 -- Opteron_G3 -+ EPYC - AMD -- - -- -- -- -- -- -- -- -- - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - -- -- -- - - -- -- -- - - - -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-json.xml -=================================================================== ---- libvirt-3.7.0.orig/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-json.xml -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-json.xml -@@ -1,33 +1,11 @@ - -- Opteron_G5 -+ EPYC - AMD -- - -- - -- - -- -- - -- -- -- -- -- -- -- -- -- -- -- -- -- - -- -- -+ - -- -- -- - -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-guest.xml -=================================================================== ---- libvirt-3.7.0.orig/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-guest.xml -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-guest.xml -@@ -1,32 +1,11 @@ - -- Opteron_G5 -+ EPYC - AMD -- - -- -- - -- -- -- -- -- -- -- -- -- -- -- -- -- -- - -- -- - - -- -- - - - -@@ -34,7 +13,4 @@ - - - -- -- -- - -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-host.xml -=================================================================== ---- libvirt-3.7.0.orig/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-host.xml -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-host.xml -@@ -1,43 +1,12 @@ - - x86_64 -- Opteron_G3 -+ EPYC - AMD -- - -- -- -- -- -- -- -- -- - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - -- -- -- - - -- -- -- - - - -Index: libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-json.xml -=================================================================== ---- libvirt-3.7.0.orig/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-json.xml -+++ libvirt-3.7.0/tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-json.xml -@@ -1,32 +1,11 @@ - -- Opteron_G5 -+ EPYC - AMD -- - -- - -- - -- -- - -- -- -- -- -- -- -- -- -- -- -- -- -- - -- -- -- -- -- -+ -+ - diff --git a/apparmor-no-mount.patch b/apparmor-no-mount.patch index 5614ea4..0a0c9cc 100644 --- a/apparmor-no-mount.patch +++ b/apparmor-no-mount.patch @@ -1,7 +1,7 @@ -Index: libvirt-3.7.0/examples/apparmor/libvirt-lxc +Index: libvirt-3.8.0/examples/apparmor/libvirt-lxc =================================================================== ---- libvirt-3.7.0.orig/examples/apparmor/libvirt-lxc -+++ libvirt-3.7.0/examples/apparmor/libvirt-lxc +--- libvirt-3.8.0.orig/examples/apparmor/libvirt-lxc ++++ libvirt-3.8.0/examples/apparmor/libvirt-lxc @@ -2,39 +2,15 @@ #include diff --git a/b482925c-apparmor-ptrace-support.patch b/b482925c-apparmor-ptrace-support.patch deleted file mode 100644 index 6a1c851..0000000 --- a/b482925c-apparmor-ptrace-support.patch +++ /dev/null @@ -1,61 +0,0 @@ -commit b482925c2277e906542faea52ef587a5c0aa1f5f -Author: Jim Fehlig -Date: Fri Sep 22 17:02:42 2017 -0600 - - apparmor: support ptrace checks - - Kernel 4.13 introduced finer-grained ptrace checks - - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.13.2&id=290f458a4f16f9cf6cb6562b249e69fe1c3c3a07 - - With kernel 4.13 and apparmor 2.11, simply starting libvirtd - results in the following apparmor denial - - type=AVC msg=audit(1506112085.645:954): apparmor="DENIED" - operation="ptrace" profile="/usr/sbin/libvirtd" pid=6984 - comm="libvirtd" requested_mask="trace" denied_mask="trace" - peer="unconfined" - - Attempting to start an unconfined domain results in - - type=AVC msg=audit(1506112301.227:1112): apparmor="DENIED" - operation="ptrace" profile="/usr/sbin/libvirtd" pid=7498 - comm="libvirtd" requested_mask="trace" denied_mask="trace" - peer="/usr/sbin/libvirtd" - - And attempting to start a confined domain results in - - type=AVC msg=audit(1506112631.408:1312): apparmor="DENIED" - operation="open" profile="virt-aa-helper" name="/etc/libnl/classid" - pid=8283 comm="virt-aa-helper" requested_mask="r" denied_mask="r" - fsuid=0 ouid=0 - type=AVC msg=audit(1506112631.530:1319): apparmor="DENIED" - operation="open" profile="virt-aa-helper" name="/etc/libnl/classid" - pid=8289 comm="virt-aa-helper" requested_mask="r" denied_mask="r" - fsuid=0 ouid=0 - type=AVC msg=audit(1506112632.186:1324): apparmor="DENIED" - operation="ptrace" profile="/usr/sbin/libvirtd" pid=8342 - comm="libvirtd" requested_mask="trace" denied_mask="trace" - peer="libvirt-66154842-e926-4f92-92f0-1c1bf61dd1ff" - - Add ptrace rules to allow the trace operations. - - Resolves: https://bugzilla.suse.com/show_bug.cgi?id=1058847 - Signed-off-by: Jim Fehlig - Reviewed-by: Guido Günther - -Index: libvirt-3.7.0/examples/apparmor/usr.sbin.libvirtd -=================================================================== ---- libvirt-3.7.0.orig/examples/apparmor/usr.sbin.libvirtd -+++ libvirt-3.7.0/examples/apparmor/usr.sbin.libvirtd -@@ -37,6 +37,10 @@ - network packet dgram, - network packet raw, - -+ ptrace (trace) peer=unconfined, -+ ptrace (trace) peer=/usr/sbin/libvirtd, -+ ptrace (trace) peer=libvirt-*, -+ - # Very lenient profile for libvirtd since we want to first focus on confining - # the guests. Guests will have a very restricted profile. - / r, diff --git a/blockcopy-check-dst-identical-device.patch b/blockcopy-check-dst-identical-device.patch index 601f8ab..5ddbdda 100644 --- a/blockcopy-check-dst-identical-device.patch +++ b/blockcopy-check-dst-identical-device.patch @@ -11,11 +11,11 @@ Signed-off-by: Chunyan Liu src/qemu/qemu_driver.c | 7 +++++++ 1 file changed, 7 insertions(+) -Index: libvirt-3.7.0/src/qemu/qemu_driver.c +Index: libvirt-3.8.0/src/qemu/qemu_driver.c =================================================================== ---- libvirt-3.7.0.orig/src/qemu/qemu_driver.c -+++ libvirt-3.7.0/src/qemu/qemu_driver.c -@@ -16976,6 +16976,14 @@ qemuDomainBlockCopyCommon(virDomainObjPt +--- libvirt-3.8.0.orig/src/qemu/qemu_driver.c ++++ libvirt-3.8.0/src/qemu/qemu_driver.c +@@ -17046,6 +17046,14 @@ qemuDomainBlockCopyCommon(virDomainObjPt goto endjob; } diff --git a/f305d8a1-apparmor-attach_disconnected.patch b/f305d8a1-apparmor-attach_disconnected.patch deleted file mode 100644 index 3609878..0000000 --- a/f305d8a1-apparmor-attach_disconnected.patch +++ /dev/null @@ -1,39 +0,0 @@ -commit f305d8a191941d1ea6e036ae9fc02a3164b3e746 -Author: Guido Günther -Date: Fri Sep 15 17:13:16 2017 +0200 - - apparmor: add attach_disconnected - - Otherwise we fail to reconnect to /dev/net/tun opened by libvirtd - like - - [ 8144.507756] audit: type=1400 audit(1505488162.386:38069121): apparmor="DENIED" operation="file_perm" info="Failed name lookup - disconnected path" error=-13 profile="libvirt-5dfcc8a7-b79a-4fa9-a41f-f6271651934c" name="dev/net/tun" pid=9607 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=117 ouid=0 - - Reviewed-By: Jamie Strandboge - Acked-By: Michal Privoznik - -Index: libvirt-3.7.0/examples/apparmor/TEMPLATE.lxc -=================================================================== ---- libvirt-3.7.0.orig/examples/apparmor/TEMPLATE.lxc -+++ libvirt-3.7.0/examples/apparmor/TEMPLATE.lxc -@@ -4,7 +4,7 @@ - - #include - --profile LIBVIRT_TEMPLATE { -+profile LIBVIRT_TEMPLATE flags=(attach_disconnected) { - #include - - # Globally allows everything to run under this profile -Index: libvirt-3.7.0/examples/apparmor/TEMPLATE.qemu -=================================================================== ---- libvirt-3.7.0.orig/examples/apparmor/TEMPLATE.qemu -+++ libvirt-3.7.0/examples/apparmor/TEMPLATE.qemu -@@ -4,6 +4,6 @@ - - #include - --profile LIBVIRT_TEMPLATE { -+profile LIBVIRT_TEMPLATE flags=(attach_disconnected) { - #include - } diff --git a/libvirt-3.7.0.tar.xz b/libvirt-3.7.0.tar.xz deleted file mode 100644 index e85c435..0000000 --- a/libvirt-3.7.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4e7bcb209eeef99f026484293abc733e30ed06dabcdde62c4c3e95f71b2b67ba -size 14803752 diff --git a/libvirt-3.7.0.tar.xz.asc b/libvirt-3.7.0.tar.xz.asc deleted file mode 100644 index 92491ef..0000000 --- a/libvirt-3.7.0.tar.xz.asc +++ /dev/null @@ -1,10 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQEcBAABAgAGBQJZrSOIAAoJEBVYiyZZa+pd/9IH/1bGgu6+j2Q86NNQQ/rEsmL6 -1lR2hvZCNxKEVSNshJfWQvSY2UT87HKYJPMbVdRJx6j/vc48bG8lZvt128wRMjji -sjJ/eDP0oLi48ZnICYx+KNcmLJVYjadueCqYclUIUrHhUsNzGZin3bmLN7vPLEP/ -BeRmexJqfTSKftxHY1/ZMEJmTkHP7xBRJ56C2wascBjqtbw6UT0L97bn+rtm659Q -278zDS8vwalwef5CnTm89Pp7d2oBHtD52XE+jJtpv1mC1zwvKCpPhfgVj1U3+mPR -js3D0avcBQ9lApvAl6ByAJvXDaGb3T9MpM4K0UYr5j5p3h3/ffL3i/0+4ez46cc= -=DNDB ------END PGP SIGNATURE----- diff --git a/libvirt-3.8.0.tar.xz b/libvirt-3.8.0.tar.xz new file mode 100644 index 0000000..120972a --- /dev/null +++ b/libvirt-3.8.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73eba834089ed0ce74e3183a7f12cf0c6f7de08e9a700b5456c62fb124f903f9 +size 14868712 diff --git a/libvirt-3.8.0.tar.xz.asc b/libvirt-3.8.0.tar.xz.asc new file mode 100644 index 0000000..4fd1292 --- /dev/null +++ b/libvirt-3.8.0.tar.xz.asc @@ -0,0 +1,10 @@ +-----BEGIN PGP SIGNATURE----- + +iQEcBAABAgAGBQJZ1JrdAAoJEBVYiyZZa+pdmBcIAMQQTuvHXX0T4A5CJrgyj4c+ +iiYyOubSk5v4QGrbIcVtEt4TF1CyYTB65EM5ZCuB47KeiVzbkSl+6a3AQshWmn2V +7rLjXwJpM64xNc+ErEN+JrXD2ADA0lSZ50J4Eq7bE5GLxVSOuRn4QicAs5kG7bSn +h+AE3iRg45ImmE7wLC9Blu0ecQrR5yi4ensdYegLzbAumhZqrlDhWGZ9KfS7UDlE +ZN+PQipLhzv9fbRaZzRFbn194SBZQbMEcwkdrgLiXZ91U7/KjvcnnFPrVNh/xe6x +P/07JdTRBh/mwSFjEtGaYDBU9+sy8My1lRZL16YRqRIYX3OIuuXZyMiJj8+oGgE= +=2t5y +-----END PGP SIGNATURE----- diff --git a/libvirt-power8-models.patch b/libvirt-power8-models.patch index 26c3a39..17e8e25 100644 --- a/libvirt-power8-models.patch +++ b/libvirt-power8-models.patch @@ -2,11 +2,11 @@ Add POWER8 v2.0 and v2.1 to cpu map XML From: -Index: libvirt-3.7.0/src/cpu/cpu_map.xml +Index: libvirt-3.8.0/src/cpu/cpu_map.xml =================================================================== ---- libvirt-3.7.0.orig/src/cpu/cpu_map.xml -+++ libvirt-3.7.0/src/cpu/cpu_map.xml -@@ -1643,6 +1643,8 @@ +--- libvirt-3.8.0.orig/src/cpu/cpu_map.xml ++++ libvirt-3.8.0/src/cpu/cpu_map.xml +@@ -1724,6 +1724,8 @@ diff --git a/libvirt-suse-netcontrol.patch b/libvirt-suse-netcontrol.patch index 50c60a4..c4e5bb5 100644 --- a/libvirt-suse-netcontrol.patch +++ b/libvirt-suse-netcontrol.patch @@ -1,7 +1,7 @@ -Index: libvirt-3.7.0/configure.ac +Index: libvirt-3.8.0/configure.ac =================================================================== ---- libvirt-3.7.0.orig/configure.ac -+++ libvirt-3.7.0/configure.ac +--- libvirt-3.8.0.orig/configure.ac ++++ libvirt-3.8.0/configure.ac @@ -256,6 +256,7 @@ LIBVIRT_ARG_LIBSSH LIBVIRT_ARG_LIBXML LIBVIRT_ARG_MACVTAP @@ -18,7 +18,7 @@ Index: libvirt-3.7.0/configure.ac LIBVIRT_CHECK_NUMACTL LIBVIRT_CHECK_NWFILTER LIBVIRT_CHECK_OPENWSMAN -@@ -979,6 +981,7 @@ LIBVIRT_RESULT_LIBXL +@@ -993,6 +995,7 @@ LIBVIRT_RESULT_LIBXL LIBVIRT_RESULT_LIBXML LIBVIRT_RESULT_MACVTAP LIBVIRT_RESULT_NETCF @@ -26,10 +26,10 @@ Index: libvirt-3.7.0/configure.ac LIBVIRT_RESULT_NSS LIBVIRT_RESULT_NUMACTL LIBVIRT_RESULT_OPENWSMAN -Index: libvirt-3.7.0/src/Makefile.am +Index: libvirt-3.8.0/src/Makefile.am =================================================================== ---- libvirt-3.7.0.orig/src/Makefile.am -+++ libvirt-3.7.0/src/Makefile.am +--- libvirt-3.8.0.orig/src/Makefile.am ++++ libvirt-3.8.0/src/Makefile.am @@ -1037,6 +1037,10 @@ if WITH_NETCF INTERFACE_DRIVER_SOURCES += \ interface/interface_backend_netcf.c @@ -52,10 +52,10 @@ Index: libvirt-3.7.0/src/Makefile.am if WITH_UDEV libvirt_driver_interface_la_CFLAGS += $(UDEV_CFLAGS) libvirt_driver_interface_la_LIBADD += $(UDEV_LIBS) -Index: libvirt-3.7.0/tools/virsh.c +Index: libvirt-3.8.0/tools/virsh.c =================================================================== ---- libvirt-3.7.0.orig/tools/virsh.c -+++ libvirt-3.7.0/tools/virsh.c +--- libvirt-3.8.0.orig/tools/virsh.c ++++ libvirt-3.8.0/tools/virsh.c @@ -576,6 +576,8 @@ virshShowVersion(vshControl *ctl ATTRIBU vshPrint(ctl, " Interface"); # if defined(WITH_NETCF) @@ -65,10 +65,10 @@ Index: libvirt-3.7.0/tools/virsh.c # elif defined(WITH_UDEV) vshPrint(ctl, " udev"); # endif -Index: libvirt-3.7.0/src/interface/interface_backend_netcf.c +Index: libvirt-3.8.0/src/interface/interface_backend_netcf.c =================================================================== ---- libvirt-3.7.0.orig/src/interface/interface_backend_netcf.c -+++ libvirt-3.7.0/src/interface/interface_backend_netcf.c +--- libvirt-3.8.0.orig/src/interface/interface_backend_netcf.c ++++ libvirt-3.8.0/src/interface/interface_backend_netcf.c @@ -23,7 +23,12 @@ #include @@ -152,10 +152,10 @@ Index: libvirt-3.7.0/src/interface/interface_backend_netcf.c if (virSetSharedInterfaceDriver(&interfaceDriver) < 0) return -1; if (virRegisterStateDriver(&interfaceStateDriver) < 0) -Index: libvirt-3.7.0/src/interface/interface_driver.c +Index: libvirt-3.8.0/src/interface/interface_driver.c =================================================================== ---- libvirt-3.7.0.orig/src/interface/interface_driver.c -+++ libvirt-3.7.0/src/interface/interface_driver.c +--- libvirt-3.8.0.orig/src/interface/interface_driver.c ++++ libvirt-3.8.0/src/interface/interface_driver.c @@ -30,8 +30,15 @@ interfaceRegister(void) if (netcfIfaceRegister() == 0) return 0; @@ -173,10 +173,10 @@ Index: libvirt-3.7.0/src/interface/interface_driver.c if (udevIfaceRegister() == 0) return 0; #endif /* WITH_UDEV */ -Index: libvirt-3.7.0/m4/virt-netcontrol.m4 +Index: libvirt-3.8.0/m4/virt-netcontrol.m4 =================================================================== --- /dev/null -+++ libvirt-3.7.0/m4/virt-netcontrol.m4 ++++ libvirt-3.8.0/m4/virt-netcontrol.m4 @@ -0,0 +1,39 @@ +dnl The libnetcontrol library +dnl diff --git a/libvirt.changes b/libvirt.changes index e6d742c..33d9cfb 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Thu Oct 5 15:19:24 UTC 2017 - jfehlig@suse.com + +- spec: Add dependency to UEFI firmwares since paths are specified + at build time + +------------------------------------------------------------------- +Wed Oct 4 14:40:18 UTC 2017 - jfehlig@suse.com + +- Update to libvirt 3.8.0 + - Many incremental improvements and bug fixes, see + http://libvirt.org/news.html + - Dropped patches: + 92bd87a2-ryzen-test-data.patch, + 5c83b360-epyc-test-data.patch, + a0b62843-epyc-cpu-model.patch, + f305d8a1-apparmor-attach_disconnected.patch, + b482925c-apparmor-ptrace-support.patch + +------------------------------------------------------------------- +Tue Oct 3 23:37:12 UTC 2017 - jfehlig@suse.com + +- Enable firewalld support for openSUSE >= 42.2 + ------------------------------------------------------------------- Tue Sep 26 22:38:42 UTC 2017 - jfehlig@suse.com diff --git a/libvirt.spec b/libvirt.spec index 130cc31..e100e50 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -103,6 +103,11 @@ %define with_phyp 1 %endif +# Enable firewalld support for openSUSE >= 42.2 +%if 0%{?sle_version} >= 120200 && 0%{?is_opensuse} + %define with_firewalld 1 +%endif + # rbd enablement is a bit tricky. For x86_64 %ifarch x86_64 # enable on anything newer than 1320, or SLE12 family newer than 120100 @@ -165,7 +170,7 @@ Name: libvirt Url: http://libvirt.org/ -Version: 3.7.0 +Version: 3.8.0 Release: 0 Summary: Library providing a simple virtualization API License: LGPL-2.1+ @@ -304,11 +309,6 @@ Source4: libvirt-supportconfig Source99: baselibs.conf Source100: %{name}-rpmlintrc # Upstream patches -Patch0: 92bd87a2-ryzen-test-data.patch -Patch1: 5c83b360-epyc-test-data.patch -Patch2: a0b62843-epyc-cpu-model.patch -Patch3: f305d8a1-apparmor-attach_disconnected.patch -Patch4: b482925c-apparmor-ptrace-support.patch # Patches pending upstream review Patch100: libxl-dom-reset.patch Patch101: network-don-t-use-dhcp-authoritative-on-static-netwo.patch @@ -366,7 +366,6 @@ Group: Development/Libraries/C and C++ # All runtime requirements for the libvirt package (runtime requirements # for subpackages are listed later in those subpackages) -# The client side, i.e. shared libs are in a subpackage Requires: %{name}-libs = %{version}-%{release} # for modprobe of pci devices @@ -386,6 +385,15 @@ Requires: dmidecode Requires: numad %endif +# libvirt is configured with paths to UEFI firmwares in %build, +# hence add a dependency to the firmware packages +%ifarch x86_64 +Requires: qemu-ovmf-x86_64 +%endif +%ifarch aarch64 +Requires: qemu-uefi-aarch64 +%endif + %description daemon Server side daemon required to manage the virtualization capabilities of recent versions of Linux. Requires a hypervisor specific sub-RPM @@ -874,11 +882,6 @@ libvirt plugin for NSS for translating domain names into IP addresses. %prep %setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 %patch100 -p1 %patch101 -p1 %patch150 -p1 diff --git a/libxl-dom-reset.patch b/libxl-dom-reset.patch index e146fef..eedf7d7 100644 --- a/libxl-dom-reset.patch +++ b/libxl-dom-reset.patch @@ -8,10 +8,10 @@ Date: Mon Jun 23 15:51:20 2014 -0600 option, but domainReset can be implemented in the libxl driver by forcibly destroying the domain and starting it again. -Index: libvirt-3.7.0/src/libxl/libxl_driver.c +Index: libvirt-3.8.0/src/libxl/libxl_driver.c =================================================================== ---- libvirt-3.7.0.orig/src/libxl/libxl_driver.c -+++ libvirt-3.7.0/src/libxl/libxl_driver.c +--- libvirt-3.8.0.orig/src/libxl/libxl_driver.c ++++ libvirt-3.8.0/src/libxl/libxl_driver.c @@ -1381,6 +1381,61 @@ libxlDomainReboot(virDomainPtr dom, unsi } @@ -74,7 +74,7 @@ Index: libvirt-3.7.0/src/libxl/libxl_driver.c libxlDomainDestroyFlags(virDomainPtr dom, unsigned int flags) { -@@ -6487,6 +6542,7 @@ static virHypervisorDriver libxlHypervis +@@ -6503,6 +6558,7 @@ static virHypervisorDriver libxlHypervis .domainShutdown = libxlDomainShutdown, /* 0.9.0 */ .domainShutdownFlags = libxlDomainShutdownFlags, /* 0.9.10 */ .domainReboot = libxlDomainReboot, /* 0.9.0 */ diff --git a/libxl-qemu-emulator-caps.patch b/libxl-qemu-emulator-caps.patch index c5d36b2..b811a81 100644 --- a/libxl-qemu-emulator-caps.patch +++ b/libxl-qemu-emulator-caps.patch @@ -8,10 +8,10 @@ as the default , instead of the qemu-xen one. See FATE#320638 for details. -Index: libvirt-3.7.0/src/libxl/libxl_capabilities.c +Index: libvirt-3.8.0/src/libxl/libxl_capabilities.c =================================================================== ---- libvirt-3.7.0.orig/src/libxl/libxl_capabilities.c -+++ libvirt-3.7.0/src/libxl/libxl_capabilities.c +--- libvirt-3.8.0.orig/src/libxl/libxl_capabilities.c ++++ libvirt-3.8.0/src/libxl/libxl_capabilities.c @@ -38,6 +38,7 @@ #include "libxl_capabilities.h" #include "cpu/cpu_x86.h" diff --git a/libxl-set-cach-mode.patch b/libxl-set-cach-mode.patch index 649944c..a34d6f1 100644 --- a/libxl-set-cach-mode.patch +++ b/libxl-set-cach-mode.patch @@ -3,10 +3,10 @@ https://bugzilla.novell.com/show_bug.cgi?id=879425 src/libxl/libxl_conf.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) -Index: libvirt-3.7.0/src/libxl/libxl_conf.c +Index: libvirt-3.8.0/src/libxl/libxl_conf.c =================================================================== ---- libvirt-3.7.0.orig/src/libxl/libxl_conf.c -+++ libvirt-3.7.0/src/libxl/libxl_conf.c +--- libvirt-3.8.0.orig/src/libxl/libxl_conf.c ++++ libvirt-3.8.0/src/libxl/libxl_conf.c @@ -646,6 +646,30 @@ libxlDiskSetDiscard(libxl_device_disk *x #endif } @@ -38,7 +38,7 @@ Index: libvirt-3.7.0/src/libxl/libxl_conf.c static char * libxlMakeNetworkDiskSrcStr(virStorageSourcePtr src, const char *username, -@@ -893,6 +917,7 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk +@@ -894,6 +918,7 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk x_disk->is_cdrom = l_disk->device == VIR_DOMAIN_DISK_DEVICE_CDROM ? 1 : 0; if (libxlDiskSetDiscard(x_disk, l_disk->discard) < 0) return -1; diff --git a/libxl-set-migration-constraints.patch b/libxl-set-migration-constraints.patch index 2a036f8..15042bc 100644 --- a/libxl-set-migration-constraints.patch +++ b/libxl-set-migration-constraints.patch @@ -16,10 +16,10 @@ Signed-off-by: Jim Fehlig tools/virsh.pod | 8 ++++++++ 6 files changed, 125 insertions(+), 6 deletions(-) -Index: libvirt-3.7.0/include/libvirt/libvirt-domain.h +Index: libvirt-3.8.0/include/libvirt/libvirt-domain.h =================================================================== ---- libvirt-3.7.0.orig/include/libvirt/libvirt-domain.h -+++ libvirt-3.7.0/include/libvirt/libvirt-domain.h +--- libvirt-3.8.0.orig/include/libvirt/libvirt-domain.h ++++ libvirt-3.8.0/include/libvirt/libvirt-domain.h @@ -1008,6 +1008,31 @@ typedef enum { */ # define VIR_MIGRATE_PARAM_AUTO_CONVERGE_INCREMENT "auto_converge.increment" @@ -52,10 +52,10 @@ Index: libvirt-3.7.0/include/libvirt/libvirt-domain.h /* Domain migration. */ virDomainPtr virDomainMigrate (virDomainPtr domain, virConnectPtr dconn, unsigned long flags, const char *dname, -Index: libvirt-3.7.0/src/libxl/libxl_driver.c +Index: libvirt-3.8.0/src/libxl/libxl_driver.c =================================================================== ---- libvirt-3.7.0.orig/src/libxl/libxl_driver.c -+++ libvirt-3.7.0/src/libxl/libxl_driver.c +--- libvirt-3.8.0.orig/src/libxl/libxl_driver.c ++++ libvirt-3.8.0/src/libxl/libxl_driver.c @@ -6105,6 +6105,9 @@ libxlDomainMigratePerform3Params(virDoma const char *dname = NULL; const char *uri = NULL; @@ -99,10 +99,10 @@ Index: libvirt-3.7.0/src/libxl/libxl_driver.c goto cleanup; } -Index: libvirt-3.7.0/src/libxl/libxl_migration.c +Index: libvirt-3.8.0/src/libxl/libxl_migration.c =================================================================== ---- libvirt-3.7.0.orig/src/libxl/libxl_migration.c -+++ libvirt-3.7.0/src/libxl/libxl_migration.c +--- libvirt-3.8.0.orig/src/libxl/libxl_migration.c ++++ libvirt-3.8.0/src/libxl/libxl_migration.c @@ -359,18 +359,39 @@ libxlMigrateReceive(virNetSocketPtr sock static int libxlDoMigrateSend(libxlDriverPrivatePtr driver, @@ -263,10 +263,10 @@ Index: libvirt-3.7.0/src/libxl/libxl_migration.c virObjectLock(vm); cleanup: -Index: libvirt-3.7.0/src/libxl/libxl_migration.h +Index: libvirt-3.8.0/src/libxl/libxl_migration.h =================================================================== ---- libvirt-3.7.0.orig/src/libxl/libxl_migration.h -+++ libvirt-3.7.0/src/libxl/libxl_migration.h +--- libvirt-3.8.0.orig/src/libxl/libxl_migration.h ++++ libvirt-3.8.0/src/libxl/libxl_migration.h @@ -39,6 +39,10 @@ VIR_MIGRATE_PARAM_URI, VIR_TYPED_PARAM_STRING, \ VIR_MIGRATE_PARAM_DEST_NAME, VIR_TYPED_PARAM_STRING, \ @@ -311,10 +311,10 @@ Index: libvirt-3.7.0/src/libxl/libxl_migration.h virDomainPtr libxlDomainMigrationFinish(virConnectPtr dconn, -Index: libvirt-3.7.0/tools/virsh-domain.c +Index: libvirt-3.8.0/tools/virsh-domain.c =================================================================== ---- libvirt-3.7.0.orig/tools/virsh-domain.c -+++ libvirt-3.7.0/tools/virsh-domain.c +--- libvirt-3.8.0.orig/tools/virsh-domain.c ++++ libvirt-3.8.0/tools/virsh-domain.c @@ -10432,6 +10432,22 @@ static const vshCmdOptDef opts_migrate[] .type = VSH_OT_BOOL, .help = N_("use TLS for migration") @@ -374,11 +374,11 @@ Index: libvirt-3.7.0/tools/virsh-domain.c if (vshCommandOptStringReq(ctl, cmd, "xml", &opt) < 0) goto out; if (opt) { -Index: libvirt-3.7.0/tools/virsh.pod +Index: libvirt-3.8.0/tools/virsh.pod =================================================================== ---- libvirt-3.7.0.orig/tools/virsh.pod -+++ libvirt-3.7.0/tools/virsh.pod -@@ -1810,6 +1810,14 @@ Providing I<--tls> causes the migration +--- libvirt-3.8.0.orig/tools/virsh.pod ++++ libvirt-3.8.0/tools/virsh.pod +@@ -1840,6 +1840,14 @@ Providing I<--tls> causes the migration the migration of the domain. Usage requires proper TLS setup for both source and target. diff --git a/libxl-support-block-script.patch b/libxl-support-block-script.patch index 58d7501..4478a6b 100644 --- a/libxl-support-block-script.patch +++ b/libxl-support-block-script.patch @@ -7,10 +7,10 @@ and npiv. For more details, see bsc#954872 and FATE#319810 -Index: libvirt-3.7.0/src/libxl/libxl_conf.c +Index: libvirt-3.8.0/src/libxl/libxl_conf.c =================================================================== ---- libvirt-3.7.0.orig/src/libxl/libxl_conf.c -+++ libvirt-3.7.0/src/libxl/libxl_conf.c +--- libvirt-3.8.0.orig/src/libxl/libxl_conf.c ++++ libvirt-3.8.0/src/libxl/libxl_conf.c @@ -646,6 +646,25 @@ libxlDiskSetDiscard(libxl_device_disk *x #endif } @@ -37,7 +37,7 @@ Index: libvirt-3.7.0/src/libxl/libxl_conf.c static void libxlDiskSetCacheMode(libxl_device_disk *x_disk, int cachemode) { -@@ -790,6 +809,7 @@ libxlMakeNetworkDiskSrc(virStorageSource +@@ -791,6 +810,7 @@ libxlMakeNetworkDiskSrc(virStorageSource int libxlMakeDisk(virDomainDiskDefPtr l_disk, libxl_device_disk *x_disk) { @@ -45,7 +45,7 @@ Index: libvirt-3.7.0/src/libxl/libxl_conf.c const char *driver = virDomainDiskGetDriver(l_disk); int format = virDomainDiskGetFormat(l_disk); int actual_type = virStorageSourceGetActualType(l_disk->src); -@@ -805,7 +825,7 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk +@@ -806,7 +826,7 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk if (libxlMakeNetworkDiskSrc(l_disk->src, &x_disk->pdev_path) < 0) return -1; } else { @@ -54,7 +54,7 @@ Index: libvirt-3.7.0/src/libxl/libxl_conf.c return -1; } -@@ -918,6 +938,9 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk +@@ -919,6 +939,9 @@ libxlMakeDisk(virDomainDiskDefPtr l_disk if (libxlDiskSetDiscard(x_disk, l_disk->discard) < 0) return -1; libxlDiskSetCacheMode(x_disk, l_disk->cachemode); diff --git a/lxc-wait-after-eth-del.patch b/lxc-wait-after-eth-del.patch index c672e9c..84cd743 100644 --- a/lxc-wait-after-eth-del.patch +++ b/lxc-wait-after-eth-del.patch @@ -13,10 +13,10 @@ device with the same name that is being created. src/lxc/lxc_process.c | 1 + 3 files changed, 4 insertions(+) -Index: libvirt-3.7.0/src/lxc/lxc_controller.c +Index: libvirt-3.8.0/src/lxc/lxc_controller.c =================================================================== ---- libvirt-3.7.0.orig/src/lxc/lxc_controller.c -+++ libvirt-3.7.0/src/lxc/lxc_controller.c +--- libvirt-3.8.0.orig/src/lxc/lxc_controller.c ++++ libvirt-3.8.0/src/lxc/lxc_controller.c @@ -73,6 +73,7 @@ #include "rpc/virnetdaemon.h" #include "virstring.h" @@ -33,10 +33,10 @@ Index: libvirt-3.7.0/src/lxc/lxc_controller.c return ret; } -Index: libvirt-3.7.0/src/lxc/lxc_driver.c +Index: libvirt-3.8.0/src/lxc/lxc_driver.c =================================================================== ---- libvirt-3.7.0.orig/src/lxc/lxc_driver.c -+++ libvirt-3.7.0/src/lxc/lxc_driver.c +--- libvirt-3.8.0.orig/src/lxc/lxc_driver.c ++++ libvirt-3.8.0/src/lxc/lxc_driver.c @@ -76,6 +76,7 @@ #include "virtime.h" #include "virtypedparam.h" @@ -45,7 +45,7 @@ Index: libvirt-3.7.0/src/lxc/lxc_driver.c #include "virstring.h" #include "viraccessapicheck.h" #include "viraccessapichecklxc.h" -@@ -4023,6 +4024,7 @@ lxcDomainAttachDeviceNetLive(virConnectP +@@ -4021,6 +4022,7 @@ lxcDomainAttachDeviceNetLive(virConnectP case VIR_DOMAIN_NET_TYPE_NETWORK: case VIR_DOMAIN_NET_TYPE_ETHERNET: ignore_value(virNetDevVethDelete(veth)); @@ -53,7 +53,7 @@ Index: libvirt-3.7.0/src/lxc/lxc_driver.c break; case VIR_DOMAIN_NET_TYPE_DIRECT: -@@ -4457,6 +4459,7 @@ lxcDomainDetachDeviceNetLive(virDomainOb +@@ -4455,6 +4457,7 @@ lxcDomainDetachDeviceNetLive(virDomainOb virDomainAuditNet(vm, detach, NULL, "detach", false); goto cleanup; } @@ -61,10 +61,10 @@ Index: libvirt-3.7.0/src/lxc/lxc_driver.c break; /* It'd be nice to support this, but with macvlan -Index: libvirt-3.7.0/src/lxc/lxc_process.c +Index: libvirt-3.8.0/src/lxc/lxc_process.c =================================================================== ---- libvirt-3.7.0.orig/src/lxc/lxc_process.c -+++ libvirt-3.7.0/src/lxc/lxc_process.c +--- libvirt-3.8.0.orig/src/lxc/lxc_process.c ++++ libvirt-3.8.0/src/lxc/lxc_process.c @@ -52,6 +52,7 @@ #include "viratomic.h" #include "virprocess.h" diff --git a/network-don-t-use-dhcp-authoritative-on-static-netwo.patch b/network-don-t-use-dhcp-authoritative-on-static-netwo.patch index 52ba107..59ea31a 100644 --- a/network-don-t-use-dhcp-authoritative-on-static-netwo.patch +++ b/network-don-t-use-dhcp-authoritative-on-static-netwo.patch @@ -17,10 +17,10 @@ Signed-off-by: Martin Wilck tests/networkxml2confdata/dhcp6host-routed-network.conf | 1 - 2 files changed, 8 insertions(+), 2 deletions(-) -Index: libvirt-3.7.0/src/network/bridge_driver.c +Index: libvirt-3.8.0/src/network/bridge_driver.c =================================================================== ---- libvirt-3.7.0.orig/src/network/bridge_driver.c -+++ libvirt-3.7.0/src/network/bridge_driver.c +--- libvirt-3.8.0.orig/src/network/bridge_driver.c ++++ libvirt-3.8.0/src/network/bridge_driver.c @@ -1393,7 +1393,14 @@ networkDnsmasqConfContents(virNetworkObj if (VIR_SOCKET_ADDR_IS_FAMILY(&ipdef->address, AF_INET)) { if (ipdef->nranges || ipdef->nhosts) { @@ -37,10 +37,10 @@ Index: libvirt-3.7.0/src/network/bridge_driver.c } if (ipdef->tftproot) { -Index: libvirt-3.7.0/tests/networkxml2confdata/dhcp6host-routed-network.conf +Index: libvirt-3.8.0/tests/networkxml2confdata/dhcp6host-routed-network.conf =================================================================== ---- libvirt-3.7.0.orig/tests/networkxml2confdata/dhcp6host-routed-network.conf -+++ libvirt-3.7.0/tests/networkxml2confdata/dhcp6host-routed-network.conf +--- libvirt-3.8.0.orig/tests/networkxml2confdata/dhcp6host-routed-network.conf ++++ libvirt-3.8.0/tests/networkxml2confdata/dhcp6host-routed-network.conf @@ -10,7 +10,6 @@ bind-dynamic interface=virbr1 dhcp-range=192.168.122.1,static diff --git a/ppc64le-canonical-name.patch b/ppc64le-canonical-name.patch index 841c985..1521474 100644 --- a/ppc64le-canonical-name.patch +++ b/ppc64le-canonical-name.patch @@ -2,10 +2,10 @@ Canonicalize hostarch name ppc64le to ppc64 See bnc#894956 -Index: libvirt-3.7.0/src/util/virarch.c +Index: libvirt-3.8.0/src/util/virarch.c =================================================================== ---- libvirt-3.7.0.orig/src/util/virarch.c -+++ libvirt-3.7.0/src/util/virarch.c +--- libvirt-3.8.0.orig/src/util/virarch.c ++++ libvirt-3.8.0/src/util/virarch.c @@ -169,6 +169,8 @@ virArch virArchFromHost(void) arch = VIR_ARCH_I686; } else if (STREQ(ut.machine, "amd64")) { diff --git a/qemu-apparmor-screenshot.patch b/qemu-apparmor-screenshot.patch index 9057de6..bcb0ac6 100644 --- a/qemu-apparmor-screenshot.patch +++ b/qemu-apparmor-screenshot.patch @@ -1,7 +1,7 @@ -Index: libvirt-3.7.0/examples/apparmor/libvirt-qemu +Index: libvirt-3.8.0/examples/apparmor/libvirt-qemu =================================================================== ---- libvirt-3.7.0.orig/examples/apparmor/libvirt-qemu -+++ libvirt-3.7.0/examples/apparmor/libvirt-qemu +--- libvirt-3.8.0.orig/examples/apparmor/libvirt-qemu ++++ libvirt-3.8.0/examples/apparmor/libvirt-qemu @@ -176,3 +176,6 @@ /sys/devices/system/node/ r, /sys/devices/system/node/node[0-9]*/meminfo r, diff --git a/support-managed-pci-xen-driver.patch b/support-managed-pci-xen-driver.patch index 104e6a3..89070b9 100644 --- a/support-managed-pci-xen-driver.patch +++ b/support-managed-pci-xen-driver.patch @@ -8,10 +8,10 @@ Subject: [PATCH] support managed pci devices in xen driver src/xenxs/xen_xm.c | 28 +++++++++++++++++++++++++++- 2 files changed, 35 insertions(+), 15 deletions(-) -Index: libvirt-3.7.0/src/xenconfig/xen_common.c +Index: libvirt-3.8.0/src/xenconfig/xen_common.c =================================================================== ---- libvirt-3.7.0.orig/src/xenconfig/xen_common.c -+++ libvirt-3.7.0/src/xenconfig/xen_common.c +--- libvirt-3.8.0.orig/src/xenconfig/xen_common.c ++++ libvirt-3.8.0/src/xenconfig/xen_common.c @@ -394,6 +394,8 @@ xenParsePCI(virConfPtr conf, virDomainDe { virConfValuePtr list = virConfGetValue(conf, "pci"); @@ -66,10 +66,10 @@ Index: libvirt-3.7.0/src/xenconfig/xen_common.c hostdev->source.subsys.type = VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_PCI; hostdev->source.subsys.u.pci.addr.domain = domainID; hostdev->source.subsys.u.pci.addr.bus = busID; -Index: libvirt-3.7.0/src/xenconfig/xen_sxpr.c +Index: libvirt-3.8.0/src/xenconfig/xen_sxpr.c =================================================================== ---- libvirt-3.7.0.orig/src/xenconfig/xen_sxpr.c -+++ libvirt-3.7.0/src/xenconfig/xen_sxpr.c +--- libvirt-3.8.0.orig/src/xenconfig/xen_sxpr.c ++++ libvirt-3.8.0/src/xenconfig/xen_sxpr.c @@ -1062,6 +1062,7 @@ xenParseSxprPCI(virDomainDefPtr def, int busID; int slotID; diff --git a/suse-apparmor-libnl-paths.patch b/suse-apparmor-libnl-paths.patch index ba94fb5..dfaab25 100644 --- a/suse-apparmor-libnl-paths.patch +++ b/suse-apparmor-libnl-paths.patch @@ -8,10 +8,10 @@ It was also noticed that the per-domain profiles need a libnl rule to squelch a denial when starting confined domains. Found while investigating bsc#1058847 -Index: libvirt-3.7.0/examples/apparmor/usr.lib.libvirt.virt-aa-helper +Index: libvirt-3.8.0/examples/apparmor/usr.lib.libvirt.virt-aa-helper =================================================================== ---- libvirt-3.7.0.orig/examples/apparmor/usr.lib.libvirt.virt-aa-helper -+++ libvirt-3.7.0/examples/apparmor/usr.lib.libvirt.virt-aa-helper +--- libvirt-3.8.0.orig/examples/apparmor/usr.lib.libvirt.virt-aa-helper ++++ libvirt-3.8.0/examples/apparmor/usr.lib.libvirt.virt-aa-helper @@ -16,7 +16,7 @@ profile virt-aa-helper /usr/{lib,lib64}/ owner @{PROC}/[0-9]*/status r, @{PROC}/filesystems r, @@ -21,10 +21,10 @@ Index: libvirt-3.7.0/examples/apparmor/usr.lib.libvirt.virt-aa-helper # for hostdev /sys/devices/ r, -Index: libvirt-3.7.0/examples/apparmor/libvirt-qemu +Index: libvirt-3.8.0/examples/apparmor/libvirt-qemu =================================================================== ---- libvirt-3.7.0.orig/examples/apparmor/libvirt-qemu -+++ libvirt-3.7.0/examples/apparmor/libvirt-qemu +--- libvirt-3.8.0.orig/examples/apparmor/libvirt-qemu ++++ libvirt-3.8.0/examples/apparmor/libvirt-qemu @@ -50,6 +50,7 @@ #/dev/fb* rw, diff --git a/suse-libvirt-guests-service.patch b/suse-libvirt-guests-service.patch index 577cf26..f52e9d9 100644 --- a/suse-libvirt-guests-service.patch +++ b/suse-libvirt-guests-service.patch @@ -1,9 +1,9 @@ Adjust libvirt-guests service to conform to SUSE standards -Index: libvirt-3.7.0/tools/libvirt-guests.init.in +Index: libvirt-3.8.0/tools/libvirt-guests.init.in =================================================================== ---- libvirt-3.7.0.orig/tools/libvirt-guests.init.in -+++ libvirt-3.7.0/tools/libvirt-guests.init.in +--- libvirt-3.8.0.orig/tools/libvirt-guests.init.in ++++ libvirt-3.8.0/tools/libvirt-guests.init.in @@ -4,27 +4,27 @@ # http://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html # @@ -45,10 +45,10 @@ Index: libvirt-3.7.0/tools/libvirt-guests.init.in # exec @libexecdir@/libvirt-guests.sh "$@" -Index: libvirt-3.7.0/tools/libvirt-guests.sh.in +Index: libvirt-3.8.0/tools/libvirt-guests.sh.in =================================================================== ---- libvirt-3.7.0.orig/tools/libvirt-guests.sh.in -+++ libvirt-3.7.0/tools/libvirt-guests.sh.in +--- libvirt-3.8.0.orig/tools/libvirt-guests.sh.in ++++ libvirt-3.8.0/tools/libvirt-guests.sh.in @@ -16,14 +16,13 @@ # License along with this library. If not, see # . @@ -208,10 +208,10 @@ Index: libvirt-3.7.0/tools/libvirt-guests.sh.in esac -exit $RETVAL +rc_exit -Index: libvirt-3.7.0/tools/libvirt-guests.sysconf +Index: libvirt-3.8.0/tools/libvirt-guests.sysconf =================================================================== ---- libvirt-3.7.0.orig/tools/libvirt-guests.sysconf -+++ libvirt-3.7.0/tools/libvirt-guests.sysconf +--- libvirt-3.8.0.orig/tools/libvirt-guests.sysconf ++++ libvirt-3.8.0/tools/libvirt-guests.sysconf @@ -1,19 +1,29 @@ +## Path: System/Virtualization/libvirt-guests + diff --git a/suse-libvirtd-disable-tls.patch b/suse-libvirtd-disable-tls.patch index 39f8f3f..74c438b 100644 --- a/suse-libvirtd-disable-tls.patch +++ b/suse-libvirtd-disable-tls.patch @@ -3,10 +3,10 @@ Disable TLS by default On SUSE distros, the default is for libvirtd to listen only on the Unix Domain Socket. The libvirt client still provides remote access via a SSH tunnel. -Index: libvirt-3.7.0/daemon/libvirtd.conf +Index: libvirt-3.8.0/daemon/libvirtd.conf =================================================================== ---- libvirt-3.7.0.orig/daemon/libvirtd.conf -+++ libvirt-3.7.0/daemon/libvirtd.conf +--- libvirt-3.8.0.orig/daemon/libvirtd.conf ++++ libvirt-3.8.0/daemon/libvirtd.conf @@ -18,8 +18,8 @@ # It is necessary to setup a CA and issue server certificates before # using this capability. @@ -18,10 +18,10 @@ Index: libvirt-3.7.0/daemon/libvirtd.conf # Listen for unencrypted TCP connections on the public TCP/IP port. # NB, must pass the --listen flag to the libvirtd process for this to -Index: libvirt-3.7.0/daemon/libvirtd-config.c +Index: libvirt-3.8.0/daemon/libvirtd-config.c =================================================================== ---- libvirt-3.7.0.orig/daemon/libvirtd-config.c -+++ libvirt-3.7.0/daemon/libvirtd-config.c +--- libvirt-3.8.0.orig/daemon/libvirtd-config.c ++++ libvirt-3.8.0/daemon/libvirtd-config.c @@ -110,7 +110,7 @@ daemonConfigNew(bool privileged ATTRIBUT if (VIR_ALLOC(data) < 0) return NULL; @@ -31,10 +31,10 @@ Index: libvirt-3.7.0/daemon/libvirtd-config.c data->listen_tcp = 0; if (VIR_STRDUP(data->tls_port, LIBVIRTD_TLS_PORT) < 0 || -Index: libvirt-3.7.0/daemon/test_libvirtd.aug.in +Index: libvirt-3.8.0/daemon/test_libvirtd.aug.in =================================================================== ---- libvirt-3.7.0.orig/daemon/test_libvirtd.aug.in -+++ libvirt-3.7.0/daemon/test_libvirtd.aug.in +--- libvirt-3.8.0.orig/daemon/test_libvirtd.aug.in ++++ libvirt-3.8.0/daemon/test_libvirtd.aug.in @@ -2,7 +2,7 @@ module Test_libvirtd = ::CONFIG:: diff --git a/suse-libvirtd-service-xen.patch b/suse-libvirtd-service-xen.patch index fd5dd1c..6ae9f5a 100644 --- a/suse-libvirtd-service-xen.patch +++ b/suse-libvirtd-service-xen.patch @@ -7,10 +7,10 @@ On SUSE distros, we promote libvirt and all the libvirt-based tools. If a user installs libvirt on their SUSE Xen host, then libvirt should be king and override xendomains. See bsc#1015348 -Index: libvirt-3.7.0/daemon/libvirtd.service.in +Index: libvirt-3.8.0/daemon/libvirtd.service.in =================================================================== ---- libvirt-3.7.0.orig/daemon/libvirtd.service.in -+++ libvirt-3.7.0/daemon/libvirtd.service.in +--- libvirt-3.8.0.orig/daemon/libvirtd.service.in ++++ libvirt-3.8.0/daemon/libvirtd.service.in @@ -14,6 +14,8 @@ After=iscsid.service After=apparmor.service After=local-fs.target diff --git a/suse-libvirtd-sysconfig-settings.patch b/suse-libvirtd-sysconfig-settings.patch index 9a5fd80..5cacea0 100644 --- a/suse-libvirtd-sysconfig-settings.patch +++ b/suse-libvirtd-sysconfig-settings.patch @@ -1,9 +1,9 @@ Adjust libvirtd sysconfig file to conform to SUSE standards -Index: libvirt-3.7.0/daemon/libvirtd.sysconf +Index: libvirt-3.8.0/daemon/libvirtd.sysconf =================================================================== ---- libvirt-3.7.0.orig/daemon/libvirtd.sysconf -+++ libvirt-3.7.0/daemon/libvirtd.sysconf +--- libvirt-3.8.0.orig/daemon/libvirtd.sysconf ++++ libvirt-3.8.0/daemon/libvirtd.sysconf @@ -1,16 +1,25 @@ +## Path: System/Virtualization/libvirt + diff --git a/suse-ovmf-paths.patch b/suse-ovmf-paths.patch index c8dec43..0eb4758 100644 --- a/suse-ovmf-paths.patch +++ b/suse-ovmf-paths.patch @@ -1,10 +1,10 @@ Adjust paths of OVMF firmwares on SUSE distros -Index: libvirt-3.7.0/src/qemu/qemu.conf +Index: libvirt-3.8.0/src/qemu/qemu.conf =================================================================== ---- libvirt-3.7.0.orig/src/qemu/qemu.conf -+++ libvirt-3.7.0/src/qemu/qemu.conf -@@ -703,10 +703,9 @@ security_default_confined = 0 +--- libvirt-3.8.0.orig/src/qemu/qemu.conf ++++ libvirt-3.8.0/src/qemu/qemu.conf +@@ -737,10 +737,9 @@ security_default_confined = 0 # for x86_64 and i686, but it's AAVMF for aarch64. The libvirt default # follows this scheme. #nvram = [ @@ -18,10 +18,10 @@ Index: libvirt-3.7.0/src/qemu/qemu.conf #] # The backend to use for handling stdout/stderr output from -Index: libvirt-3.7.0/src/qemu/qemu_conf.c +Index: libvirt-3.8.0/src/qemu/qemu_conf.c =================================================================== ---- libvirt-3.7.0.orig/src/qemu/qemu_conf.c -+++ libvirt-3.7.0/src/qemu/qemu_conf.c +--- libvirt-3.8.0.orig/src/qemu/qemu_conf.c ++++ libvirt-3.8.0/src/qemu/qemu_conf.c @@ -127,10 +127,9 @@ void qemuDomainCmdlineDefFree(qemuDomain #ifndef DEFAULT_LOADER_NVRAM diff --git a/suse-qemu-conf.patch b/suse-qemu-conf.patch index be502ba..ee3f8a1 100644 --- a/suse-qemu-conf.patch +++ b/suse-qemu-conf.patch @@ -7,11 +7,11 @@ suse-qemu-conf-secdriver.patch, suse-qemu-conf-lockmgr.patch, etc.), but for now they are all lumped together in this single patch. -Index: libvirt-3.7.0/src/qemu/qemu.conf +Index: libvirt-3.8.0/src/qemu/qemu.conf =================================================================== ---- libvirt-3.7.0.orig/src/qemu/qemu.conf -+++ libvirt-3.7.0/src/qemu/qemu.conf -@@ -340,11 +340,20 @@ +--- libvirt-3.8.0.orig/src/qemu/qemu.conf ++++ libvirt-3.8.0/src/qemu/qemu.conf +@@ -374,11 +374,20 @@ # isolation, but it cannot appear in a list of drivers. # #security_driver = "selinux" @@ -34,7 +34,7 @@ Index: libvirt-3.7.0/src/qemu/qemu.conf # If set to non-zero, then attempts to create unconfined # guests will be blocked. Defaults to 0. -@@ -588,11 +597,22 @@ +@@ -622,11 +631,22 @@ #allow_disk_format_probing = 1 diff --git a/suse-virtlockd-sysconfig-settings.patch b/suse-virtlockd-sysconfig-settings.patch index 4dc3730..e2ce5ae 100644 --- a/suse-virtlockd-sysconfig-settings.patch +++ b/suse-virtlockd-sysconfig-settings.patch @@ -1,9 +1,9 @@ Adjust virtlockd sysconfig file to conform to SUSE standards -Index: libvirt-3.7.0/src/locking/virtlockd.sysconf +Index: libvirt-3.8.0/src/locking/virtlockd.sysconf =================================================================== ---- libvirt-3.7.0.orig/src/locking/virtlockd.sysconf -+++ libvirt-3.7.0/src/locking/virtlockd.sysconf +--- libvirt-3.8.0.orig/src/locking/virtlockd.sysconf ++++ libvirt-3.8.0/src/locking/virtlockd.sysconf @@ -1,3 +1,7 @@ +## Path: System/Virtualization/virtlockd + diff --git a/suse-virtlogd-sysconfig-settings.patch b/suse-virtlogd-sysconfig-settings.patch index 8ee6e8e..7866903 100644 --- a/suse-virtlogd-sysconfig-settings.patch +++ b/suse-virtlogd-sysconfig-settings.patch @@ -1,9 +1,9 @@ Adjust virtlogd sysconfig file to conform to SUSE standards -Index: libvirt-3.7.0/src/logging/virtlogd.sysconf +Index: libvirt-3.8.0/src/logging/virtlogd.sysconf =================================================================== ---- libvirt-3.7.0.orig/src/logging/virtlogd.sysconf -+++ libvirt-3.7.0/src/logging/virtlogd.sysconf +--- libvirt-3.8.0.orig/src/logging/virtlogd.sysconf ++++ libvirt-3.8.0/src/logging/virtlogd.sysconf @@ -1,3 +1,7 @@ +## Path: System/Virtualization/virtlogd + diff --git a/xen-pv-cdrom.patch b/xen-pv-cdrom.patch index f95e974..e3362c3 100644 --- a/xen-pv-cdrom.patch +++ b/xen-pv-cdrom.patch @@ -1,7 +1,7 @@ -Index: libvirt-3.7.0/src/xenconfig/xen_sxpr.c +Index: libvirt-3.8.0/src/xenconfig/xen_sxpr.c =================================================================== ---- libvirt-3.7.0.orig/src/xenconfig/xen_sxpr.c -+++ libvirt-3.7.0/src/xenconfig/xen_sxpr.c +--- libvirt-3.8.0.orig/src/xenconfig/xen_sxpr.c ++++ libvirt-3.8.0/src/xenconfig/xen_sxpr.c @@ -392,7 +392,7 @@ xenParseSxprVifRate(const char *rate, un static int xenParseSxprDisks(virDomainDefPtr def, diff --git a/xen-sxpr-disk-type.patch b/xen-sxpr-disk-type.patch index 9cc803a..71ff411 100644 --- a/xen-sxpr-disk-type.patch +++ b/xen-sxpr-disk-type.patch @@ -6,10 +6,10 @@ and 'file'. This was implicitly done prior to commit 9673418c. https://bugzilla.suse.com/show_bug.cgi?id=938228 -Index: libvirt-3.7.0/src/xenconfig/xen_sxpr.c +Index: libvirt-3.8.0/src/xenconfig/xen_sxpr.c =================================================================== ---- libvirt-3.7.0.orig/src/xenconfig/xen_sxpr.c -+++ libvirt-3.7.0/src/xenconfig/xen_sxpr.c +--- libvirt-3.8.0.orig/src/xenconfig/xen_sxpr.c ++++ libvirt-3.8.0/src/xenconfig/xen_sxpr.c @@ -506,10 +506,11 @@ xenParseSxprDisks(virDomainDefPtr def, omnipotent, we can revisit this, perhaps stat()'ing the src file in question */