On Wed, 08 Nov 2023 09:55, Viresh Kumar viresh.kumar@linaro.org wrote:
On 08-11-23, 08:41, Erik Schilling wrote:
On Fri Nov 3, 2023 at 11:42 AM CET, Viresh Kumar wrote:
+The driver MUST NOT access memory locations outside what's presented by +the device.
I get what this is trying to state, but I am worried whether this is a bit ambigious... A driver surely will access driver-private, virtio-unrelated data, right?
Yeah, but that isn't part of backend's memory but the guest itself. The spec doesn't need to talk about such a memory.
Maybe for completeness, you can add "MUST NOT access memory locations of the transport"?
Also, what does "presented" mean?
Made available for the frontend to use. This word is used few times in the spec, maybe I should choose a different word here ?
"Made available" is much more descriptive indeed. I'd also add "[Made available] to be accessed and acknowledged by the driver."