Closed adlazar closed 4 years ago
@adlazar could you explain this modification, because it's not obvious to me why we are introducing a magic number * 2
to increase the message size ?
For convenience, we've tried to keep the message limit small and page size multiple (including the message header). The variable size commands and command replies are affected by this limit. The old value (one page size minus the message header) won't allow us to read (or write) a whole page, which is a common use case, I guess.
@adlazar can i merge this, or do you need more eyes/testing on it ?
You can merge it, but you need it in userspace (libvmi) too.
I forgot about this one, merging now.
This will allow us to read a whole page with KVMI_READ_PHYSICAL.
Signed-off-by: Adalbert Lazăr alazar@bitdefender.com