<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/hw/ipmi, 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/ipmi?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/hw/ipmi?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-08-01T11:40:50+00:00</updated>
<entry>
<title>ipmi:smbus: Add a check around a memcpy</title>
<updated>2022-08-01T11:40:50+00:00</updated>
<author>
<name>Corey Minyard</name>
</author>
<published>2022-07-31T22:58:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3fde641e7286f9b968bdb3b4b922c6465f2a9abc'/>
<id>urn:sha1:3fde641e7286f9b968bdb3b4b922c6465f2a9abc</id>
<content type='text'>
In one case:

  memcpy(sid-&gt;inmsg + sid-&gt;inlen, buf, len);

if len == 0 then sid-&gt;inmsg + sig-&gt;inlen can point to one past the inmsg
array if the array is full.  We have to allow len == 0 due to some
vagueness in the spec, but we don't have to call memcpy.

Found by Coverity.  This is not a problem in practice, but the results
are technically (maybe) undefined.  So make Coverity happy.

Reported-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
Acked-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>acpi: ipmi: use AcpiDevAmlIf interface to build IPMI device descriptors</title>
<updated>2022-06-09T23:32:49+00:00</updated>
<author>
<name>Igor Mammedov</name>
</author>
<published>2022-06-08T13:53:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=5876d9b53fee5fc5a341fad1618cf3a9731206da'/>
<id>urn:sha1:5876d9b53fee5fc5a341fad1618cf3a9731206da</id>
<content type='text'>
convert ad-hoc way we use to generate AML for ISA/SMB IPMI devices
to a generic approach (i.e. make devices provide its own AML blobs
like it is done with other ISA devices (ex. KBD))

Signed-off-by: Igor Mammedov &lt;imammedo@redhat.com&gt;
Acked-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Message-Id: &lt;20220608135340.3304695-17-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>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>Mark remaining global TypeInfo instances as const</title>
<updated>2022-02-21T13:30:20+00:00</updated>
<author>
<name>Bernhard Beschow</name>
</author>
<published>2022-01-17T14:58:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=5e78c98b7cc98619d2740c7c5030aa56fb22e79f'/>
<id>urn:sha1:5e78c98b7cc98619d2740c7c5030aa56fb22e79f</id>
<content type='text'>
More than 1k of TypeInfo instances are already marked as const. Mark the
remaining ones, too.

This commit was created with:
  git grep -z -l 'static TypeInfo' -- '*.c' | \
  xargs -0 sed -i 's/static TypeInfo/static const TypeInfo/'

Signed-off-by: Bernhard Beschow &lt;shentey@gmail.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Reviewed-by: Thomas Huth &lt;thuth@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: Igor Mammedov &lt;imammedo@redhat.com&gt;
Acked-by: Corey Minyard &lt;cminyard@mvista.com&gt;
Message-id: 20220117145805.173070-2-shentey@gmail.com
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>ipmi/sim: fix watchdog_expired data type error in IPMIBmcSim struct</title>
<updated>2021-07-08T19:15:01+00:00</updated>
<author>
<name>Jinhua Cao</name>
</author>
<published>2021-06-25T02:12:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9e7449901d33ed0ddc0c432b15896019e3aec4f1'/>
<id>urn:sha1:9e7449901d33ed0ddc0c432b15896019e3aec4f1</id>
<content type='text'>
1) watchdog_expired is set bool which value could only be 0 or 1,
but watchdog_expired every bit mean different Timer Use.

2) Use the command  -ipmitool mc get watchdog-  to query
ipmi-watchdog status in guest.
...
[root@localhost ~]# ipmitool mc watchdog get
Watchdog Timer Use:     SMS/OS (0x44)
Watchdog Timer Is:      Started/Running
Watchdog Timer Actions: Hard Reset (0x01)
Pre-timeout interval:   0 seconds
Timer Expiration Flags: 0x00
Initial Countdown:      60 sec
Present Countdown:      57 sec
...
bool for watchdog_expired results -Timer Expiration Flags- always
be 0x00 or 0x01, but the -Timer Expiration Flags- indicts the Timer Use
after timeout. So change watchdog_expired data type from bool to uint8_t
to fix this problem.

Signed-off-by: Jinhua Cao &lt;caojinhua1@huawei.com&gt;
Message-Id: &lt;20210625021232.73614-1-caojinhua1@huawei.com&gt;
[I checked, a bool and uint8 are the same size for the vmstate transfer,
 so this should be fine.]
Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
</entry>
<entry>
<title>hw: Do not include qemu/log.h if it is not necessary</title>
<updated>2021-05-02T15:24:50+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2021-03-28T05:48:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=19f4ed3652e0868dd840d3bfe70cfa2cf41936be'/>
<id>urn:sha1:19f4ed3652e0868dd840d3bfe70cfa2cf41936be</id>
<content type='text'>
Many files include qemu/log.h without needing it. Remove the superfluous
include statements.

Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Message-Id: &lt;20210328054833.2351597-1-thuth@redhat.com&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>Remove superfluous timer_del() calls</title>
<updated>2021-01-08T15:13:38+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2020-12-15T15:41:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=729cc683735309bdcd55604be19292950877ecf5'/>
<id>urn:sha1:729cc683735309bdcd55604be19292950877ecf5</id>
<content type='text'>
This commit is the result of running the timer-del-timer-free.cocci
script on the whole source tree.

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Acked-by: Corey Minyard &lt;cminyard@mvista.com&gt;
Acked-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-id: 20201215154107.3255-4-peter.maydell@linaro.org
</content>
</entry>
<entry>
<title>qdev: Move softmmu properties to qdev-properties-system.h</title>
<updated>2020-12-18T20:20:17+00:00</updated>
<author>
<name>Eduardo Habkost</name>
</author>
<published>2020-12-11T22:05:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ce35e2295ea10caa97e223c1254e345a888e7ed8'/>
<id>urn:sha1:ce35e2295ea10caa97e223c1254e345a888e7ed8</id>
<content type='text'>
Move the property types and property macros implemented in
qdev-properties-system.c to a new qdev-properties-system.h
header.

Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
Reviewed-by: Igor Mammedov &lt;imammedo@redhat.com&gt;
Message-Id: &lt;20201211220529.2290218-16-ehabkost@redhat.com&gt;
Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
</content>
</entry>
<entry>
<title>Use OBJECT_DECLARE_SIMPLE_TYPE when possible</title>
<updated>2020-09-18T18:12:32+00:00</updated>
<author>
<name>Eduardo Habkost</name>
</author>
<published>2020-09-16T18:25:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8063396bf3459a810d24e3efd6110b8480f0de5b'/>
<id>urn:sha1:8063396bf3459a810d24e3efd6110b8480f0de5b</id>
<content type='text'>
This converts existing DECLARE_INSTANCE_CHECKER usage to
OBJECT_DECLARE_SIMPLE_TYPE when possible.

$ ./scripts/codeconverter/converter.py -i \
  --pattern=AddObjectDeclareSimpleType $(git grep -l '' -- '*.[ch]')

Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
Acked-by: Paul Durrant &lt;paul@xen.org&gt;
Message-Id: &lt;20200916182519.415636-6-ehabkost@redhat.com&gt;
Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
</content>
</entry>
<entry>
<title>Use DECLARE_*CHECKER* macros</title>
<updated>2020-09-09T13:27:09+00:00</updated>
<author>
<name>Eduardo Habkost</name>
</author>
<published>2020-08-31T21:07:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8110fa1d94f2997badc2af39231a1d279c5bb1ee'/>
<id>urn:sha1:8110fa1d94f2997badc2af39231a1d279c5bb1ee</id>
<content type='text'>
Generated using:

 $ ./scripts/codeconverter/converter.py -i \
   --pattern=TypeCheckMacro $(git grep -l '' -- '*.[ch]')

Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Reviewed-by: Juan Quintela &lt;quintela@redhat.com&gt;
Message-Id: &lt;20200831210740.126168-12-ehabkost@redhat.com&gt;
Reviewed-by: Juan Quintela &lt;quintela@redhat.com&gt;
Message-Id: &lt;20200831210740.126168-13-ehabkost@redhat.com&gt;
Message-Id: &lt;20200831210740.126168-14-ehabkost@redhat.com&gt;
Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
</content>
</entry>
</feed>
