<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/hw/char, 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/char?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/hw/char?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-10-22T21:15:40+00:00</updated>
<entry>
<title>Drop useless casts from g_malloc() &amp; friends to pointer</title>
<updated>2022-10-22T21:15:40+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2022-09-23T12:00:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0a553c12c71d5627abf223a926ab9688a5573f54'/>
<id>urn:sha1:0a553c12c71d5627abf223a926ab9688a5573f54</id>
<content type='text'>
These memory allocation functions return void *, and casting to
another pointer type is useless clutter.  Drop these casts.

If you really want another pointer type, consider g_new().

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
Message-Id: &lt;20220923120025.448759-3-armbru@redhat.com&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>hw/char/pl011: fix baud rate calculation</title>
<updated>2022-10-20T10:27:48+00:00</updated>
<author>
<name>Baruch Siach</name>
</author>
<published>2022-10-06T10:19:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=31cb769c317e0623cbe2a3e8da437b6cd7ddef9b'/>
<id>urn:sha1:31cb769c317e0623cbe2a3e8da437b6cd7ddef9b</id>
<content type='text'>
The PL011 TRM says that "UARTIBRD = 0 is invalid and UARTFBRD is ignored
when this is the case". But the code looks at FBRD for the invalid case.
Fix this.

Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Message-id: 1408f62a2e45665816527d4845ffde650957d5ab.1665051588.git.baruchs-c@neureality.ai
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>serial: Allow unaligned i/o access</title>
<updated>2022-09-29T10:38:05+00:00</updated>
<author>
<name>Arwed Meyer</name>
</author>
<published>2022-09-11T18:18:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=769a726ccb9a8ab9b2a05bca648c79b3f80ab8de'/>
<id>urn:sha1:769a726ccb9a8ab9b2a05bca648c79b3f80ab8de</id>
<content type='text'>
Unaligned i/o access on serial UART works on real PCs.
This is used for example by FreeDOS CTMouse driver. Without this it
can't reset and detect serial mice.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/77
Signed-off-by: Arwed Meyer &lt;arwed.meyer@gmx.de&gt;
Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-Id: &lt;20220911181840.8933-6-arwed.meyer@gmx.de&gt;
</content>
</entry>
<entry>
<title>acpi: serial-is: replace ISADeviceClass::build_aml with AcpiDevAmlIfClass:build_dev_aml</title>
<updated>2022-06-09T23:32:48+00:00</updated>
<author>
<name>Igor Mammedov</name>
</author>
<published>2022-06-08T13:53:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0d170dc13c54d46566fb1717f9342826b8c0c7de'/>
<id>urn:sha1:0d170dc13c54d46566fb1717f9342826b8c0c7de</id>
<content type='text'>
Signed-off-by: Igor Mammedov &lt;imammedo@redhat.com&gt;
Acked-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Message-Id: &lt;20220608135340.3304695-6-imammedo@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>acpi: parallel port: replace ISADeviceClass::build_aml with AcpiDevAmlIfClass:build_dev_aml</title>
<updated>2022-06-09T23:32:48+00:00</updated>
<author>
<name>Igor Mammedov</name>
</author>
<published>2022-06-08T13:53:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ef26fc47baf57be482e5d32bfe9b4769906f5eb7'/>
<id>urn:sha1:ef26fc47baf57be482e5d32bfe9b4769906f5eb7</id>
<content type='text'>
Signed-off-by: Igor Mammedov &lt;imammedo@redhat.com&gt;
Acked-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Message-Id: &lt;20220608135340.3304695-5-imammedo@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>virtio: drop name parameter for virtio_init()</title>
<updated>2022-05-16T08:38:40+00:00</updated>
<author>
<name>Jonah Palmer</name>
</author>
<published>2022-04-01T13:23:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3857cd5c7ffd0bcc49bd2b66654af0909c847d02'/>
<id>urn:sha1:3857cd5c7ffd0bcc49bd2b66654af0909c847d02</id>
<content type='text'>
This patch drops the name parameter for the virtio_init function.

The pair between the numeric device ID and the string device ID
(name) of a virtio device already exists, but not in a way that
lets us map between them.

This patch lets us do this and removes the need for the name
parameter in the virtio_init function.

Signed-off-by: Jonah Palmer &lt;jonah.palmer@oracle.com&gt;
Message-Id: &lt;1648819405-25696-2-git-send-email-jonah.palmer@oracle.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>hw/char: fix qcode array bounds check in ESCC impl</title>
<updated>2022-04-26T15:12:26+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
</author>
<published>2022-03-31T12:24:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9aaf11e7f2b5487b684e900cf164f0aef25f72ab'/>
<id>urn:sha1:9aaf11e7f2b5487b684e900cf164f0aef25f72ab</id>
<content type='text'>
There was an off-by-1 in the qcode conversion array bounds
check.

Fixes: e709a61a8fe1076a487376fd657544418a38ba06
Reported-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
</entry>
<entry>
<title>Use g_new() &amp; friends where that makes obvious sense</title>
<updated>2022-03-21T14:44:44+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2022-03-15T14:41:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b21e2380376c470900fcadf47507f4d5ade75e85'/>
<id>urn:sha1:b21e2380376c470900fcadf47507f4d5ade75e85</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...

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Acked-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
Message-Id: &lt;20220315144156.1595462-4-armbru@redhat.com&gt;
Reviewed-by: Pavel Dovgalyuk &lt;Pavel.Dovgalyuk@ispras.ru&gt;
</content>
</entry>
<entry>
<title>hw/isa: Inline and remove one-line isa_init_irq()</title>
<updated>2022-03-08T18:38:17+00:00</updated>
<author>
<name>Bernhard Beschow</name>
</author>
<published>2022-03-01T22:00:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=215caca6bf31913573ac0d5b729efb6ff82e1009'/>
<id>urn:sha1:215caca6bf31913573ac0d5b729efb6ff82e1009</id>
<content type='text'>
isa_init_irq() has become a trivial one-line wrapper for isa_get_irq().
It can therefore be removed.

Signed-off-by: Bernhard Beschow &lt;shentey@gmail.com&gt;
Reviewed-by: Stefan Berger &lt;stefanb@linux.ibm.com&gt; (tpm_tis_isa)
Acked-by: Corey Minyard &lt;cminyard@mvista.com&gt; (isa_ipmi_bt, isa_ipmi_kcs)
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Acked-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Message-Id: &lt;20220301220037.76555-8-shentey@gmail.com&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Message-Id: &lt;20220307134353.1950-14-philippe.mathieu.daude@gmail.com&gt;
Reviewed-by: Bernhard Beschow &lt;shentey@gmail.com&gt;
</content>
</entry>
<entry>
<title>hw/char/exynos4210_uart: Fix crash on trying to load VM state</title>
<updated>2022-01-28T14:29:46+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2022-01-20T15:16:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=617dff091f3478db9a44320df03f74b9df0617fb'/>
<id>urn:sha1:617dff091f3478db9a44320df03f74b9df0617fb</id>
<content type='text'>
The exynos4210_uart_post_load() function assumes that it is passed
the Exynos4210UartState, but it has been attached to the
VMStateDescription for the Exynos4210UartFIFO type.  The result is a
SIGSEGV when attempting to load VM state for any machine type
including this device.

Fix the bug by attaching the post-load function to the VMSD for the
Exynos4210UartState.  This is the logical place for it, because the
actions it does relate to the entire UART state, not just the FIFO.

Thanks to the bug reporter @TrungNguyen1909 for the clear bug
description and the suggested fix.

Fixes: c9d3396d80fe7ece9b
   ("hw/char/exynos4210_uart: Implement post_load function")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/638
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Message-id: 20220120151648.433736-1-peter.maydell@linaro.org
</content>
</entry>
</feed>
