[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 09/11] hw/vfio/platform: Init the interrupt mutex
From: |
Alex Williamson |
Subject: |
[Qemu-devel] [PULL 09/11] hw/vfio/platform: Init the interrupt mutex |
Date: |
Mon, 05 Feb 2018 11:58:00 -0700 |
User-agent: |
StGit/0.18-101-g8fa6 |
From: Eric Auger <address@hidden>
Add the initialization of the mutex protecting the interrupt list.
Signed-off-by: Eric Auger <address@hidden>
Signed-off-by: Alex Williamson <address@hidden>
---
hw/vfio/platform.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/vfio/platform.c b/hw/vfio/platform.c
index da84abf4fc4c..0d4bc0aae889 100644
--- a/hw/vfio/platform.c
+++ b/hw/vfio/platform.c
@@ -643,6 +643,8 @@ static void vfio_platform_realize(DeviceState *dev, Error
**errp)
vbasedev->dev = dev;
vbasedev->ops = &vfio_platform_ops;
+ qemu_mutex_init(&vdev->intp_mutex);
+
trace_vfio_platform_realize(vbasedev->sysfsdev ?
vbasedev->sysfsdev : vbasedev->name,
vdev->compat);
- [Qemu-devel] [PULL 00/11] VFIO updates 2018-02-05, Alex Williamson, 2018/02/05
- [Qemu-devel] [PULL 01/11] memory/iommu: Add get_attr(), Alex Williamson, 2018/02/05
- [Qemu-devel] [PULL 02/11] vfio/spapr: Use iommu memory region's get_attr(), Alex Williamson, 2018/02/05
- [Qemu-devel] [PULL 03/11] spapr/iommu: Enable in-kernel TCE acceleration via VFIO KVM device, Alex Williamson, 2018/02/05
- [Qemu-devel] [PULL 04/11] vfio/pci: Fixup VFIOMSIXInfo comment, Alex Williamson, 2018/02/05
- [Qemu-devel] [PULL 05/11] vfio/pci: Add base BAR MemoryRegion, Alex Williamson, 2018/02/05
- [Qemu-devel] [PULL 06/11] vfio/pci: Emulate BARs, Alex Williamson, 2018/02/05
- [Qemu-devel] [PULL 07/11] qapi: Create DEFINE_PROP_OFF_AUTO_PCIBAR, Alex Williamson, 2018/02/05
- [Qemu-devel] [PULL 08/11] vfio/pci: Allow relocating MSI-X MMIO, Alex Williamson, 2018/02/05
- [Qemu-devel] [PULL 09/11] hw/vfio/platform: Init the interrupt mutex,
Alex Williamson <=
- [Qemu-devel] [PULL 10/11] vfio/common: Remove redundant copy of local variable, Alex Williamson, 2018/02/05
- [Qemu-devel] [PULL 11/11] vfio/pci: Add option to disable GeForce quirks, Alex Williamson, 2018/02/05
- Re: [Qemu-devel] [PULL 00/11] VFIO updates 2018-02-05, Peter Maydell, 2018/02/06