diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2018-03-26 11:16:05 +1030 |
---|---|---|
committer | Andrew Jeffery <andrew@aj.id.au> | 2018-04-04 07:56:23 +0000 |
commit | 7c5a1091903d5e0959b1ab48211aa187170eaacf (patch) | |
tree | 9a52e8599b61152cb152be5e69e53a6b9e6385db /vpnor/Makefile.am.include | |
parent | 3da0de69628d1341e38608067a9f5198a1e35954 (diff) | |
download | phosphor-mboxd-7c5a1091903d5e0959b1ab48211aa187170eaacf.tar.gz phosphor-mboxd-7c5a1091903d5e0959b1ab48211aa187170eaacf.zip |
test: vpnor: Add create_write_window_ro_partition
The virtual PNOR implementation enforces the read-only attribute of
partitions out of the box. This causes trouble when the host requests a
write window over a read-only partition, as the flush command will fail.
Further, by design, we have open-implies-close-implies-flush semantics,
which means once a flush fails, any subsequent request to open a window
also fails.
We want the daemon to deny attempts to open write windows over a
read-only partition during the CREATE_WRITE_WINDOW request, to avoid
the cascading failures later on.
Change-Id: Ib6bec3d34a8a47e517088dd504f7a74641882f5d
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'vpnor/Makefile.am.include')
0 files changed, 0 insertions, 0 deletions