qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] vfio: Support P2P access in confidential VM


From: Yang Dongshan
Subject: Re: [PATCH] vfio: Support P2P access in confidential VM
Date: Fri, 17 Jan 2025 19:31:16 +0800

> Yes. This patch should also be divided in 4 parts :

>  - kernel header changes with links to the threads modifying the kernel.
>   - common part,
>   - vpda part,
>   - and vfio,

ok, I will divide it into 4 patches.
thanks Cédric

On Fri, Jan 17, 2025 at 2:15 AM Cédric Le Goater <clg@redhat.com> wrote:
>> --- a/linux-headers/linux/vfio.h
>> +++ b/linux-headers/linux/vfio.h
>> @@ -1560,6 +1560,7 @@ struct vfio_iommu_type1_dma_map {
>>   #define VFIO_DMA_MAP_FLAG_READ (1 << 0)            /* readable from device */
>>   #define VFIO_DMA_MAP_FLAG_WRITE (1 << 1)   /* writable from device */
>>   #define VFIO_DMA_MAP_FLAG_VADDR (1 << 2)
>> +#define VFIO_DMA_MAP_FLAG_MMIO (1 << 3)
>
> Where's the kernel patch that implements the MMIO map flag.  That needs
> to come first.

Yes. This patch should also be divided in 4 parts :

   - kernel header changes with links to the threads modifying the kernel.
   - common part,
   - vpda part,
   - and vfio,


Thanks,

C.



> I also don't understand why we're creating multiple read-only and
> ramdev flags to distill back into vfio mapping flags.  Thanks,
>


reply via email to

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