[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 8/8] apparmor, libvirt-qemu: Add ppc64el related changes



On Thu, May 18, 2017 at 10:53:46AM +0200, Stefan Bader wrote:
> From: Serge Hallyn <serge hallyn ubuntu com>
> 
> Updates profile to allow running on ppc64el.
> 
> Bug-Ubuntu: https://bugs.launchpad.net/bugs/1374554
> 
> Signed-off-by: Christian Ehrhardt <christian ehrhardt canonical com>
> Signed-off-by: Stefan Bader <stefan bader canonical com>
> ---
>  examples/apparmor/libvirt-qemu | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/examples/apparmor/libvirt-qemu b/examples/apparmor/libvirt-qemu
> index f04ce04..2791dfc 100644
> --- a/examples/apparmor/libvirt-qemu
> +++ b/examples/apparmor/libvirt-qemu
> @@ -77,6 +77,7 @@
>    /usr/share/OVMF/** r,
>    /usr/share/AAVMF/** r,
>    /usr/share/qemu-efi/** r,
> +  /usr/share/slof/** r,
>  
>    # access PKI infrastructure
>    /etc/pki/libvirt-vnc/** r,
> @@ -102,6 +103,7 @@
>    /usr/bin/qemu-system-or32 rmix,
>    /usr/bin/qemu-system-ppc rmix,
>    /usr/bin/qemu-system-ppc64 rmix,
> +  /usr/bin/qemu-system-ppc64le rmix,
>    /usr/bin/qemu-system-ppcemb rmix,
>    /usr/bin/qemu-system-s390x rmix,
>    /usr/bin/qemu-system-sh4 rmix,
> @@ -158,3 +160,8 @@
>    /etc/udev/udev.conf r,
>    /sys/bus/ r,
>    /sys/class/ r,
> +
> +  # for ppc device-tree access
> +  @{PROC}/device-tree/ r,
> +  @{PROC}/device-tree/** r,
> +  /sys/firmware/devicetree/** r,
> -- 
> 2.7.4

LGTM but I don't know much about PPC64, it's SLOF and where the device
tree should be located.
Cheers,
 -- Guido


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]