mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/flask: Wire up XEN_DOMCTL_dt_overlay
Addition of FLASK permission for this hypercall was overlooked in the
original patch. Fix it. The only dt overlay operation is attaching that can
happen only after the domain is created. Dom0 can attach overlay to itself
as well.
Fixes: 4c733873b5 ("xen/arm: Add XEN_DOMCTL_dt_overlay and device attachment to domains")
Signed-off-by: Michal Orzel <michal.orzel@amd.com>
Release-Acked-By: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Acked-by: Daniel P. Smith <dpsmith@apertussolutions.com>
This commit is contained in:
1 parent
29daa72e40
commit
7fa1411676
4 files changed
+7
-2
No files matched your search
@@ -40,7 +40,7 @@ allow dom0_t dom0_t:domain {
|
||||
};
|
||||
allow dom0_t dom0_t:domain2 {
|
||||
set_cpu_policy gettsc settsc setscheduler set_vnumainfo
|
||||
get_vnumainfo psr_cmt_op psr_alloc get_cpu_policy
|
||||
get_vnumainfo psr_cmt_op psr_alloc get_cpu_policy dt_overlay
|
||||
};
|
||||
allow dom0_t dom0_t:resource { add remove };
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ define(`manage_domain', `
|
||||
getaddrsize pause unpause trigger shutdown destroy
|
||||
setaffinity setdomainmaxmem getscheduler resume
|
||||
setpodtarget getpodtarget getpagingmempool setpagingmempool };
|
||||
allow $1 $2:domain2 set_vnumainfo;
|
||||
allow $1 $2:domain2 { set_vnumainfo dt_overlay };
|
||||
')
|
||||
|
||||
# migrate_domain_out(priv, target)
|
||||
|
||||