<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/hw/remote, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/hw/remote?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/hw/remote?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-11-07T19:08:17+00:00</updated>
<entry>
<title>msix: Assert that specified vector is in range</title>
<updated>2022-11-07T19:08:17+00:00</updated>
<author>
<name>Akihiko Odaki</name>
</author>
<published>2022-08-29T08:35:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=15377f6e79cc6aa08dbafe82607e0bda13ca44b5'/>
<id>urn:sha1:15377f6e79cc6aa08dbafe82607e0bda13ca44b5</id>
<content type='text'>
There were several different ways to deal with the situation where the
vector specified for a msix function is out of bound:
- early return a function and keep progresssing
- propagate the error to the caller
- mark msix unusable
- assert it is in bound
- just ignore

An out-of-bound vector should not be specified if the device
implementation is correct so let msix functions always assert that the
specified vector is in range.

An exceptional case is virtio-pci, which allows the guest to configure
vectors. For virtio-pci, it is more appropriate to introduce its own
checks because it is sometimes too late to check the vector range in
msix functions.

Signed-off-by: Akihiko Odaki &lt;akihiko.odaki@daynix.com&gt;
Message-Id: &lt;20220829083524.143640-1-akihiko.odaki@daynix.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Yuval Shaia &lt;yuval.shaia.ml@gmail.com&gt;
Signed-off-by: Akihiko Odaki &amp;lt;&lt;a href="mailto:akihiko.odaki@daynix.com" target="_blank"&gt;akihiko.odaki@daynix.com&lt;/a&gt;&amp;gt;&lt;br&gt;
</content>
</entry>
<entry>
<title>Use g_new() &amp; friends where that makes obvious sense</title>
<updated>2022-10-03T22:10:11+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2022-09-23T08:42:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c5e8d51824fe725d0693cd9f50171d34297c5cc0'/>
<id>urn:sha1:c5e8d51824fe725d0693cd9f50171d34297c5cc0</id>
<content type='text'>
g_new(T, n) is neater than g_malloc(sizeof(T) * n).  It's also safer,
for two reasons.  One, it catches multiplication overflowing size_t.
Two, it returns T * rather than void *, which lets the compiler catch
more type errors.

This commit only touches allocations with size arguments of the form
sizeof(T).

Patch created mechanically with:

    $ spatch --in-place --sp-file scripts/coccinelle/use-g_new-etc.cocci \
	     --macro-file scripts/cocci-macro-file.h FILES...

The previous iteration was commit a95942b50c.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Message-Id: &lt;20220923084254.4173111-1-armbru@redhat.com&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>vfio-user: handle reset of remote device</title>
<updated>2022-06-15T15:43:42+00:00</updated>
<author>
<name>Jagannathan Raman</name>
</author>
<published>2022-06-13T20:26:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=78e27dfa8d1c91171d49660aa50cbe6c424d41be'/>
<id>urn:sha1:78e27dfa8d1c91171d49660aa50cbe6c424d41be</id>
<content type='text'>
Adds handler to reset a remote device

Signed-off-by: Elena Ufimtseva &lt;elena.ufimtseva@oracle.com&gt;
Signed-off-by: John G Johnson &lt;john.g.johnson@oracle.com&gt;
Signed-off-by: Jagannathan Raman &lt;jag.raman@oracle.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-id: 112eeadf3bc4c6cdb100bc3f9a6fcfc20b467c1b.1655151679.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>vfio-user: handle device interrupts</title>
<updated>2022-06-15T15:43:42+00:00</updated>
<author>
<name>Jagannathan Raman</name>
</author>
<published>2022-06-13T20:26:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=08cf3dc611991e9697f62458107e13f2c582869a'/>
<id>urn:sha1:08cf3dc611991e9697f62458107e13f2c582869a</id>
<content type='text'>
Forward remote device's interrupts to the guest

Signed-off-by: Elena Ufimtseva &lt;elena.ufimtseva@oracle.com&gt;
Signed-off-by: John G Johnson &lt;john.g.johnson@oracle.com&gt;
Signed-off-by: Jagannathan Raman &lt;jag.raman@oracle.com&gt;
Message-id: 9523479eaafe050677f4de2af5dd0df18c27cfd9.1655151679.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>vfio-user: handle PCI BAR accesses</title>
<updated>2022-06-15T15:43:42+00:00</updated>
<author>
<name>Jagannathan Raman</name>
</author>
<published>2022-06-13T20:26:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3123f93d6b85b69ab77f409456fac8ded895efed'/>
<id>urn:sha1:3123f93d6b85b69ab77f409456fac8ded895efed</id>
<content type='text'>
Determine the BARs used by the PCI device and register handlers to
manage the access to the same.

Signed-off-by: Elena Ufimtseva &lt;elena.ufimtseva@oracle.com&gt;
Signed-off-by: John G Johnson &lt;john.g.johnson@oracle.com&gt;
Signed-off-by: Jagannathan Raman &lt;jag.raman@oracle.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-id: 3373e10b5be5f42846f0632d4382466e1698c505.1655151679.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>vfio-user: handle DMA mappings</title>
<updated>2022-06-15T15:43:42+00:00</updated>
<author>
<name>Jagannathan Raman</name>
</author>
<published>2022-06-13T20:26:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=15ccf9bee7804bfd969c171fc15ddc25f18431e3'/>
<id>urn:sha1:15ccf9bee7804bfd969c171fc15ddc25f18431e3</id>
<content type='text'>
Define and register callbacks to manage the RAM regions used for
device DMA

Signed-off-by: Elena Ufimtseva &lt;elena.ufimtseva@oracle.com&gt;
Signed-off-by: John G Johnson &lt;john.g.johnson@oracle.com&gt;
Signed-off-by: Jagannathan Raman &lt;jag.raman@oracle.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-id: faacbcd45c4d02c591f0dbfdc19041fbb3eae7eb.1655151679.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>vfio-user: IOMMU support for remote device</title>
<updated>2022-06-15T15:43:42+00:00</updated>
<author>
<name>Jagannathan Raman</name>
</author>
<published>2022-06-13T20:26:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=253007d14712fb172a59f164fe5828565e2af112'/>
<id>urn:sha1:253007d14712fb172a59f164fe5828565e2af112</id>
<content type='text'>
Assign separate address space for each device in the remote processes.

Signed-off-by: Elena Ufimtseva &lt;elena.ufimtseva@oracle.com&gt;
Signed-off-by: John G Johnson &lt;john.g.johnson@oracle.com&gt;
Signed-off-by: Jagannathan Raman &lt;jag.raman@oracle.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-id: afe0b0a97582cdad42b5b25636a29c523265a10a.1655151679.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>vfio-user: handle PCI config space accesses</title>
<updated>2022-06-15T15:43:42+00:00</updated>
<author>
<name>Jagannathan Raman</name>
</author>
<published>2022-06-13T20:26:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=90072f29d677d60694cad09c1d648f38a1e20456'/>
<id>urn:sha1:90072f29d677d60694cad09c1d648f38a1e20456</id>
<content type='text'>
Define and register handlers for PCI config space accesses

Signed-off-by: Elena Ufimtseva &lt;elena.ufimtseva@oracle.com&gt;
Signed-off-by: John G Johnson &lt;john.g.johnson@oracle.com&gt;
Signed-off-by: Jagannathan Raman &lt;jag.raman@oracle.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-id: be9d2ccf9b1d24e50dcd9c23404dbf284142cec7.1655151679.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>vfio-user: run vfio-user context</title>
<updated>2022-06-15T15:43:42+00:00</updated>
<author>
<name>Jagannathan Raman</name>
</author>
<published>2022-06-13T20:26:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9fb3fba14953958944aea18f7a5720456b7fac8f'/>
<id>urn:sha1:9fb3fba14953958944aea18f7a5720456b7fac8f</id>
<content type='text'>
Setup a handler to run vfio-user context. The context is driven by
messages to the file descriptor associated with it - get the fd for
the context and hook up the handler with it

Signed-off-by: Elena Ufimtseva &lt;elena.ufimtseva@oracle.com&gt;
Signed-off-by: John G Johnson &lt;john.g.johnson@oracle.com&gt;
Signed-off-by: Jagannathan Raman &lt;jag.raman@oracle.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-id: e934b0090529d448b6a7972b21dfc3d7421ce494.1655151679.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>vfio-user: find and init PCI device</title>
<updated>2022-06-15T15:43:42+00:00</updated>
<author>
<name>Jagannathan Raman</name>
</author>
<published>2022-06-13T20:26:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a6e8d6d98e61a270bcbd1e611f2e1d71a80d86c5'/>
<id>urn:sha1:a6e8d6d98e61a270bcbd1e611f2e1d71a80d86c5</id>
<content type='text'>
Find the PCI device with specified id. Initialize the device context
with the QEMU PCI device

Signed-off-by: Elena Ufimtseva &lt;elena.ufimtseva@oracle.com&gt;
Signed-off-by: John G Johnson &lt;john.g.johnson@oracle.com&gt;
Signed-off-by: Jagannathan Raman &lt;jag.raman@oracle.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-id: 7798dbd730099b33fdd00c4c202cfe79e5c5c151.1655151679.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
</feed>
