qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 07/14] accel: Rename struct hax_vcpu_state -> struct AccelvCP


From: Richard Henderson
Subject: Re: [PATCH 07/14] accel: Rename struct hax_vcpu_state -> struct AccelvCPUState
Date: Fri, 7 Apr 2023 16:07:13 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

On 4/5/23 03:18, Philippe Mathieu-Daudé wrote:
We want all accelerators to share the same opaque pointer in
CPUState. Start with the HAX context, renaming its forward
declarated structure 'hax_vcpu_state' as 'AccelvCPUState'.

Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
---
  include/hw/core/cpu.h       | 7 +++----
  target/i386/hax/hax-i386.h  | 3 ++-
  target/i386/nvmm/nvmm-all.c | 2 +-
  target/i386/whpx/whpx-all.c | 2 +-
  4 files changed, 7 insertions(+), 7 deletions(-)

Can this be squashed with previous?  It seems odd to change the name twice in a 
row.
Is the "v" in AccelvCPUState helpful?

+    struct AccelvCPUState *accel;
     /* shared by kvm, hax and hvf */
     bool vcpu_dirty;

Move below the comment?  Or is that later?


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]