Re: [PATCH 0/1] plugins: add API to read guest CPU memory from hwaddr

2024-09-17 Thread Rowan Hart
> > See: > > tests/tcg/i386/system/boot.S > tests/tcg/alpha/system/boot.S > tests/tcg/loongarch64/system/boot.S > tests/tcg/aarch64/system/boot.S > tests/tcg/x86_64/system/boot.S > tests/tcg/arm/system/boot.S > > for what is needed (basically a MMU-enabled flat memory map and some >

Re: [PATCH 0/1] plugins: add API to read guest CPU memory from hwaddr

2024-09-05 Thread Alex Bennée
Rowan Hart writes: > This patch adds a single API function which allows reading from a guest > CPU physical address. > > I don't know of a good way to add a self-contained test for this feature > to tests/tcg/plugins, but I did come up with a small test case to > demonstrate the functionality usi

[PATCH 0/1] plugins: add API to read guest CPU memory from hwaddr

2024-08-27 Thread Rowan Hart
This patch adds a single API function which allows reading from a guest CPU physical address. I don't know of a good way to add a self-contained test for this feature to tests/tcg/plugins, but I did come up with a small test case to demonstrate the functionality using peiyuanix/riscv-os: First, g