Re: [RFC PATCH 09/10] target/riscv: Restrict KVM-specific fields from ArchCPU

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

 



On 4/7/23 21:28, Richard Henderson wrote:
On 4/5/23 09:04, Philippe Mathieu-Daudé wrote:
These fields shouldn't be accessed when KVM is not available.

Signed-off-by: Philippe Mathieu-Daudé<philmd@xxxxxxxxxx>
---
RFC: The migration part is likely invalid...

kvmtimer_needed() is defined in target/riscv/machine.c as

   static bool kvmtimer_needed(void *opaque)
   {
       return kvm_enabled();
   }

which depends on a host feature.
---
  target/riscv/cpu.h     | 2 ++
  target/riscv/machine.c | 4 ++++
  2 files changed, 6 insertions(+)

Yeah, the kvm parts need to be extracted to their own subsection.

Oh, but they are.  Ho hum, it's getting late.


r~




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux