Home
last modified time | relevance | path

Searched hist:"418026 ca43bc2626db092d7558258f9594366f28" (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/include/qemu/
H A Dvfio-helpers.h418026ca43bc2626db092d7558258f9594366f28 Tue Jan 16 00:08:54 CST 2018 Fam Zheng <famz@redhat.com> util: Introduce vfio helpers

This is a library to manage the host vfio interface, which could be used
to implement userspace device driver code in QEMU such as NVMe or net
controllers.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20180116060901.17413-3-famz@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
/openbmc/qemu/util/
H A Dvfio-helpers.cdiff 549b50a31d28f2687a47e827a1e17300784a2c44 Tue Nov 27 02:41:43 CST 2018 Markus Armbruster <armbru@redhat.com> vfio-helpers: Fix qemu_vfio_open_pci() crash

qemu_vfio_open_common() initializes s->lock only after passing s to
qemu_vfio_dma_map() via qemu_vfio_init_ramblock().
qemu_vfio_dma_map() tries to lock the uninitialized lock and crashes.

Fix by initializing s->lock first.

RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1645840
Fixes: 418026ca43bc2626db092d7558258f9594366f28
Cc: qemu-stable@nongnu.org
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20181127084143.1113-1-armbru@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
418026ca43bc2626db092d7558258f9594366f28 Tue Jan 16 00:08:54 CST 2018 Fam Zheng <famz@redhat.com> util: Introduce vfio helpers

This is a library to manage the host vfio interface, which could be used
to implement userspace device driver code in QEMU such as NVMe or net
controllers.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20180116060901.17413-3-famz@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
H A Dtrace-eventsdiff 418026ca43bc2626db092d7558258f9594366f28 Tue Jan 16 00:08:54 CST 2018 Fam Zheng <famz@redhat.com> util: Introduce vfio helpers

This is a library to manage the host vfio interface, which could be used
to implement userspace device driver code in QEMU such as NVMe or net
controllers.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20180116060901.17413-3-famz@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>