Re: [PATCH 5/5] KVM: x86/xen: Move kvm_xen_hvm_config field into kvm_xen

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

 



On 01/02/2025 01:14, Sean Christopherson wrote:
Now that all KVM usage of the Xen HVM config information is buried behind
CONFIG_KVM_XEN=y, move the per-VM kvm_xen_hvm_config field out of kvm_arch
and into kvm_xen.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
---
  arch/x86/include/asm/kvm_host.h |  3 ++-
  arch/x86/kvm/x86.c              |  2 +-
  arch/x86/kvm/xen.c              | 20 ++++++++++----------
  arch/x86/kvm/xen.h              |  6 +++---
  4 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 7f9e00004db2..e9ebd6d6492c 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -1180,6 +1180,8 @@ struct kvm_xen {
  	struct gfn_to_pfn_cache shinfo_cache;
  	struct idr evtchn_ports;
  	unsigned long poll_mask[BITS_TO_LONGS(KVM_MAX_VCPUS)];
+

nit: extraneous blank line?

+	struct kvm_xen_hvm_config hvm_config;
  };
  #endif

Reviewed-by: Paul Durrant <paul@xxxxxxx>




[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