Allow the hwdom to access the console, and to access physical
information about the system.
Signed-off-by: Jason Andryuk <jason.andryuk@amd.com>
---
xen/include/xsm/dummy.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/xen/include/xsm/dummy.h b/xen/include/xsm/dummy.h
index 294777e904..f4656bd179 100644
--- a/xen/include/xsm/dummy.h
+++ b/xen/include/xsm/dummy.h
@@ -193,6 +193,9 @@ static XSM_INLINE int cf_check xsm_sysctl(XSM_DEFAULT_ARG int cmd)
{
case XEN_SYSCTL_getdomaininfolist:
return xsm_default_action(XSM_XS_PRIV, current->domain, NULL);
+ case XEN_SYSCTL_readconsole:
+ case XEN_SYSCTL_physinfo:
+ return xsm_default_action(XSM_HW_PRIV, current->domain, NULL);
default:
return xsm_default_action(XSM_PRIV, current->domain, NULL);
}
--
2.48.1