<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/qemu.git, branch stable-0.11</title>
<subtitle>QEMU main repository</subtitle>
<id>https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/atom?h=stable-0.11</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/atom?h=stable-0.11'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/'/>
<updated>2009-12-03T10:29:25+00:00</updated>
<entry>
<title>qcow2: Bring synchronous read/write back to life</title>
<updated>2009-12-03T10:29:25+00:00</updated>
<author>
<name>Kevin Wolf</name>
<email>kwolf@redhat.com</email>
</author>
<published>2009-12-03T09:28:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=08fd2f30bd3ee5d04596da8293689af4d4f7eb6c'/>
<id>urn:sha1:08fd2f30bd3ee5d04596da8293689af4d4f7eb6c</id>
<content type='text'>
When the synchronous read and write functions were dropped, they were replaced
by generic emulation functions. Unfortunately, these emulation functions don't
provide the same semantics as the original functions did.

The original bdrv_read would mean that we read some data synchronously and that
we won't be interrupted during this read. The latter assumption is no longer
true with the emulation function which needs to use qemu_aio_poll and therefore
allows the callback of any other concurrent AIO request to be run during the
read. Which in turn means that (meta)data read earlier could have changed and
be invalid now. qcow2 is not prepared to work in this way and it's just scary
how many places there are where other requests could run.

I'm not sure yet where exactly it breaks, but you'll see breakage with virtio
on qcow2 with a backing file. Providing synchronous functions again fixes the
problem for me.

Patchworks-ID: 35437
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Signed-off-by: Anthony Liguori &lt;aliguori@us.ibm.com&gt;
(cherry picked from commit ef845c3bf421290153154635dc18eaa677cecb43)

Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Signed-off-by: Aurelien Jarno &lt;aurelien@aurel32.net&gt;
</content>
</entry>
<entry>
<title>Update version and changelog for 0.11.1 release</title>
<updated>2009-12-02T20:27:02+00:00</updated>
<author>
<name>Aurelien Jarno</name>
<email>aurelien@aurel32.net</email>
</author>
<published>2009-12-02T20:27:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=35bfc7324e2e6946c4113ada5db30553a1a7c40b'/>
<id>urn:sha1:35bfc7324e2e6946c4113ada5db30553a1a7c40b</id>
<content type='text'>
Signed-off-by: Aurelien Jarno &lt;aurelien@aurel32.net&gt;
</content>
</entry>
<entry>
<title>fix I2C slave addressing</title>
<updated>2009-12-02T16:24:48+00:00</updated>
<author>
<name>Juha Riihimäki</name>
<email>Juha.Riihimaki@nokia.com</email>
</author>
<published>2009-06-08T06:27:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=beb52700347ae9f8ee5988e64801a09b7f3db24a'/>
<id>urn:sha1:beb52700347ae9f8ee5988e64801a09b7f3db24a</id>
<content type='text'>
With the recent device handling changes the I2C slave addressing code
was broken. With current code, if a slave with the correct address is

not found on the bus the last scanned slave on the bus will be
addressed. This is wrong. Please find attached a patch to fix it.

Signed-off-by: Juha Riihimäki &lt;juha.riihimaki@nokia.com&gt;
Acked-by: Riku Voipio &lt;riku.voipio@iki.fi&gt;
Signed-off-by: Aurelien Jarno &lt;aurelien@aurel32.net&gt;
</content>
</entry>
<entry>
<title>Revert "vga: do not resize the screen on hw_invalidate"</title>
<updated>2009-11-27T17:46:04+00:00</updated>
<author>
<name>Aurelien Jarno</name>
<email>aurelien@aurel32.net</email>
</author>
<published>2009-11-27T17:42:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=f2ab277bd18e4962fe99cc4e04af371e38fb8c4d'/>
<id>urn:sha1:f2ab277bd18e4962fe99cc4e04af371e38fb8c4d</id>
<content type='text'>
This causes ctrl+alt+u or ctrl+alt+f to not work when windows hasn't been
resized first. Other graphic emulators do resize the screen on
hw_invalidate.

This reverts commit 0bd8246bfec1dfb2eb959f52db535572c0260f4c.
</content>
</entry>
<entry>
<title>slirp: fix use-after-free</title>
<updated>2009-11-20T23:34:59+00:00</updated>
<author>
<name>Mark McLoughlin</name>
<email>markmc@redhat.com</email>
</author>
<published>2009-11-20T18:13:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=efd4bd838d7b951a8eededfbfb56b73b49e746bc'/>
<id>urn:sha1:efd4bd838d7b951a8eededfbfb56b73b49e746bc</id>
<content type='text'>
460fec67ee introduced a use-after free in slirp.

Cc: Jan Kiszka &lt;jan.kiszka@siemens.com&gt;
Signed-off-by: Mark McLoughlin &lt;markmc@redhat.com&gt;
Signed-off-by: Aurelien Jarno &lt;aurelien@aurel32.net&gt;
</content>
</entry>
<entry>
<title>Fix sparc.ld</title>
<updated>2009-11-19T00:22:47+00:00</updated>
<author>
<name>Blue Swirl</name>
<email>blauwirbel@gmail.com</email>
</author>
<published>2009-09-13T19:38:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=cc7a5a0994a5291c96cbf0ba3f848dd9c2a6ce7a'/>
<id>urn:sha1:cc7a5a0994a5291c96cbf0ba3f848dd9c2a6ce7a</id>
<content type='text'>
Makes 91b40c5be84a478e98c0416325844a7f66d0efae unnecessary.

Acked-by: Kirill A. Shutemov &lt;kirill@shutemov.name&gt;
Signed-off-by: Blue Swirl &lt;blauwirbel@gmail.com&gt;
</content>
</entry>
<entry>
<title>ELF codedump build failures</title>
<updated>2009-11-18T14:30:23+00:00</updated>
<author>
<name>Laurent Desnogues</name>
<email>laurent.desnogues@gmail.com</email>
</author>
<published>2009-07-17T12:33:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=24e6ff3b338bc297def5888ba98b336e88606a6c'/>
<id>urn:sha1:24e6ff3b338bc297def5888ba98b336e88606a6c</id>
<content type='text'>
Rename ELF coredump types to avoid conflict with the corresponding host types.

Signed-off-by: Laurent Desnogues &lt;laurent.desnogues@gmail.com&gt;
</content>
</entry>
<entry>
<title>kvm: Move KVM mp_state accessors to i386-specific code</title>
<updated>2009-11-17T06:52:16+00:00</updated>
<author>
<name>Hollis Blanchard</name>
<email>hollisb@us.ibm.com</email>
</author>
<published>2009-11-09T21:05:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=cc04c2ea68a37947c217037c3a23a037dbaff9c1'/>
<id>urn:sha1:cc04c2ea68a37947c217037c3a23a037dbaff9c1</id>
<content type='text'>
Unbreaks PowerPC and S390 KVM builds.

Signed-off-by: Hollis Blanchard &lt;hollisb@us.ibm.com&gt;
Signed-off-by: Anthony Liguori &lt;aliguori@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>this patch fixes a typo where armv4l was incorrectly spelled arm4l,</title>
<updated>2009-11-17T06:30:09+00:00</updated>
<author>
<name>Laurent Desnogues</name>
<email>laurent.desnogues@gmail.com</email>
</author>
<published>2009-07-18T12:23:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=170f7598d467e95ae41880bdde2d676757180094'/>
<id>urn:sha1:170f7598d467e95ae41880bdde2d676757180094</id>
<content type='text'>
preventing the correct handling of --cpu=armv4l.

Laurent

Signed-off-by: Laurent Desnogues &lt;laurent.desnogues@gmail.com&gt;
Signed-off-by: Andrzej Zaborowski &lt;andrew.zaborowski@intel.com&gt;
</content>
</entry>
<entry>
<title>net: disable draining tap queue in one go</title>
<updated>2009-11-10T17:17:57+00:00</updated>
<author>
<name>Mark McLoughlin</name>
<email>markmc@redhat.com</email>
</author>
<published>2009-10-27T18:18:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=3e01c7b93d2d7b2366a09ad8dc2a9a71d0a60f17'/>
<id>urn:sha1:3e01c7b93d2d7b2366a09ad8dc2a9a71d0a60f17</id>
<content type='text'>
If qemu_send_packet_async() returns zero, it means the packet has been
queued and the sent callback will be invoked once it has been flushed.

This is only possible where the NIC's receive() handler returns zero
and promises to notify the networking core that room is available in its
queue again.

In the case where the receive handler does not have this capability
(and its queue fills up) it returns -1 and the networking core does not
queue up the packet. This condition is indicated by a -1 return from
qemu_send_packet_async().

Currently, tap handles this condition simply by dropping the packet. It
should do its best to avoid getting into this situation by checking such
NIC's have room for a packet before copying the packet from the tap
interface.

tap_send() used to achieve this by only reading a single packet before
returning to the mainloop. That way, tap_can_send() is called before
reading each packet.

tap_send() was changed to completely drain the tap interface queue
without taking into account the situation where the NIC returns an
error and the packet is not queued. Let's start fixing this by
reverting to the previous behaviour of reading one packet at a time.

Reported-by: Scott Tsai &lt;scottt.tw@gmail.com&gt;
Tested-by: Sven Rudolph &lt;Sven_Rudolph@drewag.de&gt;
Signed-off-by: Mark McLoughlin &lt;markmc@redhat.com&gt;
Signed-off-by: Aurelien Jarno &lt;aurelien@aurel32.net&gt;
</content>
</entry>
</feed>
