lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b8aea898-e344-4fe3-813c-1fdacd337f9d@xen.org>
Date: Mon, 3 Feb 2025 09:21:57 +0000
From: Paul Durrant <xadimgnik@...il.com>
To: Sean Christopherson <seanjc@...gle.com>,
 Paolo Bonzini <pbonzini@...hat.com>, David Woodhouse <dwmw2@...radead.org>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
 syzbot+cdeaeec70992eca2d920@...kaller.appspotmail.com,
 Joao Martins <joao.m.martins@...cle.com>, David Woodhouse <dwmw@...zon.co.uk>
Subject: Re: [PATCH 5/5] KVM: x86/xen: Move kvm_xen_hvm_config field into
 kvm_xen

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@...gle.com>
> ---
>   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@....org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ