Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Eric Sandall (8269311ba94a64823c6f06c88d249c67b7fa6682)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Eric Sandall (8269311ba94a64823c6f06c88d249c67b7fa6682)
  • Date: Tue, 12 Jun 2018 02:57:17 +0000

GIT changes to master grimoire by Eric Sandall <sandalle AT sourcemage.org>:

libs/libvirt/BUILD | 1 -
libs/libvirt/DETAILS | 1 +
libs/libvirt/HISTORY | 7 +++++++
libs/libvirt/INSTALL | 4 +++-
libs/libvirt/init.d/virtlogd | 10 ++++++++++
libs/libvirt/udev.rules.d/65-kvm.rules | 2 ++
6 files changed, 23 insertions(+), 2 deletions(-)

New commits:
commit 8269311ba94a64823c6f06c88d249c67b7fa6682
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

libvirt: PATCHLEVEL++

No longer force disable macvtap
Install udev.rules.d/65-kvm.rules
init.d/virtlogd: Add virtlog daemon
udev.rules.d/65-kvm.rules: Add libvirt group to use /dev/kvm for QEMU

diff --git a/libs/libvirt/BUILD b/libs/libvirt/BUILD
index 29d4069..2771a88 100755
--- a/libs/libvirt/BUILD
+++ b/libs/libvirt/BUILD
@@ -1,6 +1,5 @@
OPTS="$LIBVIRT_REMOTE \
$LIBVIRT_LIBVIRTD \
- --without-macvtap \
$OPTS" &&

default_build
diff --git a/libs/libvirt/DETAILS b/libs/libvirt/DETAILS
index c873ec6..bc2458a 100755
--- a/libs/libvirt/DETAILS
+++ b/libs/libvirt/DETAILS
@@ -1,5 +1,6 @@
SPELL=libvirt
VERSION=4.4.0
+ PATCHLEVEL=1
SOURCE=$SPELL-$VERSION.tar.xz

SOURCE_HASH=sha512:725b9b093a2aaeab6fdcb8df341a400ab363bcd50af8400dfd0593c41d8fbc8352f89147be9fbfde2e8418cc7298e090fe07ec7255b0aff1f0d001b93322f93f
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
diff --git a/libs/libvirt/HISTORY b/libs/libvirt/HISTORY
index 2ed4203..114bc8e 100644
--- a/libs/libvirt/HISTORY
+++ b/libs/libvirt/HISTORY
@@ -1,3 +1,10 @@
+2018-06-11 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: PATCHLEVEL++
+ * BUILD: No longer force disable macvtap
+ * INSTALL: Install udev.rules.d/65-kvm.rules
+ * init.d/virtlogd: Add virtlog daemon
+ * udev.rules.d/65-kvm.rules: Add libvirt group to use /dev/kvm for
QEMU
+
2018-06-10 Eric Sandall <sandalle AT sourcemage.org>
* DETAILS: Updated to 4.4.0
SOURCE uses .xz, https://
diff --git a/libs/libvirt/INSTALL b/libs/libvirt/INSTALL
index 637c8bd..72ee90f 100755
--- a/libs/libvirt/INSTALL
+++ b/libs/libvirt/INSTALL
@@ -1,2 +1,4 @@
create_group libvirt &&
-default_install
+default_install &&
+install -o root -g root -m 0644
"${SCRIPT_DIRECTORY}/udev.rules.d/65-kvm.rules" \
+ "${INSTALL_ROOT}"/etc/udev/rules.d/65-kvm.rules
diff --git a/libs/libvirt/init.d/virtlogd b/libs/libvirt/init.d/virtlogd
new file mode 100644
index 0000000..8506493
--- /dev/null
+++ b/libs/libvirt/init.d/virtlogd
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+PIDFILE=/var/run/virtlogd.pid
+PROGRAM=/usr/sbin/virtlogd
+ARGS="-d $LISTEN"
+RUNLEVEL=3
+
+[[ ! -d /var/run/libvirt ]] && mkdir -p /var/run/libvirt
+
+. /etc/init.d/smgl_init
diff --git a/libs/libvirt/udev.rules.d/65-kvm.rules
b/libs/libvirt/udev.rules.d/65-kvm.rules
new file mode 100644
index 0000000..fd34484
--- /dev/null
+++ b/libs/libvirt/udev.rules.d/65-kvm.rules
@@ -0,0 +1,2 @@
+# Allow libvirt group to use /dev/kvm for --enable-kvm in QEMU
+KERNEL=="kvm", NAME="%k", GROUP="libvirt", MODE="0660"



  • [SM-Commit] GIT changes to master grimoire by Eric Sandall (8269311ba94a64823c6f06c88d249c67b7fa6682), Eric Sandall, 06/11/2018

Archive powered by MHonArc 2.6.24.

Top of Page