Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:Update
libvirt.11330
a9caa981-add-sev-shared-dev.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File a9caa981-add-sev-shared-dev.patch of Package libvirt.11330
commit a9caa981592c5609631949d3a77e02b0e8493b48 Author: Brijesh Singh <brijesh.singh@amd.com> Date: Fri Jun 8 09:40:57 2018 -0500 qemu/cgroup: Add /dev/sev in shared devices list QEMU uses /dev/sev device while creating the SEV guest, lets add /dev/sev in the list of devices allowed to be accessed by the QEMU. Signed-off-by: Brijesh Singh <brijesh.singh@amd.com> Reviewed-by: Erik Skultety <eskultet@redhat.com> Index: libvirt-4.0.0/docs/drvqemu.html.in =================================================================== --- libvirt-4.0.0.orig/docs/drvqemu.html.in +++ libvirt-4.0.0/docs/drvqemu.html.in @@ -396,7 +396,8 @@ chmod o+x /path/to/directory /dev/null, /dev/full, /dev/zero, /dev/random, /dev/urandom, /dev/ptmx, /dev/kvm, /dev/kqemu, -/dev/rtc, /dev/hpet, /dev/net/tun +/dev/rtc, /dev/hpet, /dev/net/tun, +/dev/sev </pre> <p> Index: libvirt-4.0.0/src/qemu/qemu.conf =================================================================== --- libvirt-4.0.0.orig/src/qemu/qemu.conf +++ libvirt-4.0.0/src/qemu/qemu.conf @@ -451,7 +451,7 @@ # "/dev/null", "/dev/full", "/dev/zero", # "/dev/random", "/dev/urandom", # "/dev/ptmx", "/dev/kvm", "/dev/kqemu", -# "/dev/rtc","/dev/hpet" +# "/dev/rtc","/dev/hpet", "/dev/sev" #] # # RDMA migration requires the following extra files to be added to the list: Index: libvirt-4.0.0/src/qemu/qemu_cgroup.c =================================================================== --- libvirt-4.0.0.orig/src/qemu/qemu_cgroup.c +++ libvirt-4.0.0/src/qemu/qemu_cgroup.c @@ -46,7 +46,7 @@ const char *const defaultDeviceACL[] = { "/dev/null", "/dev/full", "/dev/zero", "/dev/random", "/dev/urandom", "/dev/ptmx", "/dev/kvm", "/dev/kqemu", - "/dev/rtc", "/dev/hpet", + "/dev/rtc", "/dev/hpet", "/dev/sev", NULL, }; #define DEVICE_PTY_MAJOR 136 Index: libvirt-4.0.0/src/qemu/test_libvirtd_qemu.aug.in =================================================================== --- libvirt-4.0.0.orig/src/qemu/test_libvirtd_qemu.aug.in +++ libvirt-4.0.0/src/qemu/test_libvirtd_qemu.aug.in @@ -60,6 +60,7 @@ module Test_libvirtd_qemu = { "8" = "/dev/kqemu" } { "9" = "/dev/rtc" } { "10" = "/dev/hpet" } + { "11" = "/dev/sev" } } { "save_image_format" = "raw" } { "dump_image_format" = "raw" }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor