forked from pool/libvirt
Accepting request 526406 from home:jfehlig:branches:Virtualization
- Update to libvirt 3.7.0 - Many incremental improvements and bug fixes, see http://libvirt.org/news.html - Dropped patches: 8982f3ab-util-hash-header.patch, 0b1ecf7b-virHashCodeGen-mockable.patch, f536b0dd-tests-arch-independent-hash.patch, e4cb8500-avoid-malicious-ssh-hostname-as-args.patch - Support OVMF 4MB firmware images Adjustment to spec file and suse-ovmf-paths.patch - supportconfig plugin: list active networks, interfaces and storage pools OBS-URL: https://build.opensuse.org/request/show/526406 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=619
This commit is contained in:
parent
75630acc68
commit
d6f1cec2cb
@ -1,37 +0,0 @@
|
|||||||
commit 0b1ecf7b5342f8631d1b1cce8a7937bda511be98
|
|
||||||
Author: Peter Krempa <pkrempa@redhat.com>
|
|
||||||
Date: Wed Aug 2 17:31:14 2017 +0200
|
|
||||||
|
|
||||||
util: hash: Make virHashCodeGen mockable
|
|
||||||
|
|
||||||
Export the function from the util module so that dynamic linking can
|
|
||||||
override it.
|
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/libvirt_private.syms
|
|
||||||
===================================================================
|
|
||||||
--- libvirt-3.6.0.orig/src/libvirt_private.syms
|
|
||||||
+++ libvirt-3.6.0/src/libvirt_private.syms
|
|
||||||
@@ -1776,6 +1776,10 @@ virHashUpdateEntry;
|
|
||||||
virHashValueFree;
|
|
||||||
|
|
||||||
|
|
||||||
+# util/virhashcode.h
|
|
||||||
+virHashCodeGen;
|
|
||||||
+
|
|
||||||
+
|
|
||||||
# util/virhook.h
|
|
||||||
virHookCall;
|
|
||||||
virHookInitialize;
|
|
||||||
Index: libvirt-3.6.0/src/util/virhashcode.h
|
|
||||||
===================================================================
|
|
||||||
--- libvirt-3.6.0.orig/src/util/virhashcode.h
|
|
||||||
+++ libvirt-3.6.0/src/util/virhashcode.h
|
|
||||||
@@ -30,6 +30,7 @@
|
|
||||||
|
|
||||||
# include "internal.h"
|
|
||||||
|
|
||||||
-uint32_t virHashCodeGen(const void *key, size_t len, uint32_t seed);
|
|
||||||
+uint32_t virHashCodeGen(const void *key, size_t len, uint32_t seed)
|
|
||||||
+ ATTRIBUTE_NOINLINE;
|
|
||||||
|
|
||||||
#endif /* __VIR_HASH_CODE_H__ */
|
|
@ -1,21 +0,0 @@
|
|||||||
commit 8982f3ab20194e23e34205c4165602a03ada8b56
|
|
||||||
Author: Peter Krempa <pkrempa@redhat.com>
|
|
||||||
Date: Wed Aug 2 17:28:55 2017 +0200
|
|
||||||
|
|
||||||
util: hash: Include stdbool.h in the header file
|
|
||||||
|
|
||||||
The functions declared in virhash.h return bool, but stdbool.h was not
|
|
||||||
included.
|
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/util/virhash.h
|
|
||||||
===================================================================
|
|
||||||
--- libvirt-3.6.0.orig/src/util/virhash.h
|
|
||||||
+++ libvirt-3.6.0/src/util/virhash.h
|
|
||||||
@@ -14,6 +14,7 @@
|
|
||||||
# define __VIR_HASH_H__
|
|
||||||
|
|
||||||
# include <stdint.h>
|
|
||||||
+# include <stdbool.h>
|
|
||||||
|
|
||||||
/*
|
|
||||||
* The hash table.
|
|
@ -1,7 +1,7 @@
|
|||||||
Index: libvirt-3.6.0/examples/apparmor/libvirt-qemu
|
Index: libvirt-3.7.0/examples/apparmor/libvirt-qemu
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/examples/apparmor/libvirt-qemu
|
--- libvirt-3.7.0.orig/examples/apparmor/libvirt-qemu
|
||||||
+++ libvirt-3.6.0/examples/apparmor/libvirt-qemu
|
+++ libvirt-3.7.0/examples/apparmor/libvirt-qemu
|
||||||
@@ -156,6 +156,9 @@
|
@@ -156,6 +156,9 @@
|
||||||
# for restore
|
# for restore
|
||||||
/{usr/,}bin/bash rmix,
|
/{usr/,}bin/bash rmix,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: libvirt-3.6.0/examples/apparmor/libvirt-lxc
|
Index: libvirt-3.7.0/examples/apparmor/libvirt-lxc
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/examples/apparmor/libvirt-lxc
|
--- libvirt-3.7.0.orig/examples/apparmor/libvirt-lxc
|
||||||
+++ libvirt-3.6.0/examples/apparmor/libvirt-lxc
|
+++ libvirt-3.7.0/examples/apparmor/libvirt-lxc
|
||||||
@@ -2,39 +2,15 @@
|
@@ -2,39 +2,15 @@
|
||||||
|
|
||||||
#include <abstractions/base>
|
#include <abstractions/base>
|
||||||
|
@ -11,11 +11,11 @@ Signed-off-by: Chunyan Liu <cyliu@suse.com>
|
|||||||
src/qemu/qemu_driver.c | 7 +++++++
|
src/qemu/qemu_driver.c | 7 +++++++
|
||||||
1 file changed, 7 insertions(+)
|
1 file changed, 7 insertions(+)
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/qemu/qemu_driver.c
|
Index: libvirt-3.7.0/src/qemu/qemu_driver.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/qemu/qemu_driver.c
|
--- libvirt-3.7.0.orig/src/qemu/qemu_driver.c
|
||||||
+++ libvirt-3.6.0/src/qemu/qemu_driver.c
|
+++ libvirt-3.7.0/src/qemu/qemu_driver.c
|
||||||
@@ -16836,6 +16836,14 @@ qemuDomainBlockCopyCommon(virDomainObjPt
|
@@ -16976,6 +16976,14 @@ qemuDomainBlockCopyCommon(virDomainObjPt
|
||||||
goto endjob;
|
goto endjob;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,42 +0,0 @@
|
|||||||
commit e4cb8500810a310a10a6cb359e1b53fac03ed597
|
|
||||||
Author: Daniel P. Berrange <berrange@redhat.com>
|
|
||||||
Date: Fri Aug 11 17:19:53 2017 +0100
|
|
||||||
|
|
||||||
rpc: avoid ssh interpreting malicious hostname as arguments
|
|
||||||
|
|
||||||
Inspired by the recent GIT / Mercurial security flaws
|
|
||||||
(http://blog.recurity-labs.com/2017-08-10/scm-vulns),
|
|
||||||
consider someone/something manages to feed libvirt a bogus
|
|
||||||
URI such as:
|
|
||||||
|
|
||||||
virsh -c qemu+ssh://-oProxyCommand=gnome-calculator/system
|
|
||||||
|
|
||||||
In this case, the hosname "-oProxyCommand=gnome-calculator"
|
|
||||||
will get interpreted as an argument to ssh, not a hostname.
|
|
||||||
Fortunately, due to the set of args we have following the
|
|
||||||
hostname, SSH will then interpret our bit of shell script
|
|
||||||
that runs 'nc' on the remote host as a cipher name, which is
|
|
||||||
clearly invalid. This makes ssh exit during argv parsing and
|
|
||||||
so it never tries to run gnome-calculator.
|
|
||||||
|
|
||||||
We are lucky this time, but lets be more paranoid, by using
|
|
||||||
'--' to explicitly tell SSH when it has finished seeing
|
|
||||||
command line options. This forces it to interpret
|
|
||||||
"-oProxyCommand=gnome-calculator" as a hostname, and thus
|
|
||||||
see a fail from hostname lookup.
|
|
||||||
|
|
||||||
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
|
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/rpc/virnetsocket.c
|
|
||||||
===================================================================
|
|
||||||
--- libvirt-3.6.0.orig/src/rpc/virnetsocket.c
|
|
||||||
+++ libvirt-3.6.0/src/rpc/virnetsocket.c
|
|
||||||
@@ -868,7 +868,7 @@ int virNetSocketNewConnectSSH(const char
|
|
||||||
if (!netcat)
|
|
||||||
netcat = "nc";
|
|
||||||
|
|
||||||
- virCommandAddArgList(cmd, nodename, "sh", "-c", NULL);
|
|
||||||
+ virCommandAddArgList(cmd, "--", nodename, "sh", "-c", NULL);
|
|
||||||
|
|
||||||
virBufferEscapeShell(&buf, netcat);
|
|
||||||
if (virBufferCheckError(&buf) < 0) {
|
|
@ -1,139 +0,0 @@
|
|||||||
commit f536b0dd7318c736c20ae646209671011d16c12c
|
|
||||||
Author: Peter Krempa <pkrempa@redhat.com>
|
|
||||||
Date: Wed Aug 2 17:23:51 2017 +0200
|
|
||||||
|
|
||||||
tests: deterministichash: Make hash tables arch-independent
|
|
||||||
|
|
||||||
It turns out that our implementation of the hashing function is
|
|
||||||
endian-dependent and thus if used on various architectures the testsuite
|
|
||||||
may have different results. Work this around by mocking virHashCodeGen
|
|
||||||
to something which does not use bit operations instead of just setting a
|
|
||||||
deterministic seed.
|
|
||||||
|
|
||||||
Index: libvirt-3.6.0/tests/qemumonitorjsondata/qemumonitorjson-nodename-relative.result
|
|
||||||
===================================================================
|
|
||||||
--- libvirt-3.6.0.orig/tests/qemumonitorjsondata/qemumonitorjson-nodename-relative.result
|
|
||||||
+++ libvirt-3.6.0/tests/qemumonitorjsondata/qemumonitorjson-nodename-relative.result
|
|
||||||
@@ -1,15 +1,3 @@
|
|
||||||
-drive-ide0-0-1
|
|
||||||
-filename : '/var/lib/libvirt/images/relsnap.qcow2'
|
|
||||||
-format node : '#block1290'
|
|
||||||
-format drv : 'qcow2'
|
|
||||||
-storage node: '#block1107'
|
|
||||||
-storage drv : 'file'
|
|
||||||
- filename : '/var/lib/libvirt/images/base.qcow2'
|
|
||||||
- format node : '#block927'
|
|
||||||
- format drv : 'qcow2'
|
|
||||||
- storage node: '#block800'
|
|
||||||
- storage drv : 'file'
|
|
||||||
-
|
|
||||||
drive-ide0-0-0
|
|
||||||
filename : '/var/lib/libvirt/images/img3'
|
|
||||||
format node : '#block118'
|
|
||||||
@@ -31,3 +19,15 @@ storage drv : 'file'
|
|
||||||
format drv : 'qcow2'
|
|
||||||
storage node: '#block614'
|
|
||||||
storage drv : 'file'
|
|
||||||
+
|
|
||||||
+drive-ide0-0-1
|
|
||||||
+filename : '/var/lib/libvirt/images/relsnap.qcow2'
|
|
||||||
+format node : '#block1290'
|
|
||||||
+format drv : 'qcow2'
|
|
||||||
+storage node: '#block1107'
|
|
||||||
+storage drv : 'file'
|
|
||||||
+ filename : '/var/lib/libvirt/images/base.qcow2'
|
|
||||||
+ format node : '#block927'
|
|
||||||
+ format drv : 'qcow2'
|
|
||||||
+ storage node: '#block800'
|
|
||||||
+ storage drv : 'file'
|
|
||||||
Index: libvirt-3.6.0/tests/qemumonitorjsondata/qemumonitorjson-nodename-same-backing.result
|
|
||||||
===================================================================
|
|
||||||
--- libvirt-3.6.0.orig/tests/qemumonitorjsondata/qemumonitorjson-nodename-same-backing.result
|
|
||||||
+++ libvirt-3.6.0/tests/qemumonitorjsondata/qemumonitorjson-nodename-same-backing.result
|
|
||||||
@@ -1,15 +1,3 @@
|
|
||||||
-drive-sata0-0-1
|
|
||||||
-filename : '/var/lib/libvirt/images/b.qcow2'
|
|
||||||
-format node : '#block548'
|
|
||||||
-format drv : 'qcow2'
|
|
||||||
-storage node: '#block487'
|
|
||||||
-storage drv : 'file'
|
|
||||||
- filename : '/var/lib/libvirt/images/base.qcow2'
|
|
||||||
- format node : '#block771'
|
|
||||||
- format drv : 'qcow2'
|
|
||||||
- storage node: '#block692'
|
|
||||||
- storage drv : 'file'
|
|
||||||
-
|
|
||||||
drive-sata0-0-0
|
|
||||||
filename : '/var/lib/libvirt/images/a.qcow2'
|
|
||||||
format node : '#block132'
|
|
||||||
@@ -21,3 +9,15 @@ storage drv : 'file'
|
|
||||||
format drv : 'qcow2'
|
|
||||||
storage node: '#block224'
|
|
||||||
storage drv : 'file'
|
|
||||||
+
|
|
||||||
+drive-sata0-0-1
|
|
||||||
+filename : '/var/lib/libvirt/images/b.qcow2'
|
|
||||||
+format node : '#block548'
|
|
||||||
+format drv : 'qcow2'
|
|
||||||
+storage node: '#block487'
|
|
||||||
+storage drv : 'file'
|
|
||||||
+ filename : '/var/lib/libvirt/images/base.qcow2'
|
|
||||||
+ format node : '#block771'
|
|
||||||
+ format drv : 'qcow2'
|
|
||||||
+ storage node: '#block692'
|
|
||||||
+ storage drv : 'file'
|
|
||||||
Index: libvirt-3.6.0/tests/virdeterministichashmock.c
|
|
||||||
===================================================================
|
|
||||||
--- libvirt-3.6.0.orig/tests/virdeterministichashmock.c
|
|
||||||
+++ libvirt-3.6.0/tests/virdeterministichashmock.c
|
|
||||||
@@ -20,10 +20,19 @@
|
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
|
|
||||||
-#include "virrandom.h"
|
|
||||||
+#include "util/virhashcode.h"
|
|
||||||
|
|
||||||
-uint64_t virRandomBits(int nbits ATTRIBUTE_UNUSED)
|
|
||||||
+uint32_t
|
|
||||||
+virHashCodeGen(const void *key,
|
|
||||||
+ size_t len,
|
|
||||||
+ uint32_t seed ATTRIBUTE_UNUSED)
|
|
||||||
{
|
|
||||||
- return 4; /* chosen by fair dice roll.
|
|
||||||
- guaranteed to be random. */
|
|
||||||
+ const uint8_t *k = key;
|
|
||||||
+ uint32_t h = 0;
|
|
||||||
+ size_t i;
|
|
||||||
+
|
|
||||||
+ for (i = 0; i < len; i++)
|
|
||||||
+ h += k[i];
|
|
||||||
+
|
|
||||||
+ return h;
|
|
||||||
}
|
|
||||||
Index: libvirt-3.6.0/tests/virmacmaptestdata/simple2.json
|
|
||||||
===================================================================
|
|
||||||
--- libvirt-3.6.0.orig/tests/virmacmaptestdata/simple2.json
|
|
||||||
+++ libvirt-3.6.0/tests/virmacmaptestdata/simple2.json
|
|
||||||
@@ -1,16 +1,16 @@
|
|
||||||
[
|
|
||||||
{
|
|
||||||
- "domain": "f25",
|
|
||||||
+ "domain": "f24",
|
|
||||||
"macs": [
|
|
||||||
- "00:11:22:33:44:55",
|
|
||||||
- "aa:bb:cc:00:11:22"
|
|
||||||
+ "aa:bb:cc:dd:ee:ff",
|
|
||||||
+ "a1:b2:c3:d4:e5:f6"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
- "domain": "f24",
|
|
||||||
+ "domain": "f25",
|
|
||||||
"macs": [
|
|
||||||
- "aa:bb:cc:dd:ee:ff",
|
|
||||||
- "a1:b2:c3:d4:e5:f6"
|
|
||||||
+ "00:11:22:33:44:55",
|
|
||||||
+ "aa:bb:cc:00:11:22"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3a2c97f6950796f300f6a2e0404f4de8e51c3b9430cdb82738439adb0ac59e3d
|
|
||||||
size 14797704
|
|
@ -1,10 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQEcBAABAgAGBQJZgTFuAAoJEBVYiyZZa+pdtVgH/AlO4NEMgA8VLeOCrQxDCAqB
|
|
||||||
Bvfx3tw1pm+6suwSAQBUfNIjRcmZzJbXXfmZX20K4pIjUBR3edz30ergxtIM9YXP
|
|
||||||
DJ+oPTl7lE1ibaqE/6lFD16KXZ1pXK4iAvbSske84ANYHjADUVOZDeov5beqs3Ef
|
|
||||||
DPCpN03Y5RPe/lrfY1c3ma3+wq5jFBJp4ERgpsKIuviD2XUFAhyiXyogQDqzyIZ1
|
|
||||||
I54GDZfJWFAof1iTB9f0mqtEEhNPCnBY/veS5GjUHI4EUrs+/TbYINLqfTyttf5l
|
|
||||||
Qyw9QOXvhQzGu0YF2TLvlVLcSfz/ZqeQkACROz4bRi85UvlmcSIVek01Qnr82Hw=
|
|
||||||
=ZqVA
|
|
||||||
-----END PGP SIGNATURE-----
|
|
3
libvirt-3.7.0.tar.xz
Normal file
3
libvirt-3.7.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4e7bcb209eeef99f026484293abc733e30ed06dabcdde62c4c3e95f71b2b67ba
|
||||||
|
size 14803752
|
10
libvirt-3.7.0.tar.xz.asc
Normal file
10
libvirt-3.7.0.tar.xz.asc
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
-----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-----
|
@ -2,10 +2,10 @@ Add POWER8 v2.0 and v2.1 to cpu map XML
|
|||||||
|
|
||||||
From: <ro@suse.de>
|
From: <ro@suse.de>
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/cpu/cpu_map.xml
|
Index: libvirt-3.7.0/src/cpu/cpu_map.xml
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/cpu/cpu_map.xml
|
--- libvirt-3.7.0.orig/src/cpu/cpu_map.xml
|
||||||
+++ libvirt-3.6.0/src/cpu/cpu_map.xml
|
+++ libvirt-3.7.0/src/cpu/cpu_map.xml
|
||||||
@@ -1569,6 +1569,8 @@
|
@@ -1569,6 +1569,8 @@
|
||||||
<pvr value='0x004b0000' mask='0xffff0000'/>
|
<pvr value='0x004b0000' mask='0xffff0000'/>
|
||||||
<pvr value='0x004c0000' mask='0xffff0000'/>
|
<pvr value='0x004c0000' mask='0xffff0000'/>
|
||||||
|
@ -98,7 +98,7 @@ if systemctl is-enabled libvirtd.service 2>&1 > /dev/null; then
|
|||||||
plugin_command "virsh snapshot-list $DOM"
|
plugin_command "virsh snapshot-list $DOM"
|
||||||
echo
|
echo
|
||||||
done
|
done
|
||||||
# dump configuration info of inactive domains od default URI
|
# dump configuration info of inactive domains on default URI
|
||||||
for DOM in $(virsh list --name --inactive)
|
for DOM in $(virsh list --name --inactive)
|
||||||
do
|
do
|
||||||
plugin_command "virsh dumpxml $DOM"
|
plugin_command "virsh dumpxml $DOM"
|
||||||
@ -113,6 +113,11 @@ if systemctl is-enabled libvirtd.service 2>&1 > /dev/null; then
|
|||||||
echo
|
echo
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# dump active networks, interfaces and storage pools
|
||||||
|
plugin_command "virsh net-list"
|
||||||
|
plugin_command "virsh iface-list"
|
||||||
|
plugin_command "virsh pool-list"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# dump libvirtd-related conf files
|
# dump libvirtd-related conf files
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: libvirt-3.6.0/configure.ac
|
Index: libvirt-3.7.0/configure.ac
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/configure.ac
|
--- libvirt-3.7.0.orig/configure.ac
|
||||||
+++ libvirt-3.6.0/configure.ac
|
+++ libvirt-3.7.0/configure.ac
|
||||||
@@ -256,6 +256,7 @@ LIBVIRT_ARG_LIBSSH
|
@@ -256,6 +256,7 @@ LIBVIRT_ARG_LIBSSH
|
||||||
LIBVIRT_ARG_LIBXML
|
LIBVIRT_ARG_LIBXML
|
||||||
LIBVIRT_ARG_MACVTAP
|
LIBVIRT_ARG_MACVTAP
|
||||||
@ -26,11 +26,11 @@ Index: libvirt-3.6.0/configure.ac
|
|||||||
LIBVIRT_RESULT_NSS
|
LIBVIRT_RESULT_NSS
|
||||||
LIBVIRT_RESULT_NUMACTL
|
LIBVIRT_RESULT_NUMACTL
|
||||||
LIBVIRT_RESULT_OPENWSMAN
|
LIBVIRT_RESULT_OPENWSMAN
|
||||||
Index: libvirt-3.6.0/src/Makefile.am
|
Index: libvirt-3.7.0/src/Makefile.am
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/Makefile.am
|
--- libvirt-3.7.0.orig/src/Makefile.am
|
||||||
+++ libvirt-3.6.0/src/Makefile.am
|
+++ libvirt-3.7.0/src/Makefile.am
|
||||||
@@ -1036,6 +1036,10 @@ if WITH_NETCF
|
@@ -1037,6 +1037,10 @@ if WITH_NETCF
|
||||||
INTERFACE_DRIVER_SOURCES += \
|
INTERFACE_DRIVER_SOURCES += \
|
||||||
interface/interface_backend_netcf.c
|
interface/interface_backend_netcf.c
|
||||||
endif WITH_NETCF
|
endif WITH_NETCF
|
||||||
@ -41,7 +41,7 @@ Index: libvirt-3.6.0/src/Makefile.am
|
|||||||
if WITH_UDEV
|
if WITH_UDEV
|
||||||
INTERFACE_DRIVER_SOURCES += \
|
INTERFACE_DRIVER_SOURCES += \
|
||||||
interface/interface_backend_udev.c
|
interface/interface_backend_udev.c
|
||||||
@@ -1648,6 +1652,10 @@ if WITH_NETCF
|
@@ -1649,6 +1653,10 @@ if WITH_NETCF
|
||||||
libvirt_driver_interface_la_CFLAGS += $(NETCF_CFLAGS)
|
libvirt_driver_interface_la_CFLAGS += $(NETCF_CFLAGS)
|
||||||
libvirt_driver_interface_la_LIBADD += $(NETCF_LIBS)
|
libvirt_driver_interface_la_LIBADD += $(NETCF_LIBS)
|
||||||
endif WITH_NETCF
|
endif WITH_NETCF
|
||||||
@ -52,11 +52,11 @@ Index: libvirt-3.6.0/src/Makefile.am
|
|||||||
if WITH_UDEV
|
if WITH_UDEV
|
||||||
libvirt_driver_interface_la_CFLAGS += $(UDEV_CFLAGS)
|
libvirt_driver_interface_la_CFLAGS += $(UDEV_CFLAGS)
|
||||||
libvirt_driver_interface_la_LIBADD += $(UDEV_LIBS)
|
libvirt_driver_interface_la_LIBADD += $(UDEV_LIBS)
|
||||||
Index: libvirt-3.6.0/tools/virsh.c
|
Index: libvirt-3.7.0/tools/virsh.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/tools/virsh.c
|
--- libvirt-3.7.0.orig/tools/virsh.c
|
||||||
+++ libvirt-3.6.0/tools/virsh.c
|
+++ libvirt-3.7.0/tools/virsh.c
|
||||||
@@ -570,6 +570,8 @@ virshShowVersion(vshControl *ctl ATTRIBU
|
@@ -576,6 +576,8 @@ virshShowVersion(vshControl *ctl ATTRIBU
|
||||||
vshPrint(ctl, " Interface");
|
vshPrint(ctl, " Interface");
|
||||||
# if defined(WITH_NETCF)
|
# if defined(WITH_NETCF)
|
||||||
vshPrint(ctl, " netcf");
|
vshPrint(ctl, " netcf");
|
||||||
@ -65,10 +65,10 @@ Index: libvirt-3.6.0/tools/virsh.c
|
|||||||
# elif defined(WITH_UDEV)
|
# elif defined(WITH_UDEV)
|
||||||
vshPrint(ctl, " udev");
|
vshPrint(ctl, " udev");
|
||||||
# endif
|
# endif
|
||||||
Index: libvirt-3.6.0/src/interface/interface_backend_netcf.c
|
Index: libvirt-3.7.0/src/interface/interface_backend_netcf.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/interface/interface_backend_netcf.c
|
--- libvirt-3.7.0.orig/src/interface/interface_backend_netcf.c
|
||||||
+++ libvirt-3.6.0/src/interface/interface_backend_netcf.c
|
+++ libvirt-3.7.0/src/interface/interface_backend_netcf.c
|
||||||
@@ -23,7 +23,12 @@
|
@@ -23,7 +23,12 @@
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
@ -152,10 +152,10 @@ Index: libvirt-3.6.0/src/interface/interface_backend_netcf.c
|
|||||||
if (virSetSharedInterfaceDriver(&interfaceDriver) < 0)
|
if (virSetSharedInterfaceDriver(&interfaceDriver) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
if (virRegisterStateDriver(&interfaceStateDriver) < 0)
|
if (virRegisterStateDriver(&interfaceStateDriver) < 0)
|
||||||
Index: libvirt-3.6.0/src/interface/interface_driver.c
|
Index: libvirt-3.7.0/src/interface/interface_driver.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/interface/interface_driver.c
|
--- libvirt-3.7.0.orig/src/interface/interface_driver.c
|
||||||
+++ libvirt-3.6.0/src/interface/interface_driver.c
|
+++ libvirt-3.7.0/src/interface/interface_driver.c
|
||||||
@@ -30,8 +30,15 @@ interfaceRegister(void)
|
@@ -30,8 +30,15 @@ interfaceRegister(void)
|
||||||
if (netcfIfaceRegister() == 0)
|
if (netcfIfaceRegister() == 0)
|
||||||
return 0;
|
return 0;
|
||||||
@ -173,10 +173,10 @@ Index: libvirt-3.6.0/src/interface/interface_driver.c
|
|||||||
if (udevIfaceRegister() == 0)
|
if (udevIfaceRegister() == 0)
|
||||||
return 0;
|
return 0;
|
||||||
#endif /* WITH_UDEV */
|
#endif /* WITH_UDEV */
|
||||||
Index: libvirt-3.6.0/m4/virt-netcontrol.m4
|
Index: libvirt-3.7.0/m4/virt-netcontrol.m4
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ libvirt-3.6.0/m4/virt-netcontrol.m4
|
+++ libvirt-3.7.0/m4/virt-netcontrol.m4
|
||||||
@@ -0,0 +1,39 @@
|
@@ -0,0 +1,39 @@
|
||||||
+dnl The libnetcontrol library
|
+dnl The libnetcontrol library
|
||||||
+dnl
|
+dnl
|
||||||
|
@ -1,3 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 15 16:20:34 UTC 2017 - jfehlig@suse.com
|
||||||
|
|
||||||
|
- Update to libvirt 3.7.0
|
||||||
|
- Many incremental improvements and bug fixes, see
|
||||||
|
http://libvirt.org/news.html
|
||||||
|
- Dropped patches:
|
||||||
|
8982f3ab-util-hash-header.patch,
|
||||||
|
0b1ecf7b-virHashCodeGen-mockable.patch,
|
||||||
|
f536b0dd-tests-arch-independent-hash.patch,
|
||||||
|
e4cb8500-avoid-malicious-ssh-hostname-as-args.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 1 19:55:30 UTC 2017 - jfehlig@suse.com
|
||||||
|
|
||||||
|
- Support OVMF 4MB firmware images
|
||||||
|
Adjustment to spec file and suse-ovmf-paths.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 31 19:33:01 UTC 2017 - jfehlig@suse.com
|
||||||
|
|
||||||
|
- supportconfig plugin: list active networks, interfaces and
|
||||||
|
storage pools
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 29 22:34:42 UTC 2017 - jfehlig@suse.com
|
Tue Aug 29 22:34:42 UTC 2017 - jfehlig@suse.com
|
||||||
|
|
||||||
|
20
libvirt.spec
20
libvirt.spec
@ -165,7 +165,7 @@
|
|||||||
|
|
||||||
Name: libvirt
|
Name: libvirt
|
||||||
Url: http://libvirt.org/
|
Url: http://libvirt.org/
|
||||||
Version: 3.6.0
|
Version: 3.7.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library providing a simple virtualization API
|
Summary: Library providing a simple virtualization API
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
@ -230,7 +230,6 @@ BuildRequires: perl
|
|||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
BuildRequires: python-xml
|
BuildRequires: python-xml
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
BuildRequires: xhtml-dtd
|
|
||||||
# perl XPath is needed since we have a patch touching files that cause
|
# perl XPath is needed since we have a patch touching files that cause
|
||||||
# hvsupport.html to be regenerated
|
# hvsupport.html to be regenerated
|
||||||
BuildRequires: perl(XML::XPath)
|
BuildRequires: perl(XML::XPath)
|
||||||
@ -305,10 +304,6 @@ Source4: libvirt-supportconfig
|
|||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
Source100: %{name}-rpmlintrc
|
Source100: %{name}-rpmlintrc
|
||||||
# Upstream patches
|
# Upstream patches
|
||||||
Patch0: 8982f3ab-util-hash-header.patch
|
|
||||||
Patch1: 0b1ecf7b-virHashCodeGen-mockable.patch
|
|
||||||
Patch2: f536b0dd-tests-arch-independent-hash.patch
|
|
||||||
Patch3: e4cb8500-avoid-malicious-ssh-hostname-as-args.patch
|
|
||||||
# Patches pending upstream review
|
# Patches pending upstream review
|
||||||
Patch100: libxl-dom-reset.patch
|
Patch100: libxl-dom-reset.patch
|
||||||
Patch101: network-don-t-use-dhcp-authoritative-on-static-netwo.patch
|
Patch101: network-don-t-use-dhcp-authoritative-on-static-netwo.patch
|
||||||
@ -874,10 +869,6 @@ libvirt plugin for NSS for translating domain names into IP addresses.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
%patch3 -p1
|
|
||||||
%patch100 -p1
|
%patch100 -p1
|
||||||
%patch101 -p1
|
%patch101 -p1
|
||||||
%patch150 -p1
|
%patch150 -p1
|
||||||
@ -1015,7 +1006,14 @@ libvirt plugin for NSS for translating domain names into IP addresses.
|
|||||||
# x86_64 UEFI firmwares
|
# x86_64 UEFI firmwares
|
||||||
# To more closely resemble actual hardware, we use the firmwares with
|
# To more closely resemble actual hardware, we use the firmwares with
|
||||||
# embedded Microsoft keys
|
# embedded Microsoft keys
|
||||||
LOADERS="/usr/share/qemu/ovmf-x86_64-ms-code.bin:/usr/share/qemu/ovmf-x86_64-ms-vars.bin"
|
#
|
||||||
|
# The Windows HCK test requires a bigger variable store, so 4MB firmware
|
||||||
|
# images have been introduced. They are advertised first and will be
|
||||||
|
# used by default for new VM installations. The 2MB images are still
|
||||||
|
# available for existing VMs, and can be selected for new installations
|
||||||
|
# as well.
|
||||||
|
LOADERS="/usr/share/qemu/ovmf-x86_64-ms-4m-code.bin:/usr/share/qemu/ovmf-x86_64-ms-4m-vars.bin"
|
||||||
|
LOADERS="$LOADERS:/usr/share/qemu/ovmf-x86_64-ms-code.bin:/usr/share/qemu/ovmf-x86_64-ms-vars.bin"
|
||||||
# aarch64 UEFI firmwares
|
# aarch64 UEFI firmwares
|
||||||
LOADERS="$LOADERS:/usr/share/qemu/aavmf-aarch64-code.bin:/usr/share/qemu/aavmf-aarch64-vars.bin"
|
LOADERS="$LOADERS:/usr/share/qemu/aavmf-aarch64-code.bin:/usr/share/qemu/aavmf-aarch64-vars.bin"
|
||||||
%define arg_loader_nvram --with-loader-nvram="$LOADERS"
|
%define arg_loader_nvram --with-loader-nvram="$LOADERS"
|
||||||
|
@ -8,10 +8,10 @@ Date: Mon Jun 23 15:51:20 2014 -0600
|
|||||||
option, but domainReset can be implemented in the libxl driver by
|
option, but domainReset can be implemented in the libxl driver by
|
||||||
forcibly destroying the domain and starting it again.
|
forcibly destroying the domain and starting it again.
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/libxl/libxl_driver.c
|
Index: libvirt-3.7.0/src/libxl/libxl_driver.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/libxl/libxl_driver.c
|
--- libvirt-3.7.0.orig/src/libxl/libxl_driver.c
|
||||||
+++ libvirt-3.6.0/src/libxl/libxl_driver.c
|
+++ libvirt-3.7.0/src/libxl/libxl_driver.c
|
||||||
@@ -1381,6 +1381,61 @@ libxlDomainReboot(virDomainPtr dom, unsi
|
@@ -1381,6 +1381,61 @@ libxlDomainReboot(virDomainPtr dom, unsi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8,10 +8,10 @@ as the default <emulator>, instead of the qemu-xen one.
|
|||||||
|
|
||||||
See FATE#320638 for details.
|
See FATE#320638 for details.
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/libxl/libxl_capabilities.c
|
Index: libvirt-3.7.0/src/libxl/libxl_capabilities.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/libxl/libxl_capabilities.c
|
--- libvirt-3.7.0.orig/src/libxl/libxl_capabilities.c
|
||||||
+++ libvirt-3.6.0/src/libxl/libxl_capabilities.c
|
+++ libvirt-3.7.0/src/libxl/libxl_capabilities.c
|
||||||
@@ -38,6 +38,7 @@
|
@@ -38,6 +38,7 @@
|
||||||
#include "libxl_capabilities.h"
|
#include "libxl_capabilities.h"
|
||||||
#include "cpu/cpu_x86.h"
|
#include "cpu/cpu_x86.h"
|
||||||
|
@ -3,10 +3,10 @@ https://bugzilla.novell.com/show_bug.cgi?id=879425
|
|||||||
src/libxl/libxl_conf.c | 25 +++++++++++++++++++++++++
|
src/libxl/libxl_conf.c | 25 +++++++++++++++++++++++++
|
||||||
1 file changed, 25 insertions(+)
|
1 file changed, 25 insertions(+)
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/libxl/libxl_conf.c
|
Index: libvirt-3.7.0/src/libxl/libxl_conf.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/libxl/libxl_conf.c
|
--- libvirt-3.7.0.orig/src/libxl/libxl_conf.c
|
||||||
+++ libvirt-3.6.0/src/libxl/libxl_conf.c
|
+++ libvirt-3.7.0/src/libxl/libxl_conf.c
|
||||||
@@ -646,6 +646,30 @@ libxlDiskSetDiscard(libxl_device_disk *x
|
@@ -646,6 +646,30 @@ libxlDiskSetDiscard(libxl_device_disk *x
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -16,10 +16,10 @@ Signed-off-by: Jim Fehlig <jfehlig@suse.com>
|
|||||||
tools/virsh.pod | 8 ++++++++
|
tools/virsh.pod | 8 ++++++++
|
||||||
6 files changed, 125 insertions(+), 6 deletions(-)
|
6 files changed, 125 insertions(+), 6 deletions(-)
|
||||||
|
|
||||||
Index: libvirt-3.6.0/include/libvirt/libvirt-domain.h
|
Index: libvirt-3.7.0/include/libvirt/libvirt-domain.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/include/libvirt/libvirt-domain.h
|
--- libvirt-3.7.0.orig/include/libvirt/libvirt-domain.h
|
||||||
+++ libvirt-3.6.0/include/libvirt/libvirt-domain.h
|
+++ libvirt-3.7.0/include/libvirt/libvirt-domain.h
|
||||||
@@ -1008,6 +1008,31 @@ typedef enum {
|
@@ -1008,6 +1008,31 @@ typedef enum {
|
||||||
*/
|
*/
|
||||||
# define VIR_MIGRATE_PARAM_AUTO_CONVERGE_INCREMENT "auto_converge.increment"
|
# define VIR_MIGRATE_PARAM_AUTO_CONVERGE_INCREMENT "auto_converge.increment"
|
||||||
@ -52,10 +52,10 @@ Index: libvirt-3.6.0/include/libvirt/libvirt-domain.h
|
|||||||
/* Domain migration. */
|
/* Domain migration. */
|
||||||
virDomainPtr virDomainMigrate (virDomainPtr domain, virConnectPtr dconn,
|
virDomainPtr virDomainMigrate (virDomainPtr domain, virConnectPtr dconn,
|
||||||
unsigned long flags, const char *dname,
|
unsigned long flags, const char *dname,
|
||||||
Index: libvirt-3.6.0/src/libxl/libxl_driver.c
|
Index: libvirt-3.7.0/src/libxl/libxl_driver.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/libxl/libxl_driver.c
|
--- libvirt-3.7.0.orig/src/libxl/libxl_driver.c
|
||||||
+++ libvirt-3.6.0/src/libxl/libxl_driver.c
|
+++ libvirt-3.7.0/src/libxl/libxl_driver.c
|
||||||
@@ -6105,6 +6105,9 @@ libxlDomainMigratePerform3Params(virDoma
|
@@ -6105,6 +6105,9 @@ libxlDomainMigratePerform3Params(virDoma
|
||||||
const char *dname = NULL;
|
const char *dname = NULL;
|
||||||
const char *uri = NULL;
|
const char *uri = NULL;
|
||||||
@ -99,10 +99,10 @@ Index: libvirt-3.6.0/src/libxl/libxl_driver.c
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/libxl/libxl_migration.c
|
Index: libvirt-3.7.0/src/libxl/libxl_migration.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/libxl/libxl_migration.c
|
--- libvirt-3.7.0.orig/src/libxl/libxl_migration.c
|
||||||
+++ libvirt-3.6.0/src/libxl/libxl_migration.c
|
+++ libvirt-3.7.0/src/libxl/libxl_migration.c
|
||||||
@@ -359,18 +359,39 @@ libxlMigrateReceive(virNetSocketPtr sock
|
@@ -359,18 +359,39 @@ libxlMigrateReceive(virNetSocketPtr sock
|
||||||
static int
|
static int
|
||||||
libxlDoMigrateSend(libxlDriverPrivatePtr driver,
|
libxlDoMigrateSend(libxlDriverPrivatePtr driver,
|
||||||
@ -263,10 +263,10 @@ Index: libvirt-3.6.0/src/libxl/libxl_migration.c
|
|||||||
virObjectLock(vm);
|
virObjectLock(vm);
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
Index: libvirt-3.6.0/src/libxl/libxl_migration.h
|
Index: libvirt-3.7.0/src/libxl/libxl_migration.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/libxl/libxl_migration.h
|
--- libvirt-3.7.0.orig/src/libxl/libxl_migration.h
|
||||||
+++ libvirt-3.6.0/src/libxl/libxl_migration.h
|
+++ libvirt-3.7.0/src/libxl/libxl_migration.h
|
||||||
@@ -39,6 +39,10 @@
|
@@ -39,6 +39,10 @@
|
||||||
VIR_MIGRATE_PARAM_URI, VIR_TYPED_PARAM_STRING, \
|
VIR_MIGRATE_PARAM_URI, VIR_TYPED_PARAM_STRING, \
|
||||||
VIR_MIGRATE_PARAM_DEST_NAME, VIR_TYPED_PARAM_STRING, \
|
VIR_MIGRATE_PARAM_DEST_NAME, VIR_TYPED_PARAM_STRING, \
|
||||||
@ -311,11 +311,11 @@ Index: libvirt-3.6.0/src/libxl/libxl_migration.h
|
|||||||
|
|
||||||
virDomainPtr
|
virDomainPtr
|
||||||
libxlDomainMigrationFinish(virConnectPtr dconn,
|
libxlDomainMigrationFinish(virConnectPtr dconn,
|
||||||
Index: libvirt-3.6.0/tools/virsh-domain.c
|
Index: libvirt-3.7.0/tools/virsh-domain.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/tools/virsh-domain.c
|
--- libvirt-3.7.0.orig/tools/virsh-domain.c
|
||||||
+++ libvirt-3.6.0/tools/virsh-domain.c
|
+++ libvirt-3.7.0/tools/virsh-domain.c
|
||||||
@@ -10246,6 +10246,22 @@ static const vshCmdOptDef opts_migrate[]
|
@@ -10432,6 +10432,22 @@ static const vshCmdOptDef opts_migrate[]
|
||||||
.type = VSH_OT_BOOL,
|
.type = VSH_OT_BOOL,
|
||||||
.help = N_("use TLS for migration")
|
.help = N_("use TLS for migration")
|
||||||
},
|
},
|
||||||
@ -338,7 +338,7 @@ Index: libvirt-3.6.0/tools/virsh-domain.c
|
|||||||
{.name = NULL}
|
{.name = NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -10269,6 +10285,7 @@ doMigrate(void *opaque)
|
@@ -10455,6 +10471,7 @@ doMigrate(void *opaque)
|
||||||
unsigned long long ullOpt = 0;
|
unsigned long long ullOpt = 0;
|
||||||
int rv;
|
int rv;
|
||||||
virConnectPtr dconn = data->dconn;
|
virConnectPtr dconn = data->dconn;
|
||||||
@ -346,7 +346,7 @@ Index: libvirt-3.6.0/tools/virsh-domain.c
|
|||||||
|
|
||||||
sigemptyset(&sigmask);
|
sigemptyset(&sigmask);
|
||||||
sigaddset(&sigmask, SIGINT);
|
sigaddset(&sigmask, SIGINT);
|
||||||
@@ -10388,6 +10405,27 @@ doMigrate(void *opaque)
|
@@ -10574,6 +10591,27 @@ doMigrate(void *opaque)
|
||||||
goto save_error;
|
goto save_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -374,11 +374,11 @@ Index: libvirt-3.6.0/tools/virsh-domain.c
|
|||||||
if (vshCommandOptStringReq(ctl, cmd, "xml", &opt) < 0)
|
if (vshCommandOptStringReq(ctl, cmd, "xml", &opt) < 0)
|
||||||
goto out;
|
goto out;
|
||||||
if (opt) {
|
if (opt) {
|
||||||
Index: libvirt-3.6.0/tools/virsh.pod
|
Index: libvirt-3.7.0/tools/virsh.pod
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/tools/virsh.pod
|
--- libvirt-3.7.0.orig/tools/virsh.pod
|
||||||
+++ libvirt-3.6.0/tools/virsh.pod
|
+++ libvirt-3.7.0/tools/virsh.pod
|
||||||
@@ -1771,6 +1771,14 @@ Providing I<--tls> causes the migration
|
@@ -1810,6 +1810,14 @@ Providing I<--tls> causes the migration
|
||||||
the migration of the domain. Usage requires proper TLS setup for both source
|
the migration of the domain. Usage requires proper TLS setup for both source
|
||||||
and target.
|
and target.
|
||||||
|
|
||||||
|
@ -7,10 +7,10 @@ and npiv.
|
|||||||
|
|
||||||
For more details, see bsc#954872 and FATE#319810
|
For more details, see bsc#954872 and FATE#319810
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/libxl/libxl_conf.c
|
Index: libvirt-3.7.0/src/libxl/libxl_conf.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/libxl/libxl_conf.c
|
--- libvirt-3.7.0.orig/src/libxl/libxl_conf.c
|
||||||
+++ libvirt-3.6.0/src/libxl/libxl_conf.c
|
+++ libvirt-3.7.0/src/libxl/libxl_conf.c
|
||||||
@@ -646,6 +646,25 @@ libxlDiskSetDiscard(libxl_device_disk *x
|
@@ -646,6 +646,25 @@ libxlDiskSetDiscard(libxl_device_disk *x
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ device with the same name that is being created.
|
|||||||
src/lxc/lxc_process.c | 1 +
|
src/lxc/lxc_process.c | 1 +
|
||||||
3 files changed, 4 insertions(+)
|
3 files changed, 4 insertions(+)
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/lxc/lxc_controller.c
|
Index: libvirt-3.7.0/src/lxc/lxc_controller.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/lxc/lxc_controller.c
|
--- libvirt-3.7.0.orig/src/lxc/lxc_controller.c
|
||||||
+++ libvirt-3.6.0/src/lxc/lxc_controller.c
|
+++ libvirt-3.7.0/src/lxc/lxc_controller.c
|
||||||
@@ -73,6 +73,7 @@
|
@@ -73,6 +73,7 @@
|
||||||
#include "rpc/virnetdaemon.h"
|
#include "rpc/virnetdaemon.h"
|
||||||
#include "virstring.h"
|
#include "virstring.h"
|
||||||
@ -33,10 +33,10 @@ Index: libvirt-3.6.0/src/lxc/lxc_controller.c
|
|||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
Index: libvirt-3.6.0/src/lxc/lxc_driver.c
|
Index: libvirt-3.7.0/src/lxc/lxc_driver.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/lxc/lxc_driver.c
|
--- libvirt-3.7.0.orig/src/lxc/lxc_driver.c
|
||||||
+++ libvirt-3.6.0/src/lxc/lxc_driver.c
|
+++ libvirt-3.7.0/src/lxc/lxc_driver.c
|
||||||
@@ -76,6 +76,7 @@
|
@@ -76,6 +76,7 @@
|
||||||
#include "virtime.h"
|
#include "virtime.h"
|
||||||
#include "virtypedparam.h"
|
#include "virtypedparam.h"
|
||||||
@ -61,10 +61,10 @@ Index: libvirt-3.6.0/src/lxc/lxc_driver.c
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
/* It'd be nice to support this, but with macvlan
|
/* It'd be nice to support this, but with macvlan
|
||||||
Index: libvirt-3.6.0/src/lxc/lxc_process.c
|
Index: libvirt-3.7.0/src/lxc/lxc_process.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/lxc/lxc_process.c
|
--- libvirt-3.7.0.orig/src/lxc/lxc_process.c
|
||||||
+++ libvirt-3.6.0/src/lxc/lxc_process.c
|
+++ libvirt-3.7.0/src/lxc/lxc_process.c
|
||||||
@@ -52,6 +52,7 @@
|
@@ -52,6 +52,7 @@
|
||||||
#include "viratomic.h"
|
#include "viratomic.h"
|
||||||
#include "virprocess.h"
|
#include "virprocess.h"
|
||||||
|
@ -17,11 +17,11 @@ Signed-off-by: Martin Wilck <mwilck@suse.com>
|
|||||||
tests/networkxml2confdata/dhcp6host-routed-network.conf | 1 -
|
tests/networkxml2confdata/dhcp6host-routed-network.conf | 1 -
|
||||||
2 files changed, 8 insertions(+), 2 deletions(-)
|
2 files changed, 8 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/network/bridge_driver.c
|
Index: libvirt-3.7.0/src/network/bridge_driver.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/network/bridge_driver.c
|
--- libvirt-3.7.0.orig/src/network/bridge_driver.c
|
||||||
+++ libvirt-3.6.0/src/network/bridge_driver.c
|
+++ libvirt-3.7.0/src/network/bridge_driver.c
|
||||||
@@ -1454,7 +1454,14 @@ networkDnsmasqConfContents(virNetworkObj
|
@@ -1393,7 +1393,14 @@ networkDnsmasqConfContents(virNetworkObj
|
||||||
if (VIR_SOCKET_ADDR_IS_FAMILY(&ipdef->address, AF_INET)) {
|
if (VIR_SOCKET_ADDR_IS_FAMILY(&ipdef->address, AF_INET)) {
|
||||||
if (ipdef->nranges || ipdef->nhosts) {
|
if (ipdef->nranges || ipdef->nhosts) {
|
||||||
virBufferAddLit(&configbuf, "dhcp-no-override\n");
|
virBufferAddLit(&configbuf, "dhcp-no-override\n");
|
||||||
@ -37,10 +37,10 @@ Index: libvirt-3.6.0/src/network/bridge_driver.c
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ipdef->tftproot) {
|
if (ipdef->tftproot) {
|
||||||
Index: libvirt-3.6.0/tests/networkxml2confdata/dhcp6host-routed-network.conf
|
Index: libvirt-3.7.0/tests/networkxml2confdata/dhcp6host-routed-network.conf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/tests/networkxml2confdata/dhcp6host-routed-network.conf
|
--- libvirt-3.7.0.orig/tests/networkxml2confdata/dhcp6host-routed-network.conf
|
||||||
+++ libvirt-3.6.0/tests/networkxml2confdata/dhcp6host-routed-network.conf
|
+++ libvirt-3.7.0/tests/networkxml2confdata/dhcp6host-routed-network.conf
|
||||||
@@ -10,7 +10,6 @@ bind-dynamic
|
@@ -10,7 +10,6 @@ bind-dynamic
|
||||||
interface=virbr1
|
interface=virbr1
|
||||||
dhcp-range=192.168.122.1,static
|
dhcp-range=192.168.122.1,static
|
||||||
|
@ -2,10 +2,10 @@ Canonicalize hostarch name ppc64le to ppc64
|
|||||||
|
|
||||||
See bnc#894956
|
See bnc#894956
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/util/virarch.c
|
Index: libvirt-3.7.0/src/util/virarch.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/util/virarch.c
|
--- libvirt-3.7.0.orig/src/util/virarch.c
|
||||||
+++ libvirt-3.6.0/src/util/virarch.c
|
+++ libvirt-3.7.0/src/util/virarch.c
|
||||||
@@ -169,6 +169,8 @@ virArch virArchFromHost(void)
|
@@ -169,6 +169,8 @@ virArch virArchFromHost(void)
|
||||||
arch = VIR_ARCH_I686;
|
arch = VIR_ARCH_I686;
|
||||||
} else if (STREQ(ut.machine, "amd64")) {
|
} else if (STREQ(ut.machine, "amd64")) {
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
Index: libvirt-3.6.0/examples/apparmor/libvirt-qemu
|
Index: libvirt-3.7.0/examples/apparmor/libvirt-qemu
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/examples/apparmor/libvirt-qemu
|
--- libvirt-3.7.0.orig/examples/apparmor/libvirt-qemu
|
||||||
+++ libvirt-3.6.0/examples/apparmor/libvirt-qemu
|
+++ libvirt-3.7.0/examples/apparmor/libvirt-qemu
|
||||||
@@ -172,3 +172,6 @@
|
@@ -178,3 +178,6 @@
|
||||||
@{PROC}/device-tree/ r,
|
/sys/devices/system/node/ r,
|
||||||
@{PROC}/device-tree/** r,
|
/sys/devices/system/node/node[0-9]*/meminfo r,
|
||||||
/sys/firmware/devicetree/** r,
|
/sys/module/vhost/parameters/max_mem_regions r,
|
||||||
+
|
+
|
||||||
+ # Temporary screendump rule -- See bsc#904426
|
+ # Temporary screendump rule -- See bsc#904426
|
||||||
+ /var/cache/libvirt/qemu/qemu.screendump.* rw,
|
+ /var/cache/libvirt/qemu/qemu.screendump.* rw,
|
||||||
|
@ -8,10 +8,10 @@ Subject: [PATCH] support managed pci devices in xen driver
|
|||||||
src/xenxs/xen_xm.c | 28 +++++++++++++++++++++++++++-
|
src/xenxs/xen_xm.c | 28 +++++++++++++++++++++++++++-
|
||||||
2 files changed, 35 insertions(+), 15 deletions(-)
|
2 files changed, 35 insertions(+), 15 deletions(-)
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/xenconfig/xen_common.c
|
Index: libvirt-3.7.0/src/xenconfig/xen_common.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/xenconfig/xen_common.c
|
--- libvirt-3.7.0.orig/src/xenconfig/xen_common.c
|
||||||
+++ libvirt-3.6.0/src/xenconfig/xen_common.c
|
+++ libvirt-3.7.0/src/xenconfig/xen_common.c
|
||||||
@@ -394,6 +394,8 @@ xenParsePCI(virConfPtr conf, virDomainDe
|
@@ -394,6 +394,8 @@ xenParsePCI(virConfPtr conf, virDomainDe
|
||||||
{
|
{
|
||||||
virConfValuePtr list = virConfGetValue(conf, "pci");
|
virConfValuePtr list = virConfGetValue(conf, "pci");
|
||||||
@ -66,10 +66,10 @@ Index: libvirt-3.6.0/src/xenconfig/xen_common.c
|
|||||||
hostdev->source.subsys.type = VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_PCI;
|
hostdev->source.subsys.type = VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_PCI;
|
||||||
hostdev->source.subsys.u.pci.addr.domain = domainID;
|
hostdev->source.subsys.u.pci.addr.domain = domainID;
|
||||||
hostdev->source.subsys.u.pci.addr.bus = busID;
|
hostdev->source.subsys.u.pci.addr.bus = busID;
|
||||||
Index: libvirt-3.6.0/src/xenconfig/xen_sxpr.c
|
Index: libvirt-3.7.0/src/xenconfig/xen_sxpr.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/xenconfig/xen_sxpr.c
|
--- libvirt-3.7.0.orig/src/xenconfig/xen_sxpr.c
|
||||||
+++ libvirt-3.6.0/src/xenconfig/xen_sxpr.c
|
+++ libvirt-3.7.0/src/xenconfig/xen_sxpr.c
|
||||||
@@ -1062,6 +1062,7 @@ xenParseSxprPCI(virDomainDefPtr def,
|
@@ -1062,6 +1062,7 @@ xenParseSxprPCI(virDomainDefPtr def,
|
||||||
int busID;
|
int busID;
|
||||||
int slotID;
|
int slotID;
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
Adjust libvirt-guests service to conform to SUSE standards
|
Adjust libvirt-guests service to conform to SUSE standards
|
||||||
|
|
||||||
Index: libvirt-3.6.0/tools/libvirt-guests.init.in
|
Index: libvirt-3.7.0/tools/libvirt-guests.init.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/tools/libvirt-guests.init.in
|
--- libvirt-3.7.0.orig/tools/libvirt-guests.init.in
|
||||||
+++ libvirt-3.6.0/tools/libvirt-guests.init.in
|
+++ libvirt-3.7.0/tools/libvirt-guests.init.in
|
||||||
@@ -4,27 +4,27 @@
|
@@ -4,27 +4,27 @@
|
||||||
# http://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html
|
# http://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html
|
||||||
#
|
#
|
||||||
@ -45,10 +45,10 @@ Index: libvirt-3.6.0/tools/libvirt-guests.init.in
|
|||||||
#
|
#
|
||||||
|
|
||||||
exec @libexecdir@/libvirt-guests.sh "$@"
|
exec @libexecdir@/libvirt-guests.sh "$@"
|
||||||
Index: libvirt-3.6.0/tools/libvirt-guests.sh.in
|
Index: libvirt-3.7.0/tools/libvirt-guests.sh.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/tools/libvirt-guests.sh.in
|
--- libvirt-3.7.0.orig/tools/libvirt-guests.sh.in
|
||||||
+++ libvirt-3.6.0/tools/libvirt-guests.sh.in
|
+++ libvirt-3.7.0/tools/libvirt-guests.sh.in
|
||||||
@@ -16,14 +16,13 @@
|
@@ -16,14 +16,13 @@
|
||||||
# License along with this library. If not, see
|
# License along with this library. If not, see
|
||||||
# <http://www.gnu.org/licenses/>.
|
# <http://www.gnu.org/licenses/>.
|
||||||
@ -208,10 +208,10 @@ Index: libvirt-3.6.0/tools/libvirt-guests.sh.in
|
|||||||
esac
|
esac
|
||||||
-exit $RETVAL
|
-exit $RETVAL
|
||||||
+rc_exit
|
+rc_exit
|
||||||
Index: libvirt-3.6.0/tools/libvirt-guests.sysconf
|
Index: libvirt-3.7.0/tools/libvirt-guests.sysconf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/tools/libvirt-guests.sysconf
|
--- libvirt-3.7.0.orig/tools/libvirt-guests.sysconf
|
||||||
+++ libvirt-3.6.0/tools/libvirt-guests.sysconf
|
+++ libvirt-3.7.0/tools/libvirt-guests.sysconf
|
||||||
@@ -1,19 +1,29 @@
|
@@ -1,19 +1,29 @@
|
||||||
+## Path: System/Virtualization/libvirt-guests
|
+## Path: System/Virtualization/libvirt-guests
|
||||||
+
|
+
|
||||||
@ -245,7 +245,7 @@ Index: libvirt-3.6.0/tools/libvirt-guests.sysconf
|
|||||||
# action taken on host shutdown
|
# action taken on host shutdown
|
||||||
# - suspend all running guests are suspended using virsh managedsave
|
# - suspend all running guests are suspended using virsh managedsave
|
||||||
# - shutdown all running guests are asked to shutdown. Please be careful with
|
# - shutdown all running guests are asked to shutdown. Please be careful with
|
||||||
@@ -22,12 +32,16 @@
|
@@ -22,14 +32,18 @@
|
||||||
# which just needs a long time to shutdown. When setting
|
# which just needs a long time to shutdown. When setting
|
||||||
# ON_SHUTDOWN=shutdown, you must also set SHUTDOWN_TIMEOUT to a
|
# ON_SHUTDOWN=shutdown, you must also set SHUTDOWN_TIMEOUT to a
|
||||||
# value suitable for your guests.
|
# value suitable for your guests.
|
||||||
@ -254,8 +254,10 @@ Index: libvirt-3.6.0/tools/libvirt-guests.sysconf
|
|||||||
|
|
||||||
+## Type: integer
|
+## Type: integer
|
||||||
+## Default: 0
|
+## Default: 0
|
||||||
# If set to non-zero, shutdown will suspend guests concurrently. Number of
|
# Number of guests will be shutdown concurrently, taking effect when
|
||||||
# guests on shutdown at any time will not exceed number set in this variable.
|
# "ON_SHUTDOWN" is set to "shutdown". If Set to 0, guests will be shutdown one
|
||||||
|
# after another. Number of guests on shutdown at any time will not exceed number
|
||||||
|
# set in this variable.
|
||||||
-#PARALLEL_SHUTDOWN=0
|
-#PARALLEL_SHUTDOWN=0
|
||||||
+PARALLEL_SHUTDOWN=0
|
+PARALLEL_SHUTDOWN=0
|
||||||
|
|
||||||
@ -264,7 +266,7 @@ Index: libvirt-3.6.0/tools/libvirt-guests.sysconf
|
|||||||
# Number of seconds we're willing to wait for a guest to shut down. If parallel
|
# Number of seconds we're willing to wait for a guest to shut down. If parallel
|
||||||
# shutdown is enabled, this timeout applies as a timeout for shutting down all
|
# shutdown is enabled, this timeout applies as a timeout for shutting down all
|
||||||
# guests on a single URI defined in the variable URIS. If this is 0, then there
|
# guests on a single URI defined in the variable URIS. If this is 0, then there
|
||||||
@@ -35,14 +49,18 @@
|
@@ -37,14 +51,18 @@
|
||||||
# request). The default value is 300 seconds (5 minutes).
|
# request). The default value is 300 seconds (5 minutes).
|
||||||
#SHUTDOWN_TIMEOUT=300
|
#SHUTDOWN_TIMEOUT=300
|
||||||
|
|
||||||
|
@ -3,10 +3,10 @@ Disable TLS by default
|
|||||||
On SUSE distros, the default is for libvirtd to listen only on the
|
On SUSE distros, the default is for libvirtd to listen only on the
|
||||||
Unix Domain Socket. The libvirt client still provides remote access
|
Unix Domain Socket. The libvirt client still provides remote access
|
||||||
via a SSH tunnel.
|
via a SSH tunnel.
|
||||||
Index: libvirt-3.6.0/daemon/libvirtd.conf
|
Index: libvirt-3.7.0/daemon/libvirtd.conf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/daemon/libvirtd.conf
|
--- libvirt-3.7.0.orig/daemon/libvirtd.conf
|
||||||
+++ libvirt-3.6.0/daemon/libvirtd.conf
|
+++ libvirt-3.7.0/daemon/libvirtd.conf
|
||||||
@@ -18,8 +18,8 @@
|
@@ -18,8 +18,8 @@
|
||||||
# It is necessary to setup a CA and issue server certificates before
|
# It is necessary to setup a CA and issue server certificates before
|
||||||
# using this capability.
|
# using this capability.
|
||||||
@ -18,10 +18,10 @@ Index: libvirt-3.6.0/daemon/libvirtd.conf
|
|||||||
|
|
||||||
# Listen for unencrypted TCP connections on the public TCP/IP port.
|
# Listen for unencrypted TCP connections on the public TCP/IP port.
|
||||||
# NB, must pass the --listen flag to the libvirtd process for this to
|
# NB, must pass the --listen flag to the libvirtd process for this to
|
||||||
Index: libvirt-3.6.0/daemon/libvirtd-config.c
|
Index: libvirt-3.7.0/daemon/libvirtd-config.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/daemon/libvirtd-config.c
|
--- libvirt-3.7.0.orig/daemon/libvirtd-config.c
|
||||||
+++ libvirt-3.6.0/daemon/libvirtd-config.c
|
+++ libvirt-3.7.0/daemon/libvirtd-config.c
|
||||||
@@ -110,7 +110,7 @@ daemonConfigNew(bool privileged ATTRIBUT
|
@@ -110,7 +110,7 @@ daemonConfigNew(bool privileged ATTRIBUT
|
||||||
if (VIR_ALLOC(data) < 0)
|
if (VIR_ALLOC(data) < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -31,10 +31,10 @@ Index: libvirt-3.6.0/daemon/libvirtd-config.c
|
|||||||
data->listen_tcp = 0;
|
data->listen_tcp = 0;
|
||||||
|
|
||||||
if (VIR_STRDUP(data->tls_port, LIBVIRTD_TLS_PORT) < 0 ||
|
if (VIR_STRDUP(data->tls_port, LIBVIRTD_TLS_PORT) < 0 ||
|
||||||
Index: libvirt-3.6.0/daemon/test_libvirtd.aug.in
|
Index: libvirt-3.7.0/daemon/test_libvirtd.aug.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/daemon/test_libvirtd.aug.in
|
--- libvirt-3.7.0.orig/daemon/test_libvirtd.aug.in
|
||||||
+++ libvirt-3.6.0/daemon/test_libvirtd.aug.in
|
+++ libvirt-3.7.0/daemon/test_libvirtd.aug.in
|
||||||
@@ -2,7 +2,7 @@ module Test_libvirtd =
|
@@ -2,7 +2,7 @@ module Test_libvirtd =
|
||||||
::CONFIG::
|
::CONFIG::
|
||||||
|
|
||||||
|
@ -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
|
tools. If a user installs libvirt on their SUSE Xen host, then
|
||||||
libvirt should be king and override xendomains. See bsc#1015348
|
libvirt should be king and override xendomains. See bsc#1015348
|
||||||
|
|
||||||
Index: libvirt-3.6.0/daemon/libvirtd.service.in
|
Index: libvirt-3.7.0/daemon/libvirtd.service.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/daemon/libvirtd.service.in
|
--- libvirt-3.7.0.orig/daemon/libvirtd.service.in
|
||||||
+++ libvirt-3.6.0/daemon/libvirtd.service.in
|
+++ libvirt-3.7.0/daemon/libvirtd.service.in
|
||||||
@@ -14,6 +14,8 @@ After=iscsid.service
|
@@ -14,6 +14,8 @@ After=iscsid.service
|
||||||
After=apparmor.service
|
After=apparmor.service
|
||||||
After=local-fs.target
|
After=local-fs.target
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
Adjust libvirtd sysconfig file to conform to SUSE standards
|
Adjust libvirtd sysconfig file to conform to SUSE standards
|
||||||
|
|
||||||
Index: libvirt-3.6.0/daemon/libvirtd.sysconf
|
Index: libvirt-3.7.0/daemon/libvirtd.sysconf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/daemon/libvirtd.sysconf
|
--- libvirt-3.7.0.orig/daemon/libvirtd.sysconf
|
||||||
+++ libvirt-3.6.0/daemon/libvirtd.sysconf
|
+++ libvirt-3.7.0/daemon/libvirtd.sysconf
|
||||||
@@ -1,16 +1,25 @@
|
@@ -1,16 +1,25 @@
|
||||||
+## Path: System/Virtualization/libvirt
|
+## Path: System/Virtualization/libvirt
|
||||||
+
|
+
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
Adjust paths of OVMF firmwares on SUSE distros
|
Adjust paths of OVMF firmwares on SUSE distros
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/qemu/qemu.conf
|
Index: libvirt-3.7.0/src/qemu/qemu.conf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/qemu/qemu.conf
|
--- libvirt-3.7.0.orig/src/qemu/qemu.conf
|
||||||
+++ libvirt-3.6.0/src/qemu/qemu.conf
|
+++ libvirt-3.7.0/src/qemu/qemu.conf
|
||||||
@@ -695,10 +695,8 @@ security_default_confined = 0
|
@@ -703,10 +703,9 @@ security_default_confined = 0
|
||||||
# for x86_64 and i686, but it's AAVMF for aarch64. The libvirt default
|
# for x86_64 and i686, but it's AAVMF for aarch64. The libvirt default
|
||||||
# follows this scheme.
|
# follows this scheme.
|
||||||
#nvram = [
|
#nvram = [
|
||||||
@ -12,16 +12,17 @@ Index: libvirt-3.6.0/src/qemu/qemu.conf
|
|||||||
-# "/usr/share/OVMF/OVMF_CODE.secboot.fd:/usr/share/OVMF/OVMF_VARS.fd",
|
-# "/usr/share/OVMF/OVMF_CODE.secboot.fd:/usr/share/OVMF/OVMF_VARS.fd",
|
||||||
-# "/usr/share/AAVMF/AAVMF_CODE.fd:/usr/share/AAVMF/AAVMF_VARS.fd",
|
-# "/usr/share/AAVMF/AAVMF_CODE.fd:/usr/share/AAVMF/AAVMF_VARS.fd",
|
||||||
-# "/usr/share/AAVMF/AAVMF32_CODE.fd:/usr/share/AAVMF/AAVMF32_VARS.fd"
|
-# "/usr/share/AAVMF/AAVMF32_CODE.fd:/usr/share/AAVMF/AAVMF32_VARS.fd"
|
||||||
|
+# "/usr/share/qemu/ovmf-x86_64-ms-4m-code.bin:/usr/share/qemu/ovmf-x86_64-ms-4m-vars.bin",
|
||||||
+# "/usr/share/qemu/ovmf-x86_64-ms-code.bin:/usr/share/qemu/ovmf-x86_64-ms-vars.bin",
|
+# "/usr/share/qemu/ovmf-x86_64-ms-code.bin:/usr/share/qemu/ovmf-x86_64-ms-vars.bin",
|
||||||
+# "/usr/share/qemu/aavmf-aarch64-code.bin:/usr/share/qemu/aavmf-aarch64-vars.bin"
|
+# "/usr/share/qemu/aavmf-aarch64-code.bin:/usr/share/qemu/aavmf-aarch64-vars.bin"
|
||||||
#]
|
#]
|
||||||
|
|
||||||
# The backend to use for handling stdout/stderr output from
|
# The backend to use for handling stdout/stderr output from
|
||||||
Index: libvirt-3.6.0/src/qemu/qemu_conf.c
|
Index: libvirt-3.7.0/src/qemu/qemu_conf.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/qemu/qemu_conf.c
|
--- libvirt-3.7.0.orig/src/qemu/qemu_conf.c
|
||||||
+++ libvirt-3.6.0/src/qemu/qemu_conf.c
|
+++ libvirt-3.7.0/src/qemu/qemu_conf.c
|
||||||
@@ -127,10 +127,8 @@ void qemuDomainCmdlineDefFree(qemuDomain
|
@@ -127,10 +127,9 @@ void qemuDomainCmdlineDefFree(qemuDomain
|
||||||
|
|
||||||
#ifndef DEFAULT_LOADER_NVRAM
|
#ifndef DEFAULT_LOADER_NVRAM
|
||||||
# define DEFAULT_LOADER_NVRAM \
|
# define DEFAULT_LOADER_NVRAM \
|
||||||
@ -29,6 +30,7 @@ Index: libvirt-3.6.0/src/qemu/qemu_conf.c
|
|||||||
- "/usr/share/OVMF/OVMF_CODE.secboot.fd:/usr/share/OVMF/OVMF_VARS.fd:" \
|
- "/usr/share/OVMF/OVMF_CODE.secboot.fd:/usr/share/OVMF/OVMF_VARS.fd:" \
|
||||||
- "/usr/share/AAVMF/AAVMF_CODE.fd:/usr/share/AAVMF/AAVMF_VARS.fd:" \
|
- "/usr/share/AAVMF/AAVMF_CODE.fd:/usr/share/AAVMF/AAVMF_VARS.fd:" \
|
||||||
- "/usr/share/AAVMF/AAVMF32_CODE.fd:/usr/share/AAVMF/AAVMF32_VARS.fd"
|
- "/usr/share/AAVMF/AAVMF32_CODE.fd:/usr/share/AAVMF/AAVMF32_VARS.fd"
|
||||||
|
+ "/usr/share/qemu/ovmf-x86_64-ms-4m-code.bin:/usr/share/qemu/ovmf-x86_64-ms-4m-vars.bin:" \
|
||||||
+ "/usr/share/qemu/ovmf-x86_64-ms-code.bin:/usr/share/qemu/ovmf-x86_64-ms-vars.bin:" \
|
+ "/usr/share/qemu/ovmf-x86_64-ms-code.bin:/usr/share/qemu/ovmf-x86_64-ms-vars.bin:" \
|
||||||
+ "/usr/share/qemu/aavmf-aarch64-code.bin:/usr/share/qemu/aavmf-aarch64-vars.bin"
|
+ "/usr/share/qemu/aavmf-aarch64-code.bin:/usr/share/qemu/aavmf-aarch64-vars.bin"
|
||||||
#endif
|
#endif
|
||||||
|
@ -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
|
etc.), but for now they are all lumped together in this
|
||||||
single patch.
|
single patch.
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/qemu/qemu.conf
|
Index: libvirt-3.7.0/src/qemu/qemu.conf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/qemu/qemu.conf
|
--- libvirt-3.7.0.orig/src/qemu/qemu.conf
|
||||||
+++ libvirt-3.6.0/src/qemu/qemu.conf
|
+++ libvirt-3.7.0/src/qemu/qemu.conf
|
||||||
@@ -332,11 +332,20 @@
|
@@ -340,11 +340,20 @@
|
||||||
# isolation, but it cannot appear in a list of drivers.
|
# isolation, but it cannot appear in a list of drivers.
|
||||||
#
|
#
|
||||||
#security_driver = "selinux"
|
#security_driver = "selinux"
|
||||||
@ -34,7 +34,7 @@ Index: libvirt-3.6.0/src/qemu/qemu.conf
|
|||||||
|
|
||||||
# If set to non-zero, then attempts to create unconfined
|
# If set to non-zero, then attempts to create unconfined
|
||||||
# guests will be blocked. Defaults to 0.
|
# guests will be blocked. Defaults to 0.
|
||||||
@@ -580,11 +589,22 @@
|
@@ -588,11 +597,22 @@
|
||||||
#allow_disk_format_probing = 1
|
#allow_disk_format_probing = 1
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
Adjust virtlockd sysconfig file to conform to SUSE standards
|
Adjust virtlockd sysconfig file to conform to SUSE standards
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/locking/virtlockd.sysconf
|
Index: libvirt-3.7.0/src/locking/virtlockd.sysconf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/locking/virtlockd.sysconf
|
--- libvirt-3.7.0.orig/src/locking/virtlockd.sysconf
|
||||||
+++ libvirt-3.6.0/src/locking/virtlockd.sysconf
|
+++ libvirt-3.7.0/src/locking/virtlockd.sysconf
|
||||||
@@ -1,3 +1,7 @@
|
@@ -1,3 +1,7 @@
|
||||||
+## Path: System/Virtualization/virtlockd
|
+## Path: System/Virtualization/virtlockd
|
||||||
+
|
+
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
Adjust virtlogd sysconfig file to conform to SUSE standards
|
Adjust virtlogd sysconfig file to conform to SUSE standards
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/logging/virtlogd.sysconf
|
Index: libvirt-3.7.0/src/logging/virtlogd.sysconf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/logging/virtlogd.sysconf
|
--- libvirt-3.7.0.orig/src/logging/virtlogd.sysconf
|
||||||
+++ libvirt-3.6.0/src/logging/virtlogd.sysconf
|
+++ libvirt-3.7.0/src/logging/virtlogd.sysconf
|
||||||
@@ -1,3 +1,7 @@
|
@@ -1,3 +1,7 @@
|
||||||
+## Path: System/Virtualization/virtlogd
|
+## Path: System/Virtualization/virtlogd
|
||||||
+
|
+
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: libvirt-3.6.0/src/xenconfig/xen_sxpr.c
|
Index: libvirt-3.7.0/src/xenconfig/xen_sxpr.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/xenconfig/xen_sxpr.c
|
--- libvirt-3.7.0.orig/src/xenconfig/xen_sxpr.c
|
||||||
+++ libvirt-3.6.0/src/xenconfig/xen_sxpr.c
|
+++ libvirt-3.7.0/src/xenconfig/xen_sxpr.c
|
||||||
@@ -392,7 +392,7 @@ xenParseSxprVifRate(const char *rate, un
|
@@ -392,7 +392,7 @@ xenParseSxprVifRate(const char *rate, un
|
||||||
static int
|
static int
|
||||||
xenParseSxprDisks(virDomainDefPtr def,
|
xenParseSxprDisks(virDomainDefPtr def,
|
||||||
|
@ -6,10 +6,10 @@ and 'file'. This was implicitly done prior to commit 9673418c.
|
|||||||
|
|
||||||
https://bugzilla.suse.com/show_bug.cgi?id=938228
|
https://bugzilla.suse.com/show_bug.cgi?id=938228
|
||||||
|
|
||||||
Index: libvirt-3.6.0/src/xenconfig/xen_sxpr.c
|
Index: libvirt-3.7.0/src/xenconfig/xen_sxpr.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-3.6.0.orig/src/xenconfig/xen_sxpr.c
|
--- libvirt-3.7.0.orig/src/xenconfig/xen_sxpr.c
|
||||||
+++ libvirt-3.6.0/src/xenconfig/xen_sxpr.c
|
+++ libvirt-3.7.0/src/xenconfig/xen_sxpr.c
|
||||||
@@ -506,10 +506,11 @@ xenParseSxprDisks(virDomainDefPtr def,
|
@@ -506,10 +506,11 @@ xenParseSxprDisks(virDomainDefPtr def,
|
||||||
omnipotent, we can revisit this, perhaps stat()'ing
|
omnipotent, we can revisit this, perhaps stat()'ing
|
||||||
the src file in question */
|
the src file in question */
|
||||||
|
Loading…
Reference in New Issue
Block a user