On 26/06/2018 10:58, Robert Hoo wrote: >> This is not needed, because pred_cmd is write only and arch_capabilities >> is read only. The guest cannot modify any of them. >> > Thanks Paolo. Yes, indeed unnecessary. > I looked into the > 336996-Speculative-Execution-Side-Channel-Mitigations.pdf again, looks > like the vmstate_spec_ctrl is similar to pred_cmd, wirte only. Shall I > remove it as well in v2 patch?
No, spec_ctrl is read-write. Paolo