<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/HACKING, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/HACKING?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/HACKING?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2019-09-05T13:27:06+00:00</updated>
<entry>
<title>docs: convert README, CODING_STYLE and HACKING to RST syntax</title>
<updated>2019-09-05T13:27:06+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
</author>
<published>2019-08-23T16:09:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=336a7451e8803c21a2da6e7d1eca8cfb8e8b219a'/>
<id>urn:sha1:336a7451e8803c21a2da6e7d1eca8cfb8e8b219a</id>
<content type='text'>
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
</entry>
<entry>
<title>HACKING: Document 'struct' keyword usage</title>
<updated>2019-08-20T18:00:51+00:00</updated>
<author>
<name>Eduardo Habkost</name>
</author>
<published>2019-08-12T23:46:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b87c8cdb3e838f282c878a8ddb4c598e0d0ec559'/>
<id>urn:sha1:b87c8cdb3e838f282c878a8ddb4c598e0d0ec559</id>
<content type='text'>
Sometimes we use the 'struct' keyword in headers to help us
reduce dependencies between header files.  Document that
practice.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>HACKING: document preference for g_new instead of g_malloc</title>
<updated>2018-05-20T05:32:09+00:00</updated>
<author>
<name>Murilo Opsfelder Araujo</name>
</author>
<published>2018-05-15T13:49:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f7c922ed3d8e3cb54febbdc594ce9f4400e0d290'/>
<id>urn:sha1:f7c922ed3d8e3cb54febbdc594ce9f4400e0d290</id>
<content type='text'>
This patch documents the preference for g_new instead of g_malloc. The
reasons were adapted from commit b45c03f585ea9bb1af76c73e82195418c294919d.

Discussion in QEMU's mailing list:
  http://lists.nongnu.org/archive/html/qemu-devel/2018-05/msg03238.html

Cc: qemu-devel@nongnu.org
Cc: David Hildenbrand &lt;david@redhat.com&gt;
Cc: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
Cc: Markus Armbruster &lt;armbru@redhat.com&gt;
Cc: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Murilo Opsfelder Araujo &lt;muriloo@linux.ibm.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
</content>
</entry>
<entry>
<title>HACKING: document #include order</title>
<updated>2017-01-03T16:38:47+00:00</updated>
<author>
<name>Stefan Hajnoczi</name>
</author>
<published>2016-11-16T14:39:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0891ee111217101bce683e30ed9f08cf0cfcffd7'/>
<id>urn:sha1:0891ee111217101bce683e30ed9f08cf0cfcffd7</id>
<content type='text'>
It was not obvious to me why "qemu/osdep.h" must be the first #include.
This documents the rationale and the overall #include order.

Cc: Fam Zheng &lt;famz@redhat.com&gt;
Cc: Markus Armbruster &lt;armbru@redhat.com&gt;
Cc: Eric Blake &lt;eblake@redhat.com&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Reviewed-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Message-id: 1479307161-24658-1-git-send-email-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>Disable warn about left shifts of negative values</title>
<updated>2016-08-09T20:57:36+00:00</updated>
<author>
<name>Pranith Kumar</name>
</author>
<published>2016-08-09T19:02:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=435405ac59b9334b06285e1192c693b497282a31'/>
<id>urn:sha1:435405ac59b9334b06285e1192c693b497282a31</id>
<content type='text'>
It seems like there's no good reason for the compiler to exploit the
undefinedness of left shifts.  GCC explicitly documents that they do not
use at all this possibility and, while they also say this is subject
to change, they have been saying this for 10 years (since the wording
appeared in the GCC 4.0 manual).

Disable these warnings by passing in -Wno-shift-negative-value.

Cc: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Cc: Markus Armbruster &lt;armbru@redhat.com&gt;
Cc: Laszlo Ersek &lt;lersek@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
[pranith: forward-port part of patch to 2.7]
Signed-off-by: Pranith Kumar &lt;bobby.prani@gmail.com&gt;
</content>
</entry>
<entry>
<title>HACKING: Add a section on error handling and reporting</title>
<updated>2016-02-09T12:19:49+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2016-02-03T18:03:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d76a3bf5c46d9e981faf09e6194c795ee54e5ae4'/>
<id>urn:sha1:d76a3bf5c46d9e981faf09e6194c795ee54e5ae4</id>
<content type='text'>
Inspired by an RFC PATCH from Lluís Vilanova.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Message-Id: &lt;1454522628-28294-3-git-send-email-armbru@redhat.com&gt;
Reviewed-by: Lluís Vilanova &lt;vilanova@ac.upc.edu&gt;
</content>
</entry>
<entry>
<title>HACKING: Document vaddr type usage</title>
<updated>2013-07-23T00:41:31+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2013-07-22T16:34:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2be8d4509896116dae7b3b9dffc0fccef480126d'/>
<id>urn:sha1:2be8d4509896116dae7b3b9dffc0fccef480126d</id>
<content type='text'>
Also extend documentation of target_ulong and abi_ulong.

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Andreas Färber &lt;afaerber@suse.de&gt;
</content>
</entry>
<entry>
<title>osdep, kvm: rename low-level RAM allocation functions</title>
<updated>2013-05-14T13:53:31+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2013-05-13T14:19:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=6eebf958abf3f3f701116d4524ef88bb9fd6e341'/>
<id>urn:sha1:6eebf958abf3f3f701116d4524ef88bb9fd6e341</id>
<content type='text'>
This is preparatory to the introduction of a separate freeing API.

Reported-by: Amos Kong &lt;akong@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Reviewed-by: Amos Kong &lt;akong@redhat.com&gt;
Message-id: 1368454796-14989-2-git-send-email-pbonzini@redhat.com
Signed-off-by: Anthony Liguori &lt;aliguori@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>HACKING: List areas where we may rely on impdef C behaviour</title>
<updated>2012-12-08T14:27:40+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2012-10-31T09:30:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=475363176c80feedb8feb5e335ba64de68c7b055'/>
<id>urn:sha1:475363176c80feedb8feb5e335ba64de68c7b055</id>
<content type='text'>
Add a section to HACKING saying which version of the C spec
we use and describing the bits of implementation defined C
compiler behaviour which C code in QEMU is allowed to rely on.

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Blue Swirl &lt;blauwirbel@gmail.com&gt;
</content>
</entry>
<entry>
<title>Rename target_phys_addr_t to hwaddr</title>
<updated>2012-10-23T13:58:25+00:00</updated>
<author>
<name>Avi Kivity</name>
</author>
<published>2012-10-23T10:30:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a8170e5e97ad17ca169c64ba87ae2f53850dab4c'/>
<id>urn:sha1:a8170e5e97ad17ca169c64ba87ae2f53850dab4c</id>
<content type='text'>
target_phys_addr_t is unwieldly, violates the C standard (_t suffixes are
reserved) and its purpose doesn't match the name (most target_phys_addr_t
addresses are not target specific).  Replace it with a finger-friendly,
standards conformant hwaddr.

Outstanding patchsets can be fixed up with the command

  git rebase -i --exec 'find -name "*.[ch]"
                        | xargs s/target_phys_addr_t/hwaddr/g' origin

Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
Signed-off-by: Anthony Liguori &lt;aliguori@us.ibm.com&gt;
</content>
</entry>
</feed>
