Re: [PATCH 01/10] KVM: ARM: VGIC: using the irqchip_in_kernel to check when the vgic create.

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

 



Hi,

On 17/11/14 09:27, wanghaibin wrote:
> When check the vgic is in kernel or not already, using the irqchip_in_kernel
> defined instead of the ICH base address check.
> 
> Signed-off-by: wanghaibin <wanghaibin.wang@xxxxxxxxxx>

As I have an identical patch in my GICv3 emulation series:

Acked-by: Andre Przywara <andre.przywara@xxxxxxx>

> ---
>  virt/kvm/arm/vgic.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/virt/kvm/arm/vgic.c b/virt/kvm/arm/vgic.c
> index 3aaca49..57e45ff 100644
> --- a/virt/kvm/arm/vgic.c
> +++ b/virt/kvm/arm/vgic.c
> @@ -1938,7 +1938,7 @@ int kvm_vgic_create(struct kvm *kvm)
>  
>  	mutex_lock(&kvm->lock);
>  
> -	if (kvm->arch.vgic.vctrl_base) {
> +	if (irqchip_in_kernel(kvm)) {
>  		ret = -EEXIST;
>  		goto out;
>  	}
> 
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm




[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux