On 18.12.2023 11:02, Oleksii wrote: > On Thu, 2023-12-14 at 15:06 +0100, Jan Beulich wrote: >> On 24.11.2023 11:30, Oleksii Kurochko wrote: >>> --- /dev/null >>> +++ b/xen/arch/riscv/include/asm/guest_access.h >>> @@ -0,0 +1,29 @@ >>> +#ifndef __ASM_RISCV_GUEST_ACCESS_H__ >>> +#define __ASM_RISCV_GUEST_ACCESS_H__ >>> + >>> +#include <xen/types.h> >>> + >>> +unsigned long raw_copy_to_guest(void *to, const void *from, >>> unsigned len); >>> +unsigned long raw_copy_from_guest(void *to, const void *from, >>> unsigned len); >> >> For the full build to work, you will need to implement these >> somewhere. >> From the titles of further patches I can't guess where that would be. >> Note how PPC has decided to have these be inline dummies for the time >> being. It also looks as if you would also need raw_clear_guest()? > It is implemented in xen/arch/riscv/stubs.c:362,367.
Ah, that's patch 37, which I didn't get to yet. Jan > Regarding raw_clear_guest() I'll double check. I don't have a > compilation issue with it, so I ignored this macros.
