qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] [RFC] hw/arm/smmuv3: Set the restoration priority of the vSM


From: Auger Eric
Subject: Re: [PATCH] [RFC] hw/arm/smmuv3: Set the restoration priority of the vSMMUv3 explicitly
Date: Mon, 26 Oct 2020 18:03:30 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

Hi Zenghui,

On 10/19/20 11:15 AM, Zenghui Yu wrote:
> Ensure the vSMMUv3 will be restored before all PCIe devices so that DMA
> translation can work properly during migration.

Sorry I missed this patch. good catch!

Acked-by: Eric Auger <eric.auger@redhat.com>

Thanks

Eric

> 
> Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
> ---
> 
> not sure if anything would actually go wrong...
> 
>  hw/arm/smmuv3.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/hw/arm/smmuv3.c b/hw/arm/smmuv3.c
> index 0122700e72..2017ba7a5a 100644
> --- a/hw/arm/smmuv3.c
> +++ b/hw/arm/smmuv3.c
> @@ -1440,6 +1440,7 @@ static const VMStateDescription vmstate_smmuv3 = {
>      .name = "smmuv3",
>      .version_id = 1,
>      .minimum_version_id = 1,
> +    .priority = MIG_PRI_IOMMU,
>      .fields = (VMStateField[]) {
>          VMSTATE_UINT32(features, SMMUv3State),
>          VMSTATE_UINT8(sid_size, SMMUv3State),
> 




reply via email to

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