summaryrefslogtreecommitdiffstats
path: root/mboxd_msg.h
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2018-03-26 11:16:05 +1030
committerAndrew Jeffery <andrew@aj.id.au>2018-04-04 07:56:23 +0000
commit7c5a1091903d5e0959b1ab48211aa187170eaacf (patch)
tree9a52e8599b61152cb152be5e69e53a6b9e6385db /mboxd_msg.h
parent3da0de69628d1341e38608067a9f5198a1e35954 (diff)
downloadphosphor-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 'mboxd_msg.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud