qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] RFC: vfio API changes needed for powerpc (v3)


From: Scott Wood
Subject: Re: [Qemu-devel] RFC: vfio API changes needed for powerpc (v3)
Date: Fri, 5 Apr 2013 17:17:25 -0500

On 04/04/2013 05:10:27 PM, Yoder Stuart-B08248 wrote:
/*
 * VFIO_IOMMU_PAMU_UNMAP_MSI_BANK
 *
 * Unmaps the MSI bank at the specified iova.
* Caller provides struct vfio_pamu_msi_bank_unmap with all fields set.
 * Operates on VFIO file descriptor (/dev/vfio/vfio).
 * Return: 0 on success, -errno on failure
 */

struct vfio_pamu_msi_bank_unmap {
        __u32   argsz;
        __u32   flags;     /* no flags currently */
        __u64   iova;      /* the iova to be unmapped to */
};
#define VFIO_IOMMU_PAMU_UNMAP_MSI_BANK  _IO(VFIO_TYPE, VFIO_BASE + x,
        struct vfio_pamu_msi_bank_unmap )

What happens if a normal unmap call is done on the MSI iova? Do we need a separate unmap?

-Scott



reply via email to

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