The assertion that only code emulation requires GVA to GPA translation is wrong. Allow the caller of `translate` to pass in permission flags directly. Provide a new method `read_memory_flags` so that we can add the EXECUTE permission flag where necessary. Signed-off-by: Wei Liu <liuwe@microsoft.com> |
||
|---|---|---|
| .. | ||
| arch | ||
| kvm | ||
| mshv | ||
| cpu.rs | ||
| device.rs | ||
| hypervisor.rs | ||
| lib.rs | ||
| vm.rs | ||