On 21/11/22 5:05 pm, Philippe Mathieu-Daudé wrote:
Hi,

On 20/11/22 23:54, Shivam Kumar wrote:
+
+void dirty_quota_migration_start(void)
+{
+    if (!kvm_state->dirty_quota_supported) {

You are accessing an accelerator-specific variable in an accelerator-agnostic file, this doesn't sound correct.

You might introduce some hooks in AccelClass and implement them in
accel/kvm/. See for example gdbstub_supported_sstep_flags() and
kvm_gdbstub_sstep_flags().

Ack.

Thanks,
Shivam

Reply via email to