Accepting request 628306 from home:ldewey:branches:Virtualization
- Update QEMU to allow kvm group access to /dev/sev (bsc#1102604). 71-sev.rules OBS-URL: https://build.opensuse.org/request/show/628306 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=422
This commit is contained in:
parent
003febdd78
commit
56b685a024
1
71-sev.rules
Normal file
1
71-sev.rules
Normal file
@ -0,0 +1 @@
|
||||
KERNEL=="sev", MODE="0660", GROUP="kvm"
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 9 03:27:38 UTC 2018 - ldewey@suse.com
|
||||
|
||||
- Update QEMU to allow kvm group access to /dev/sev (bsc#1102604).
|
||||
71-sev.rules
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 3 14:05:49 UTC 2018 - brogers@suse.com
|
||||
|
||||
|
@ -128,6 +128,7 @@ Source12: supported.x86.txt
|
||||
Source13: supported.s390.txt
|
||||
Source14: supported.arm.txt
|
||||
Source15: supported.ppc.txt
|
||||
Source16: 71-sev.rules
|
||||
# Upstream First -- http://wiki.qemu-project.org/Contribute/SubmitAPatch
|
||||
# This patch queue is auto-generated from https://github.com/openSUSE/qemu
|
||||
Patch0001: 0001-XXX-dont-dump-core-on-sigabort.patch
|
||||
@ -1277,6 +1278,9 @@ ln -s ../qemu-x86/supported.txt %{buildroot}%{_docdir}/qemu-kvm/kvm-supported.tx
|
||||
install -D -m 0755 %{SOURCE3} %{buildroot}%{_bindir}/kvm_stat
|
||||
install -D -m 0644 %{SOURCE4} %{buildroot}%{_mandir}/man1/kvm_stat.1.gz
|
||||
%endif
|
||||
%ifarch %ix86 x86_64
|
||||
install -D -m 0644 %{SOURCE16} %{buildroot}%{_udevrulesdir}/71-sev.rules
|
||||
%endif
|
||||
install -D -m 0644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/80-kvm.rules
|
||||
%endif
|
||||
install -D -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/qemu-ga@.service
|
||||
@ -1316,6 +1320,9 @@ if [ $(stat -L -c "%i" /proc/1/root/) = $(stat -L -c "%i" /) ]; then
|
||||
fi
|
||||
%endif
|
||||
%udev_rules_update
|
||||
%ifarch %ix86 x86_64
|
||||
%_bindir/udevadm trigger -y sev || :
|
||||
%endif
|
||||
%_bindir/udevadm trigger -y kvm || :
|
||||
%ifarch s390x
|
||||
sysctl vm.allocate_pgste=1 || :
|
||||
@ -1395,6 +1402,9 @@ fi
|
||||
%_bindir/kvm_stat
|
||||
%doc %_mandir/man1/kvm_stat.1.gz
|
||||
%endif
|
||||
%ifarch %ix86 x86_64
|
||||
%{_udevrulesdir}/71-sev.rules
|
||||
%endif
|
||||
%{_udevrulesdir}/80-kvm.rules
|
||||
%ifarch s390x
|
||||
%_libexecdir/modules-load.d/kvm.conf
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 9 03:27:38 UTC 2018 - ldewey@suse.com
|
||||
|
||||
- Update QEMU to allow kvm group access to /dev/sev (bsc#1102604).
|
||||
71-sev.rules
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 3 14:05:49 UTC 2018 - brogers@suse.com
|
||||
|
||||
|
10
qemu.spec
10
qemu.spec
@ -128,6 +128,7 @@ Source12: supported.x86.txt
|
||||
Source13: supported.s390.txt
|
||||
Source14: supported.arm.txt
|
||||
Source15: supported.ppc.txt
|
||||
Source16: 71-sev.rules
|
||||
# Upstream First -- http://wiki.qemu-project.org/Contribute/SubmitAPatch
|
||||
# This patch queue is auto-generated from https://github.com/openSUSE/qemu
|
||||
Patch0001: 0001-XXX-dont-dump-core-on-sigabort.patch
|
||||
@ -1277,6 +1278,9 @@ ln -s ../qemu-x86/supported.txt %{buildroot}%{_docdir}/qemu-kvm/kvm-supported.tx
|
||||
install -D -m 0755 %{SOURCE3} %{buildroot}%{_bindir}/kvm_stat
|
||||
install -D -m 0644 %{SOURCE4} %{buildroot}%{_mandir}/man1/kvm_stat.1.gz
|
||||
%endif
|
||||
%ifarch %ix86 x86_64
|
||||
install -D -m 0644 %{SOURCE16} %{buildroot}%{_udevrulesdir}/71-sev.rules
|
||||
%endif
|
||||
install -D -m 0644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/80-kvm.rules
|
||||
%endif
|
||||
install -D -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/qemu-ga@.service
|
||||
@ -1316,6 +1320,9 @@ if [ $(stat -L -c "%i" /proc/1/root/) = $(stat -L -c "%i" /) ]; then
|
||||
fi
|
||||
%endif
|
||||
%udev_rules_update
|
||||
%ifarch %ix86 x86_64
|
||||
%_bindir/udevadm trigger -y sev || :
|
||||
%endif
|
||||
%_bindir/udevadm trigger -y kvm || :
|
||||
%ifarch s390x
|
||||
sysctl vm.allocate_pgste=1 || :
|
||||
@ -1395,6 +1402,9 @@ fi
|
||||
%_bindir/kvm_stat
|
||||
%doc %_mandir/man1/kvm_stat.1.gz
|
||||
%endif
|
||||
%ifarch %ix86 x86_64
|
||||
%{_udevrulesdir}/71-sev.rules
|
||||
%endif
|
||||
%{_udevrulesdir}/80-kvm.rules
|
||||
%ifarch s390x
|
||||
%_libexecdir/modules-load.d/kvm.conf
|
||||
|
10
qemu.spec.in
10
qemu.spec.in
@ -128,6 +128,7 @@ Source12: supported.x86.txt
|
||||
Source13: supported.s390.txt
|
||||
Source14: supported.arm.txt
|
||||
Source15: supported.ppc.txt
|
||||
Source16: 71-sev.rules
|
||||
# Upstream First -- http://wiki.qemu-project.org/Contribute/SubmitAPatch
|
||||
# This patch queue is auto-generated from https://github.com/openSUSE/qemu
|
||||
PATCH_FILES
|
||||
@ -1197,6 +1198,9 @@ ln -s ../qemu-x86/supported.txt %{buildroot}%{_docdir}/qemu-kvm/kvm-supported.tx
|
||||
install -D -m 0755 %{SOURCE3} %{buildroot}%{_bindir}/kvm_stat
|
||||
install -D -m 0644 %{SOURCE4} %{buildroot}%{_mandir}/man1/kvm_stat.1.gz
|
||||
%endif
|
||||
%ifarch %ix86 x86_64
|
||||
install -D -m 0644 %{SOURCE16} %{buildroot}%{_udevrulesdir}/71-sev.rules
|
||||
%endif
|
||||
install -D -m 0644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/80-kvm.rules
|
||||
%endif
|
||||
install -D -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/qemu-ga@.service
|
||||
@ -1236,6 +1240,9 @@ if [ $(stat -L -c "%i" /proc/1/root/) = $(stat -L -c "%i" /) ]; then
|
||||
fi
|
||||
%endif
|
||||
%udev_rules_update
|
||||
%ifarch %ix86 x86_64
|
||||
%_bindir/udevadm trigger -y sev || :
|
||||
%endif
|
||||
%_bindir/udevadm trigger -y kvm || :
|
||||
%ifarch s390x
|
||||
sysctl vm.allocate_pgste=1 || :
|
||||
@ -1315,6 +1322,9 @@ fi
|
||||
%_bindir/kvm_stat
|
||||
%doc %_mandir/man1/kvm_stat.1.gz
|
||||
%endif
|
||||
%ifarch %ix86 x86_64
|
||||
%{_udevrulesdir}/71-sev.rules
|
||||
%endif
|
||||
%{_udevrulesdir}/80-kvm.rules
|
||||
%ifarch s390x
|
||||
%_libexecdir/modules-load.d/kvm.conf
|
||||
|
Loading…
Reference in New Issue
Block a user