Re: [RFC PATCH v2 11/48] accel: Move supports_guest_debug() declaration to AccelClass

2025-06-21 Thread Richard Henderson
On 6/20/25 10:13, Philippe Mathieu-Daudé wrote: AccelOpsClass is for methods dealing with vCPUs. When only dealing with AccelState, AccelClass is sufficient. In order to have AccelClass methods instrospect their state, we need to pass AccelState by argument. Signed-off-by: Philippe Mathieu-Daud

[RFC PATCH v2 11/48] accel: Move supports_guest_debug() declaration to AccelClass

2025-06-20 Thread Philippe Mathieu-Daudé
AccelOpsClass is for methods dealing with vCPUs. When only dealing with AccelState, AccelClass is sufficient. In order to have AccelClass methods instrospect their state, we need to pass AccelState by argument. Signed-off-by: Philippe Mathieu-Daudé --- include/qemu/accel.h | 1 + include/