| 1 |
Requirements writing style for the Xen Hypervisor |
| 2 |
================================================= |
| 3 |
|
| 4 |
The requirements writing style described below is the style used for writing the |
| 5 |
requirements of the Xen hypervisor to enable functional safety certification. |
| 6 |
|
| 7 |
The requirements writing style is inspired from the ANSI/IEEE guide to Software |
| 8 |
Requirements Standard. Specifically, the requirements should satisfy the |
| 9 |
following validation checklist. |
| 10 |
(Source - https://www.nasa.gov/reference/appendix-c-how-to-write-a-good-requirement) |
| 11 |
|
| 12 |
Clarity - |
| 13 |
The requirements should be clear, unambiguous, consise and simple. Each |
| 14 |
requirement should express a single thought. Each requirement stated should have |
| 15 |
a single interpretation. |
| 16 |
|
| 17 |
Consistency - |
| 18 |
Any requirement shouldn't contradict with any other requirement. The requirements |
| 19 |
should be categorized correctly (the categories have been explained in the |
| 20 |
README). The tone of each requirement should be definitive (ie "Xen shall ..." |
| 21 |
should be present in each requirement). |
| 22 |
|
| 23 |
Traceability - |
| 24 |
Any market requirement should be linked to the product requirement/s and |
| 25 |
vice versa. Any product requirement should be linked to the design requirement/s |
| 26 |
and vice versa. Full bi-directional traceability should be maintained between |
| 27 |
market, product and design requirements. |
| 28 |
|
| 29 |
Correctness - |
| 30 |
The requirements should be feasible and technically correct (at the time of |
| 31 |
writing). However, it is not expected that the requirements will be kept upto |
| 32 |
date with the code. |
| 33 |
|
| 34 |
The requirements follow the same license and line length as the code. |