[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [PATCH] hw/vfio/platform: Init the interrupt mutex
From: |
Eric Auger |
Subject: |
[Qemu-arm] [PATCH] hw/vfio/platform: Init the interrupt mutex |
Date: |
Fri, 19 Jan 2018 16:55:25 +0000 |
Add the initialization of the mutex protecting the interrupt list.
Signed-off-by: Eric Auger <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 da84abf..0d4bc0a 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);
--
1.9.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-arm] [PATCH] hw/vfio/platform: Init the interrupt mutex,
Eric Auger <=