XSM-docs: Flask operates on domain types and not on individual domain. Updated the documentation to reflect this.
PATCH 1/1 XSM-docs: Flask operates on domain types and not on individual domain. Updated the documentation to reflect this.
---
* Resending the patch due to incomplete subject in the previous patch.
docs/misc/xsm-flask.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
---
docs/misc/xsm-flask.txt +4 -4
@@ -9,8 +9,8 @@ controls over Xen domains, allowing the policy writer to define what interactions between domains, devices, and the hypervisor are permitted. Some examples of what FLASK can do: - - Prevent two domains from communicating via event channels or grants - - Control which domains can use device passthrough (and which devices) + - Prevent two domains types from communicating via event channels or grants + - Control which type of domains can use device passthrough (and which devices) - Restrict or audit operations performed by privileged domains - Prevent a privileged domain from arbitrarily mapping pages from other domains
@@ -160,10 +160,10 @@ the policy can be reloaded using "xl loadpolicy". The example policy included with Xen demonstrates most of the features of FLASK that can be used without dom0 disaggregation. The main types for domUs are: - - domU_t is a domain that can communicate with any other domU_t + - domU_t is a domain type that can communicate with any other domU_t types. - isolated_domU_t can only communicate with dom0 - prot_domU_t is a domain type whose creation can be disabled with a boolean - - nomigrate_t is a domain that must be created via the nomigrate_t_building + - nomigrate_t is a domain type that must be created via the nomigrate_t_building type, and whose memory cannot be read by dom0 once created HVM domains with stubdomain device models also need a type for the stub domain.
Signature · 7 lines
1.9.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 12 lines · Anshul Makkar
Signed-off-by Anshul Makkar <[email protected]>---
* Resending the patch due to incomplete subject in the previous patch.docs/misc/xsm-flask.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)---
docs/misc/xsm-flask.txt +0
-0
docs/misc/xsm-flask.txt controls over Xen domains, allowing the policy writer to define what · line 13
Quoted 7 lines
docs/misc/xsm-flask.txt +2
-2@@ -9,8 +9,8 @@ controls over Xen domains, allowing the policy writer to define what interactions between domains, devices, and the hypervisor are permitted. Some examples of what FLASK can do: - - Prevent two domains from communicating via event channels or grants - - Control which domains can use device passthrough (and which devices) + - Prevent two domains types from communicating via event channels or grants + - Control which type of domains can use device passthrough (and which devices)
I disagree with this snippet. This is an example of what you can do with FLASK. You can use flask to do those two actions. Adding the word "types" in there takes it from being a concrete example to being more ambiguous.
docs/misc/xsm-flask.txt the policy can be reloaded using "xl loadpolicy". · line 163
Quoted 9 lines
docs/misc/xsm-flask.txt +1
-1- Restrict or audit operations performed by privileged domains - Prevent a privileged domain from arbitrarily mapping pages from other domains@@ -160,10 +160,10 @@ the policy can be reloaded using "xl loadpolicy". The example policy included with Xen demonstrates most of the features of FLASK that can be used without dom0 disaggregation. The main types for domUs are: - - domU_t is a domain that can communicate with any other domU_t + - domU_t is a domain type that can communicate with any other domU_t types.
"A domain labeled with domU_t can communicate with any other domain labeled with type domU_t."
docs/misc/xsm-flask.txt the policy can be reloaded using "xl loadpolicy". · line 167
Quoted 5 lines
docs/misc/xsm-flask.txt +1
-1- isolated_domU_t can only communicate with dom0 - prot_domU_t is a domain type whose creation can be disabled with a boolean - - nomigrate_t is a domain that must be created via the nomigrate_t_building + - nomigrate_t is a domain type that must be created via the nomigrate_t_building type, and whose memory cannot be read by dom0 once created
"A domain labeled with nomigeate_t is a domain that"
Quoted 3 lines
docs/misc/xsm-flask.txt +0
-0HVM domains with stubdomain device models also need a type for the stub domain.
Signature · 1 line
Doug Goldstein
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 5 lines · Doug Goldstein
Quoted 4 lines · Anshul Makkar
Signed-off-by Anshul Makkar <[email protected]>---
* Resending the patch due to incomplete subject in the previous patch.
Quoted 15 lines
docs/misc/xsm-flask.txt controls over Xen domains, allowing the policy writer to define what · line 13
Quoted 10 lines
docs/misc/xsm-flask.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)---
docs/misc/xsm-flask.txt +2
-2Some examples of what FLASK can do: - - Prevent two domains from communicating via event channels or grants - - Control which domains can use device passthrough (and which devices) + - Prevent two domains types from communicating via event channels or grants + - Control which type of domains can use device passthrough (and which devices)I disagree with this snippet. This is an example of what you can do with FLASK. You can use flask to do those two actions. Adding the word "types" in there takes it from being a concrete example to being more ambiguous.
"Prevent domains belonging to different types to communicate via event channels or grants". Does this sounds better.
I think that its important to use the word "type" so that user doesn't get a wrong impression that the policy is per domain, while in actual its per type.
Quoted 8 lines
Quoted 8 lines
- Restrict or audit operations performed by privileged domains
- Prevent a privileged domain from arbitrarily mapping pages from other domainsdocs/misc/xsm-flask.txt +0
-0@@ -160,10 +160,10 @@ the policy can be reloaded using "xl loadpolicy". The example policy included with Xen demonstrates most of the features of FLASK that can be used without dom0 disaggregation. The main types for domUs are:
Quoted 5 lines
docs/misc/xsm-flask.txt the policy can be reloaded using "xl loadpolicy". · line 163
Quoted 2 lines
docs/misc/xsm-flask.txt +1
-1- - domU_t is a domain that can communicate with any other domU_t + - domU_t is a domain type that can communicate with any other domU_t types."A domain labeled with
domU_tcan communicate with any other domain labeled with typedomU_t."
Rephrasing is fine.
Quoted 8 lines
docs/misc/xsm-flask.txt the policy can be reloaded using "xl loadpolicy". · line 167
Quoted 6 lines
docs/misc/xsm-flask.txt +1
-1- isolated_domU_t can only communicate with dom0 - prot_domU_t is a domain type whose creation can be disabled with a boolean - - nomigrate_t is a domain that must be created via the nomigrate_t_building + - nomigrate_t is a domain type that must be created via the nomigrate_t_building type, and whose memory cannot be read by dom0 once created"A domain labeled with
nomigeate_tis a domain that"
Rephrasing is fine.
Quoted 6 lines
docs/misc/xsm-flask.txt the policy can be reloaded using "xl loadpolicy". · line 169
Quoted 4 lines
docs/misc/xsm-flask.txt +0
-0HVM domains with stubdomain device models also need a type for the stub domain.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 21 lines · anshul makkar
Quoted 5 lines · Doug Goldstein
Quoted 4 lines · Anshul Makkar
Signed-off-by Anshul Makkar <[email protected]>---
* Resending the patch due to incomplete subject in the previous patch.Quoted 15 lines
docs/misc/xsm-flask.txt controls over Xen domains, allowing the policy writer to define what · line 13
Quoted 10 lines
docs/misc/xsm-flask.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)---
docs/misc/xsm-flask.txt +2
-2Some examples of what FLASK can do: - - Prevent two domains from communicating via event channels or grants - - Control which domains can use device passthrough (and which devices) + - Prevent two domains types from communicating via event channels or grants + - Control which type of domains can use device passthrough (and which devices)I disagree with this snippet. This is an example of what you can do with FLASK. You can use flask to do those two actions. Adding the word "types" in there takes it from being a concrete example to being more ambiguous.
Quoted 3 lines
"Prevent domains belonging to different types to communicate via event channels or grants". Does this sounds better.
I think that its important to use the word "type" so that user doesn't get a wrong impression that the policy is per domain, while in actual its per type.
I think it would be clearer to leave the examples as is, but add a sentence to the following paragraph about how the policy is written based on types.
For the other changes, I agree Doug's rewording is a bit clearer than the original.
Signature · 7 lines
Daniel De Graaf National Security Agency _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel