Skip to contentSkip to conversation

[0.14] Queue of 0.14 patches/pull?

Qemu-devel Paolo Bonzini 17 participants 46 messages Jan 27, 2011 – Feb 23, 2011

lore
Share & tools
lore
#0 lore raw

Before creating rc1 we need to make sure that all patches for 0.14 have been reviewed and applied.

Please reply to this message with a subject starting with "[PING 0.14]" and a link to patchwork, gmane, or whatnot; or "[PULL 0.14]" for tree pulls. Also, I believe all patches meant for stable should also start having "[PATCH 0.14]", too.

Myself I have only

http://permalink.gmane.org/gmane.comp.emulators.qemu/88490

to ping. :) It is in branch qemu-char-echo of
git://github.com/bonzini/qemu.git as well.

Thanks!

Paolo

#1 lore raw

[Qemu-devel] [PULL 0.14] spice + usb

Hi,

There are two outstanding pull requests:

(1) usb patch queue
git://anongit.freedesktop.org/spice/qemu usb.5

Brings event queuing for usb hid devices.
Brings migration support for usb hub and usb hid devices. The latter is a quite important, it makes sure the recently added remote wakeup support keeps working after migration.

(2) spice patch queue (just reposted with one bugfix added).
git://anongit.freedesktop.org/spice/qemu spice.v30.pull

Brings a bunch of bug fixes for spice+qxl collected the last few weeks and the spicevmc chardev by Alon.

thanks,
Gerd

#2 lore raw
In reply to Paolo Bonzini
Quoted 7 lines · Paolo Bonzini

Before creating rc1 we need to make sure that all patches for 0.14 have been reviewed and applied.

Please reply to this message with a subject starting with "[PING 0.14]" and a link to patchwork, gmane, or whatnot; or "[PULL 0.14]" for tree pulls. Also, I believe all patches meant for stable should also start having "[PATCH 0.14]", too.

All my outstanding patches are routed through Kevin's tree, which means I can leave this to him.

#3 lore raw

Am 27.01.2011 13:34, schrieb Markus Armbruster:

Quoted 5 lines
Quoted 3 lines · Paolo Bonzini

Before creating rc1 we need to make sure that all patches for 0.14 have been reviewed and applied.

Quoted 7 lines
Quoted 4 lines

Please reply to this message with a subject starting with "[PING 0.14]" and a link to patchwork, gmane, or whatnot; or "[PULL 0.14]" for tree pulls. Also, I believe all patches meant for stable should also start having "[PATCH 0.14]", too.

All my outstanding patches are routed through Kevin's tree, which means I can leave this to him.

I'll send a last pull request tomorrow or on Monday.

Kevin

#4 lore raw
In reply to Markus Armbruster
Quoted 5 lines · Markus Armbruster
Quoted 3 lines · Paolo Bonzini

Before creating rc1 we need to make sure that all patches for 0.14 have been reviewed and applied.

Quoted 7 lines
Quoted 4 lines

Please reply to this message with a subject starting with "[PING 0.14]" and a link to patchwork, gmane, or whatnot; or "[PULL 0.14]" for tree pulls. Also, I believe all patches meant for stable should also start having "[PATCH 0.14]", too.

All my outstanding patches are routed through Kevin's tree, which means I can leave this to him.

I'm working on a fix for the -drive if=scsi,index=N regression, to be routed through Kevin's tree as well. Should really go into 0.14.

#5 lore raw
In reply to Paolo Bonzini
Quoted 8 lines · Paolo Bonzini

Before creating rc1 we need to make sure that all patches for 0.14 have been reviewed and applied.

Please reply to this message with a subject starting with "[PING 0.14]" and a link to patchwork, gmane, or whatnot; or "[PULL 0.14]" for tree pulls. Also, I believe all patches meant for stable should also start having "[PATCH 0.14]", too.

Quoted 9 lines

Myself I have only

http://permalink.gmane.org/gmane.comp.emulators.qemu/88490

to ping. :) It is in branch qemu-char-echo of
git://github.com/bonzini/qemu.git as well.

Thanks!

This is a good idea, thanks for doing this!

Regards,

Anthony Liguori

Quoted 3 lines

Paolo

#6 lore raw

[Qemu-devel] [PING 0.14] fix crash when a read handler calls qemu_set_fd_handler2()

Quoted 4 lines
Quoted 4 lines

Please reply to this message with a subject starting with "[PING 0.14]" and a link to patchwork, gmane, or whatnot; or "[PULL 0.14]" for tree pulls. Also, I believe all patches meant for stable should also start having "[PATCH 0.14]", too.

I am not the author of this patch, but it fixed a crash that was bugging me consistently.

http://patchwork.ozlabs.org/patch/62420/

#7 lore raw

Re: [Qemu-devel] [PING 0.14] fix crash when a read handler calls qemu_set_fd_handler2()

Quoted 10 lines · Rick Vernam
Quoted 5 lines
Quoted 5 lines

Please reply to this message with a subject starting with "[PING 0.14]" and a link to patchwork, gmane, or whatnot; or "[PULL 0.14]" for tree pulls. Also, I believe all patches meant for stable should also start having "[PATCH 0.14]", too.

I am not the author of this patch, but it fixed a crash that was bugging me consistently.

http://patchwork.ozlabs.org/patch/62420/

Stefan, I thought we're carryign a patch from you that fixes this problem? Am I mistaken?

Regards,

Anthony Liguori

#8 lore raw

Re: [Qemu-devel] [PING 0.14] fix crash when a read handler calls qemu_set_fd_handler2()

Quoted 12 lines · Anthony Liguori
Quoted 11 lines · Rick Vernam
Quoted 6 lines
Quoted 6 lines

Please reply to this message with a subject starting with "[PING 0.14]" and a link to patchwork, gmane, or whatnot; or "[PULL 0.14]" for tree pulls.  Also, I believe all patches meant for stable should also start having "[PATCH 0.14]", too.

I am not the author of this patch, but it fixed a crash that was bugging me
consistently.

Quoted 5 lines
Quoted 2 lines

http://patchwork.ozlabs.org/patch/62420/

Stefan, I thought we're carryign a patch from you that fixes this problem? Am I mistaken?

Yes, that crash was fixed in qemu.git by 0290b57bdfec83ca78b6d119ea9847bb17943328 "Delete IOHandlers after potentially running them".

To be fair Corentin and Yoshiaki seemed in favor of applying this one regardless:
http://patchwork.ozlabs.org/patch/80335/

Stefan

#9 lore raw

Re: [Qemu-devel] [PING 0.14] fix crash when a read handler calls qemu_set_fd_handler2()

Quoted 20 lines · Stefan Hajnoczi
Quoted 12 lines · Anthony Liguori
Quoted 10 lines · Rick Vernam
Quoted 6 lines
Quoted 6 lines

Please reply to this message with a subject starting with "[PING 0.14]" and a link to patchwork, gmane, or whatnot; or "[PULL 0.14]" for tree pulls. Also, I believe all patches meant for stable should also start having "[PATCH 0.14]", too.

I am not the author of this patch, but it fixed a crash that was bugging me
consistently.

Quoted 6 lines
Quoted 3 lines

http://patchwork.ozlabs.org/patch/62420/

Stefan, I thought we're carryign a patch from you that fixes this problem?
Am I mistaken?

Quoted 8 lines

Yes, that crash was fixed in qemu.git by 0290b57bdfec83ca78b6d119ea9847bb17943328 "Delete IOHandlers after potentially running them".

To be fair Corentin and Yoshiaki seemed in favor of applying this one regardless:
http://patchwork.ozlabs.org/patch/80335/

Yeah, the logic is bad there though. The ioh gets freed as soon as that condition is over so the assignments to NULL are pointless.

But at any rate, let's just get rid of the whole dang thing and get a glib based main loop in as soon as we can.

Regards,

Anthony Liguori

Quoted 2 lines

Stefan

#10 lore raw

[Qemu-devel] [PING 0.14] seabios virtio bug

In reply to Anthony Liguori
Quoted 4 lines
Quoted 4 lines

Please reply to this message with a subject starting with "[PING 0.14]" and a link to patchwork, gmane, or whatnot; or "[PULL 0.14]" for tree pulls. Also, I believe all patches meant for stable should also start having "[PATCH 0.14]", too.

I'm not sure how to tell which version of seabios is shipped with qemu. What I am sure about is that the version that shipped with qemu 0.13 had a bug as described here
http://lists.nongnu.org/archive/html/qemu-devel/2010-09/msg01145.html

The patch to seabios that fixed the bug was released with seabios-0.6.1, though I'm not sure if it was back-ported.
http://www.seabios.org/pipermail/seabios/2010-September/000909.html

#12 lore raw

[Qemu-devel] Re: [PING 0.14] seabios virtio bug

Quoted 9 lines · Paolo Bonzini
Quoted 3 lines · Rick Vernam

The patch to seabios that fixed the bug was released with seabios-0.6.1, though I'm not sure if it was back-ported.
http://www.seabios.org/pipermail/seabios/2010-September/000909.html

Right now QEMU's seabios submodule points at 0.6.1.

Should it be updated to include Gleb and Kevin's bootorder work?

There is not stable release with bootorder yet.

--
Gleb.

#13 lore raw
In reply to Anthony Liguori
Quoted 11 lines · Anthony Liguori
Quoted 10 lines · Paolo Bonzini

Before creating rc1 we need to make sure that all patches for 0.14 have been reviewed and applied.

Please reply to this message with a subject starting with "[PING 0.14]" and a link to patchwork, gmane, or whatnot; or "[PULL 0.14]" for tree pulls. Also, I believe all patches meant for stable should also start having "[PATCH 0.14]", too.

Myself I have only

Quoted 9 lines
Quoted 6 lines

http://permalink.gmane.org/gmane.comp.emulators.qemu/88490

to ping. :) It is in branch qemu-char-echo of
git://github.com/bonzini/qemu.git as well.

Thanks!

This is a good idea, thanks for doing this!

http://www.mail-archive.com/[email protected]/msg50368.html

--
Gleb.

#14 lore raw
In reply to Paolo Bonzini
Quoted 10 lines · Paolo Bonzini

Before creating rc1 we need to make sure that all patches for 0.14 have been reviewed and applied.

Please reply to this message with a subject starting with "[PING 0.14]" and a link to patchwork, gmane, or whatnot; or "[PULL 0.14]" for tree pulls. Also, I believe all patches meant for stable should also start having "[PATCH 0.14]", too.

Myself I have only

Quoted 8 lines

http://permalink.gmane.org/gmane.comp.emulators.qemu/88490

to ping. :) It is in branch qemu-char-echo of
git://github.com/bonzini/qemu.git as well.

Thanks!

Paolo

Have some pci fixes, should be ready by monday.
Also working on a vhost patch that I think we
need for 0.14 but only for qemu-kvm.

#15 lore raw

2011/1/28 Michael S. Tsirkin <[email protected]>:

Quoted 16 lines · Paolo Bonzini
Quoted 15 lines

Before creating rc1 we need to make sure that all patches for 0.14 have been reviewed and applied.

Please reply to this message with a subject starting with "[PING 0.14]" and a link to patchwork, gmane, or whatnot; or "[PULL 0.14]" for tree pulls.  Also, I believe all patches meant for stable should also start having "[PATCH 0.14]", too.

Myself I have only

http://permalink.gmane.org/gmane.comp.emulators.qemu/88490

to ping. :)  It is in branch qemu-char-echo of
git://github.com/bonzini/qemu.git as well.

Quoted 7 lines
Quoted 3 lines

Thanks!

Paolo

Have some pci fixes, should be ready by monday.
Also working on a vhost patch that I think we
need for 0.14 but only for qemu-kvm.

I would like Kemari to be included for 0.14. Thanks to many valuable comments from various reviewers, it got better than ever, I believe. For those who may object, it wouldn't affect any functions including live migration unless one turns it on. Besides, it is a good application of live migration. By having merged, I would be able to focus on increasing functionality and optimization.

Thanks,

Yoshi

#16 lore raw

28.01.2011 11:06, Yoshiaki Tamura wrote:
[]

Quoted 7 lines

I would like Kemari to be included for 0.14. Thanks to many valuable comments from various reviewers, it got better than ever, I believe. For those who may object, it wouldn't affect any functions including live migration unless one turns it on. Besides, it is a good application of live migration. By having merged, I would be able to focus on increasing functionality and optimization.

It's somewhat unexpected to see merge request for any new functionality into a "stable" branch. Having nothing bad against Kemari, I still think we shouldn't include any new functionality into 0.14, which were planned to be released before new year... ;)

I mean, if it were not merged so far, for reasons that can be discussed separately etc, regardless of its good shape and so on... let's don't do any last-minute merges.

Mergeing it to a development branch is entirely another question.

/mjt

#17 lore raw
Quoted 16 lines · Michael Tokarev

28.01.2011 11:06, Yoshiaki Tamura wrote:
[]

Quoted 7 lines

I would like Kemari to be included for 0.14. Thanks to many valuable comments from various reviewers, it got better than ever, I believe. For those who may object, it wouldn't affect any functions including live migration unless one turns it on. Besides, it is a good application of live migration. By having merged, I would be able to focus on increasing functionality and optimization.

It's somewhat unexpected to see merge request for any new functionality into a "stable" branch. Having nothing bad against Kemari, I still think we shouldn't include any new functionality into 0.14, which were planned to be released before new year... ;)

Quoted 3 lines

I mean, if it were not merged so far, for reasons that can be discussed separately etc, regardless of its good shape and so on... let's don't do any last-minute merges.

To be fair to Yoshiaki, the first 17 patches in his 19-patch series have no impact on the operation of QEMU, and even the last two are Kemari-only. I know almost nothing about Kemari so I cannot comment on the technical side of those patches, only that it w^Hshouldn't be destabilizing. I made some comments on a couple of patches, so I'm inclined to say no as well.

http://permalink.gmane.org/gmane.comp.emulators.qemu/91096 should be applied in any case, as it is a regression from 0.12.

Paolo

#18 lore raw

2011/1/28 Paolo Bonzini <[email protected]>:

Quoted 23 lines · Michael Tokarev
Quoted 18 lines

28.01.2011 11:06, Yoshiaki Tamura wrote:
[]

Quoted 8 lines

I would like Kemari to be included for 0.14.  Thanks to many valuable comments from various reviewers, it got better than ever, I believe.  For those who may object, it wouldn't affect any functions including live migration unless one turns it on. Besides, it is a good application of live migration.  By having merged, I would be able to focus on increasing functionality and optimization.

It's somewhat unexpected to see merge request for any new functionality into a "stable" branch.  Having nothing bad against Kemari, I still think we shouldn't include any new functionality into 0.14, which were planned to be released before new year... ;)

Quoted 3 lines

I mean, if it were not merged so far, for reasons that can be discussed separately etc, regardless of its good shape and so on... let's don't do any last-minute merges.

Quoted 5 lines

To be fair to Yoshiaki, the first 17 patches in his 19-patch series have no impact on the operation of QEMU, and even the last two are Kemari-only.  I know almost nothing about Kemari so I cannot comment on the technical side of those patches, only that it w^Hshouldn't be destabilizing.  I made some comments on a couple of patches, so I'm inclined to say no as well.

I don't have any intention to destabilize qemu, so I'm happy to follow what people think appropriate.

Quoted 2 lines

http://permalink.gmane.org/gmane.comp.emulators.qemu/91096 should be applied in any case, as it is a regression from 0.12.

Oops, I forgot to list it :) Thanks for catching.

Yoshi

Quoted 4 lines

Paolo

#20 lore raw

2011/2/2 Paolo Bonzini <[email protected]>:

Quoted 9 lines · Yoshiaki Tamura
Quoted 6 lines
Quoted 4 lines

 http://permalink.gmane.org/gmane.comp.emulators.qemu/91096  should be applied
 in any case, as it is a regression from 0.12.

Oops, I forgot to list it:)   Thanks for catching.

This one is still missing in 0.14.

Posted with [PATCH 0.14] tag, so that it won't get missed.

http://www.mail-archive.com/[email protected]/msg53954.html

Thanks,

Yoshi

Quoted 4 lines

Paolo

#21 lore raw
In reply to Paolo Bonzini
Quoted 17 lines · Paolo Bonzini
Quoted 16 lines · Michael Tokarev

28.01.2011 11:06, Yoshiaki Tamura wrote:
[]

Quoted 7 lines

I would like Kemari to be included for 0.14. Thanks to many valuable comments from various reviewers, it got better than ever, I believe. For those who may object, it wouldn't affect any functions including live migration unless one turns it on. Besides, it is a good application of live migration. By having merged, I would be able to focus on increasing functionality and optimization.

It's somewhat unexpected to see merge request for any new functionality into a "stable" branch. Having nothing bad against Kemari, I still think we shouldn't include any new functionality into 0.14, which were planned to be released before new year... ;)

Quoted 5 lines
Quoted 3 lines

I mean, if it were not merged so far, for reasons that can be discussed separately etc, regardless of its good shape and so on... let's don't do any last-minute merges.

To be fair to Yoshiaki, the first 17 patches in his 19-patch series have no impact on the operation of QEMU, and even the last two are Kemari-only. I know almost nothing about Kemari so I cannot comment on the technical side of those patches, only that it w^Hshouldn't be destabilizing. I made some comments on a couple of patches, so I'm inclined to say no as well.

No, I'd prefer not to take Kemari before the 0.14 freeze. It gives us a full release cycle for testing plus gives a nice headline feature for 0.15.

Quoted 1 line

http://permalink.gmane.org/gmane.comp.emulators.qemu/91096 should be applied in any case, as it is a regression from 0.12.

Thanks.

Regards,

Anthony Liguori

Quoted 2 lines

Paolo

#22 lore raw

2011/1/29 Anthony Liguori <[email protected]>:

Quoted 25 lines · Paolo Bonzini
Quoted 24 lines · Michael Tokarev
Quoted 21 lines

28.01.2011 11:06, Yoshiaki Tamura wrote:
[]

Quoted 8 lines

I would like Kemari to be included for 0.14.  Thanks to many valuable comments from various reviewers, it got better than ever, I believe.  For those who may object, it wouldn't affect any functions including live migration unless one turns it on. Besides, it is a good application of live migration.  By having merged, I would be able to focus on increasing functionality and optimization.

It's somewhat unexpected to see merge request for any new functionality into a "stable" branch.  Having nothing bad against Kemari, I still think we shouldn't include any new functionality into 0.14, which were planned to be released before new year... ;)

I mean, if it were not merged so far, for reasons that can be discussed separately etc, regardless of its good shape and so on... let's don't do any last-minute merges.

Quoted 8 lines
Quoted 5 lines

To be fair to Yoshiaki, the first 17 patches in his 19-patch series have no impact on the operation of QEMU, and even the last two are Kemari-only. I know almost nothing about Kemari so I cannot comment on the technical side of those patches, only that it w^Hshouldn't be destabilizing.  I made some comments on a couple of patches, so I'm inclined to say no as well.

No, I'd prefer not to take Kemari before the 0.14 freeze.  It gives us a full release cycle for testing plus gives a nice headline feature for 0.15.

Sounds reasonable to me. I thought it might be forgotten unless I didn't raise my voice :) I'll keep up the pace to get it in once the development cycle is ready.

Thanks,

Yoshi

Quoted 15 lines
Quoted 2 lines

http://permalink.gmane.org/gmane.comp.emulators.qemu/91096 should be applied in any case, as it is a regression from 0.12.

Thanks.

Regards,

Anthony Liguori

Quoted 2 lines

Paolo

#23 lore raw
In reply to Paolo Bonzini
Quoted 7 lines · Paolo Bonzini

Before creating rc1 we need to make sure that all patches for 0.14 have been reviewed and applied.

Please reply to this message with a subject starting with "[PING 0.14]" and a link to patchwork, gmane, or whatnot; or "[PULL 0.14]" for tree pulls. Also, I believe all patches meant for stable should also start having "[PATCH 0.14]", too.

I have the following pull request for virtio-serial:

http://thread.gmane.org/gmane.comp.emulators.qemu/91054

git://git.kernel.org/pub/scm/virt/qemu/amit/virtio-serial.git for-anthony

Quoted 1 line

From the orig. mail:

Please pull for fixes to the virtio-serial code:
- Don't copy over guest buffer to host (prevents potential DoS scenarios, pointed out by Paul Brook)
- Add support for flow control
- A couple of trivial fixes to virtio-console code

Amit

#24 lore raw

[Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

In reply to Paolo Bonzini

Hello,

these are some patches which I found on my stack of open patches.

All of them should go into 0.14, and at least some of them could also be applied to 0.13.

[PATCH] hw/fmopl: Fix buffer access out-of-bounds errors (http://patchwork.ozlabs.org/patch/79054/)
[PATCH] linux-user: Fix possible realloc memory leak (http://patchwork.ozlabs.org/patch/79217/)

[PATCH 1/3] tests: Fix two memory leaks (http://patchwork.ozlabs.org/patch/79945/)
[PATCH 2/3] check-qdict: Fix possible crash (http://patchwork.ozlabs.org/patch/79946/)
[PATCH 3/3] w64: Fix problem with missing sigset_t (http://patchwork.ozlabs.org/patch/79947/)

[PATCH 1/3] pci: Fix memory leak (http://patchwork.ozlabs.org/patch/79996/)
[PATCH 2/3] ppc405: Fix memory leak (http://patchwork.ozlabs.org/patch/79997/)
[PATCH 3/3] s390: Fix memory leak (http://patchwork.ozlabs.org/patch/79998/)

[PATCH] Fix trivial "endianness bugs" (http://patchwork.ozlabs.org/patch/80223/)

[PATCH] HACKING: Update status of format checking (http://lists.nongnu.org/archive/html/qemu-devel/2011-01/msg02476.html)
[PATCH] mingw32: Fix definitions for PRId64, PRIx64, PRIu64, PRIo64 (http://patchwork.ozlabs.org/patch/74276/)

Regards,
Stefan Weil

#28 lore raw

Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

In reply to Stefan Weil
Quoted 5 lines · Stefan Weil

Hello,

these are some patches which I found on my stack of open patches.

All of them should go into 0.14, and at least some of them could also be applied to 0.13.

This need the following Acks:

Quoted 2 lines

[PATCH] hw/fmopl: Fix buffer access out-of-bounds errors (http://patchwork.ozlabs.org/patch/79054/)

malc

Quoted 1 line

[PATCH] linux-user: Fix possible realloc memory leak (http://patchwork.ozlabs.org/patch/79217/)

Riku

Quoted 2 lines

[PATCH 1/3] tests: Fix two memory leaks (http://patchwork.ozlabs.org/patch/79945/)
[PATCH 2/3] check-qdict: Fix possible crash (http://patchwork.ozlabs.org/patch/79946/)

Luiz

Quoted 1 line

[PATCH 3/3] w64: Fix problem with missing sigset_t (http://patchwork.ozlabs.org/patch/79947/)

We don't support w64...

Quoted 1 line

[PATCH 1/3] pci: Fix memory leak (http://patchwork.ozlabs.org/patch/79996/)

mst (looks like he did)

Quoted 2 lines

[PATCH 2/3] ppc405: Fix memory leak (http://patchwork.ozlabs.org/patch/79997/)
[PATCH 3/3] s390: Fix memory leak (http://patchwork.ozlabs.org/patch/79998/)

Alex for both of these.

Regards,

Anthony Liguori

Quoted 9 lines

[PATCH] Fix trivial "endianness bugs" (http://patchwork.ozlabs.org/patch/80223/)

[PATCH] HACKING: Update status of format checking (http://lists.nongnu.org/archive/html/qemu-devel/2011-01/msg02476.html)
[PATCH] mingw32: Fix definitions for PRId64, PRIx64, PRIu64, PRIo64 (http://patchwork.ozlabs.org/patch/74276/)

Regards,
Stefan Weil

#29 lore raw

Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

Quoted 6 lines · Anthony Liguori
Quoted 4 lines

[PATCH 3/3] w64: Fix problem with missing sigset_t
(http://patchwork.ozlabs.org/patch/79947/)

We don't support w64...

AFAIK mingw-w64 supports both 32-bit and 64-bit compilation, so the patch subject is misleading.

Paolo

#30 lore raw

Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

In reply to Anthony Liguori
Quoted 27 lines · Anthony Liguori
Quoted 5 lines · Stefan Weil

Hello,

these are some patches which I found on my stack of open patches.

All of them should go into 0.14, and at least some of them could also be applied to 0.13.

This need the following Acks:

Quoted 2 lines

[PATCH] hw/fmopl: Fix buffer access out-of-bounds errors (http://patchwork.ozlabs.org/patch/79054/)

malc

Quoted 1 line

[PATCH] linux-user: Fix possible realloc memory leak (http://patchwork.ozlabs.org/patch/79217/)

Riku

Quoted 2 lines

[PATCH 1/3] tests: Fix two memory leaks (http://patchwork.ozlabs.org/patch/79945/)
[PATCH 2/3] check-qdict: Fix possible crash (http://patchwork.ozlabs.org/patch/79946/)

Luiz

Quoted 1 line

[PATCH 3/3] w64: Fix problem with missing sigset_t (http://patchwork.ozlabs.org/patch/79947/)

We don't support w64...

Quoted 8 lines
Quoted 1 line

[PATCH 1/3] pci: Fix memory leak (http://patchwork.ozlabs.org/patch/79996/)

mst (looks like he did)

Quoted 2 lines

[PATCH 2/3] ppc405: Fix memory leak (http://patchwork.ozlabs.org/patch/79997/)
[PATCH 3/3] s390: Fix memory leak (http://patchwork.ozlabs.org/patch/79998/)

Alex for both of these.

for both :)

Alex

Quoted 15 lines

Regards,

Anthony Liguori

Quoted 9 lines

[PATCH] Fix trivial "endianness bugs" (http://patchwork.ozlabs.org/patch/80223/)

[PATCH] HACKING: Update status of format checking (http://lists.nongnu.org/archive/html/qemu-devel/2011-01/msg02476.html)
[PATCH] mingw32: Fix definitions for PRId64, PRIx64, PRIu64, PRIo64 (http://patchwork.ozlabs.org/patch/74276/)

Regards,
Stefan Weil

#31 lore raw

Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

In reply to Anthony Liguori
Quoted 1 line · Anthony Liguori

On 02/02/2011 01:28 PM, Stefan Weil wrote:

[...]

Quoted 7 lines
Quoted 5 lines

[PATCH 1/3] tests: Fix two memory leaks
(http://patchwork.ozlabs.org/patch/79945/)

[PATCH 2/3] check-qdict: Fix possible crash
(http://patchwork.ozlabs.org/patch/79946/)

Luiz

I wouldn't bother with the second one for 0.14. Yes, we're reading lines from a file with %s, but it's a fixed file with known contents, no long lines, and we're reading it in a test program only developers ever use.

As to the first one, Luiz has never touched that file. Neither have I, and it's not obvious to me why it should go into 0.14.

[...]

#32 lore raw

Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

Quoted 16 lines · Markus Armbruster
Quoted 2 lines · Anthony Liguori

On 02/02/2011 01:28 PM, Stefan Weil wrote:

[...]

Quoted 9 lines
Quoted 7 lines

[PATCH 1/3] tests: Fix two memory leaks
(http://patchwork.ozlabs.org/patch/79945/)

[PATCH 2/3] check-qdict: Fix possible crash
(http://patchwork.ozlabs.org/patch/79946/)

Luiz

Quoted 8 lines

I wouldn't bother with the second one for 0.14. Yes, we're reading lines from a file with %s, but it's a fixed file with known contents, no long lines, and we're reading it in a test program only developers ever use.

As to the first one, Luiz has never touched that file. Neither have I, and it's not obvious to me why it should go into 0.14.

Yeah, I just meant the qdict one.

Regards,

Anthony Liguori

Quoted 3 lines

[...]

#33 lore raw

Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

In reply to Markus Armbruster
Quoted 10 lines · On Fri, 04 Feb 2011 16:27:46 +0100 Markus Armbruster <[email protected]> wrote:
Quoted 1 line · Anthony Liguori

On 02/02/2011 01:28 PM, Stefan Weil wrote:

[...]

Quoted 6 lines
Quoted 5 lines

[PATCH 1/3] tests: Fix two memory leaks
(http://patchwork.ozlabs.org/patch/79945/)

[PATCH 2/3] check-qdict: Fix possible crash
(http://patchwork.ozlabs.org/patch/79946/)

Quoted 6 lines
Quoted 1 line

Luiz

I wouldn't bother with the second one for 0.14. Yes, we're reading lines from a file with %s, but it's a fixed file with known contents, no long lines, and we're reading it in a test program only developers ever use.

Agreed.

Quoted 6 lines

As to the first one, Luiz has never touched that file. Neither have I, and it's not obvious to me why it should go into 0.14.

[...]

#34 lore raw

Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

In reply to Markus Armbruster

Am 04.02.2011 16:27, schrieb Markus Armbruster:

Quoted 17 lines
Quoted 1 line · Anthony Liguori

On 02/02/2011 01:28 PM, Stefan Weil wrote:

[...]

Quoted 7 lines
Quoted 5 lines

[PATCH 1/3] tests: Fix two memory leaks
(http://patchwork.ozlabs.org/patch/79945/)

[PATCH 2/3] check-qdict: Fix possible crash
(http://patchwork.ozlabs.org/patch/79946/)

Luiz

I wouldn't bother with the second one for 0.14. Yes, we're reading lines from a file with %s, but it's a fixed file with known contents, no long lines, and we're reading it in a test program only developers ever use.

Quoted 4 lines

As to the first one, Luiz has never touched that file. Neither have I, and it's not obvious to me why it should go into 0.14.

[...]

Even if the current code does not result in a real bug at the moment, it should get fixed:

* Using tools like cppcheck (or others) to find bugs is good, because it finds bugs which are important.
Sorting out "unimportant" bugs from the results wastes time which could be invested better, and this waste of time lasts forever until the "unimportant" bug will be fixed. The sooner you fix it, the better it is.

* Code gets copied, and maybe the copy of code with some weakness can expose a real problem.

Therefore I think that both patches should be applied at least to qemu master (as they are really simple patches, applying them to 0.14 would be cheap and good as well).

Regards,
Stefan Weil

#35 lore raw

Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

Quoted 26 lines · Stefan Weil

Am 04.02.2011 16:27, schrieb Markus Armbruster:

Quoted 17 lines
Quoted 1 line · Anthony Liguori

On 02/02/2011 01:28 PM, Stefan Weil wrote:

[...]

Quoted 7 lines
Quoted 5 lines

[PATCH 1/3] tests: Fix two memory leaks
(http://patchwork.ozlabs.org/patch/79945/)

[PATCH 2/3] check-qdict: Fix possible crash
(http://patchwork.ozlabs.org/patch/79946/)

Luiz

I wouldn't bother with the second one for 0.14. Yes, we're reading lines from a file with %s, but it's a fixed file with known contents, no long lines, and we're reading it in a test program only developers ever use.

Quoted 4 lines

As to the first one, Luiz has never touched that file. Neither have I, and it's not obvious to me why it should go into 0.14.

[...]

Even if the current code does not result in a real bug at the moment, it should get fixed:

Quoted 6 lines

* Using tools like cppcheck (or others) to find bugs is good, because it finds bugs which are important.
Sorting out "unimportant" bugs from the results wastes time which could be invested better, and this waste of time lasts forever until the "unimportant" bug will be fixed. The sooner you fix it, the better it is.

No, this is not a good use of time. I've said multiple times in the past, I'm not interested in implementing work arounds for false positives in static analysis tools.

We have enough real problems to fix, we don't need to waste cycles on psuedo problems.

Regards,

Anthony Liguori

Quoted 12 lines

* Code gets copied, and maybe the copy of code with some weakness can expose a real problem.

Therefore I think that both patches should be applied at least to qemu master (as they are really simple patches, applying them to 0.14 would be cheap and good as well).

Regards,
Stefan Weil

#36 lore raw

Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

Am 04.02.2011 18:21, schrieb Anthony Liguori:

Quoted 34 lines · Stefan Weil
Quoted 26 lines

Am 04.02.2011 16:27, schrieb Markus Armbruster:

Quoted 17 lines
Quoted 1 line · Anthony Liguori

On 02/02/2011 01:28 PM, Stefan Weil wrote:

[...]

Quoted 7 lines
Quoted 5 lines

[PATCH 1/3] tests: Fix two memory leaks
(http://patchwork.ozlabs.org/patch/79945/)

[PATCH 2/3] check-qdict: Fix possible crash
(http://patchwork.ozlabs.org/patch/79946/)

Luiz

I wouldn't bother with the second one for 0.14. Yes, we're reading lines from a file with %s, but it's a fixed file with known contents, no long lines, and we're reading it in a test program only developers ever use.

Quoted 4 lines

As to the first one, Luiz has never touched that file. Neither have I, and it's not obvious to me why it should go into 0.14.

[...]

Even if the current code does not result in a real bug at the moment, it should get fixed:

Quoted 6 lines

* Using tools like cppcheck (or others) to find bugs is good, because it finds bugs which are important.
Sorting out "unimportant" bugs from the results wastes time which could be invested better, and this waste of time lasts forever until the "unimportant" bug will be fixed. The sooner you fix it, the better it is.

Quoted 7 lines

No, this is not a good use of time. I've said multiple times in the past, I'm not interested in implementing work arounds for false positives in static analysis tools.

We have enough real problems to fix, we don't need to waste cycles on psuedo problems.

Regards,

Anthony Liguori

Hi Anthony,

please accept that even if you said something multiple times, other people might have a different point of view. QEMU is team work, isn't it?

Both positives are correct, there was no false positive:

Reading strings from external files into limited memory without limiting their length is bad. Even if it works with some input data, this kind of programming will be copied by novice programmers and used with data which is critical.

In the second case, it might be a philosophical question whether resources like memory or files should be released explicitly. I tend to say yes, other people say no because the OS will release them automatically when the program terminates. But there is no doubt that the tool which says there is a leak is right.

Regards,
Stefan Weil

#37 lore raw

Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

Quoted 4 lines · Stefan Weil

Hi Anthony,

please accept that even if you said something multiple times, other people might have a different point of view.

Yup, just making my point of view clear.

Quoted 8 lines

QEMU is team work, isn't it?

Both positives are correct, there was no false positive:

Reading strings from external files into limited memory without limiting their length is bad. Even if it works with some input data, this kind of programming will be copied by novice programmers and used with data which is critical.

This is why I dislike patches like this, because the discussion about whether it really is important or not ends up being a huge distraction.

Regards,

Anthony Liguori

#38 lore raw

Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

In reply to Stefan Weil
Quoted 49 lines · On Fri, 04 Feb 2011 18:36:39 +0100 Stefan Weil <[email protected]> wrote:

Am 04.02.2011 18:21, schrieb Anthony Liguori:

Quoted 39 lines · Stefan Weil
Quoted 27 lines

Am 04.02.2011 16:27, schrieb Markus Armbruster:

Quoted 18 lines
Quoted 1 line · Anthony Liguori

On 02/02/2011 01:28 PM, Stefan Weil wrote:

[...]

Quoted 7 lines
Quoted 5 lines

[PATCH 1/3] tests: Fix two memory leaks
(http://patchwork.ozlabs.org/patch/79945/)

[PATCH 2/3] check-qdict: Fix possible crash
(http://patchwork.ozlabs.org/patch/79946/)

Luiz

I wouldn't bother with the second one for 0.14. Yes, we're reading lines from a file with %s, but it's a fixed file with known contents, no
long lines, and we're reading it in a test program only developers ever use.

Quoted 4 lines

As to the first one, Luiz has never touched that file. Neither have I, and it's not obvious to me why it should go into 0.14.

[...]

Even if the current code does not result in a real bug at the moment, it should get fixed:

Quoted 6 lines

* Using tools like cppcheck (or others) to find bugs is good, because it finds bugs which are important.
Sorting out "unimportant" bugs from the results wastes time which could be invested better, and this waste of time lasts forever until the "unimportant" bug will be fixed. The sooner you fix it, the better it is.

No, this is not a good use of time. I've said multiple times in the past, I'm not interested in implementing work arounds for false positives in static analysis tools.

Quoted 6 lines

We have enough real problems to fix, we don't need to waste cycles on psuedo problems.

Regards,

Anthony Liguori

Hi Anthony,

Quoted 8 lines

please accept that even if you said something multiple times, other people might have a different point of view. QEMU is team work, isn't it?

Both positives are correct, there was no false positive:

Reading strings from external files into limited memory without limiting their length is bad.

This wasn't denied, what Markus said is that this is test code and thus it isn't high priority for the (now released) 0.14 release.

Quoted 3 lines

Even if it works with
some input data, this kind of programming will be copied by novice programmers and used with data which is critical.

OMG, are they copying code from qemu?!

Quoted 12 lines

In the second case, it might be a philosophical question whether resources like memory or files should be released explicitly. I tend to say yes, other people say no because the OS will release them automatically when the program terminates. But there is no doubt that the tool which says there is a leak is right.

Regards,
Stefan Weil

#39 lore raw

Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

Am 07.02.2011 19:54, schrieb Luiz Capitulino:

Quoted 2 lines

This wasn't denied, what Markus said is that this is test code and thus it isn't high priority for the (now released) 0.14 release.

That's ok. Fixing the code in master is fine.

Thanks,
Stefan

#40 lore raw

Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

In reply to Markus Armbruster

Am 04.02.2011 16:27, schrieb Markus Armbruster:

Quoted 21 lines
Quoted 2 lines · Anthony Liguori

On 02/02/2011 01:28 PM, Stefan Weil wrote:

[...]

Quoted 9 lines
Quoted 7 lines

[PATCH 1/3] tests: Fix two memory leaks
(http://patchwork.ozlabs.org/patch/79945/)

[PATCH 2/3] check-qdict: Fix possible crash
(http://patchwork.ozlabs.org/patch/79946/)

Luiz

I wouldn't bother with the second one for 0.14. Yes, we're reading lines from a file with %s, but it's a fixed file with known contents, no long lines, and we're reading it in a test program only developers ever use.

Quoted 5 lines

As to the first one, Luiz has never touched that file. Neither have I, and it's not obvious to me why it should go into 0.14.

[...]

Ack for qemu master then?

#41 lore raw

Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

Quoted 22 lines · Stefan Weil

Am 04.02.2011 16:27, schrieb Markus Armbruster:

Quoted 21 lines
Quoted 2 lines · Anthony Liguori

On 02/02/2011 01:28 PM, Stefan Weil wrote:

[...]

Quoted 9 lines
Quoted 7 lines

[PATCH 1/3] tests: Fix two memory leaks
(http://patchwork.ozlabs.org/patch/79945/)

[PATCH 2/3] check-qdict: Fix possible crash
(http://patchwork.ozlabs.org/patch/79946/)

Luiz

I wouldn't bother with the second one for 0.14. Yes, we're reading lines from a file with %s, but it's a fixed file with known contents, no long lines, and we're reading it in a test program only developers ever use.

Quoted 8 lines
Quoted 5 lines

As to the first one, Luiz has never touched that file. Neither have I, and it's not obvious to me why it should go into 0.14.

[...]

Ack for qemu master then?

I wouldn't bother myself, but I won't object, either.

#42 lore raw

Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

In reply to Anthony Liguori
Quoted 8 lines · Anthony Liguori
Quoted 6 lines · Stefan Weil

Hello,

these are some patches which I found on my stack of open patches.

All of them should go into 0.14, and at least some of them could also be applied to 0.13.

Quoted 7 lines

This need the following Acks:

Quoted 3 lines

[PATCH] hw/fmopl: Fix buffer access out-of-bounds errors
(http://patchwork.ozlabs.org/patch/79054/)

malc

The patch looks correct.

[..snip..]

Signature · 1 line
mailto:[email protected]
#45 lore raw

Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)

In reply to Anthony Liguori

Am 04.02.2011 13:30, schrieb Anthony Liguori:

Quoted 10 lines · Stefan Weil
Quoted 5 lines

Hello,

these are some patches which I found on my stack of open patches.

All of them should go into 0.14, and at least some of them could also be applied to 0.13.

This need the following Acks:

Quoted 1 line

[PATCH] hw/fmopl: Fix buffer access out-of-bounds errors (http://patchwork.ozlabs.org/patch/79054/)

malc

Malc wrote that the patch looks correct, but it is still uncommitted.

Quoted 8 lines

Regards,

Anthony Liguori

Quoted 4 lines

[PATCH] Fix trivial "endianness bugs" (http://patchwork.ozlabs.org/patch/80223/)

[PATCH] HACKING: Update status of format checking (http://lists.nongnu.org/archive/html/qemu-devel/2011-01/msg02476.html)
[PATCH] mingw32: Fix definitions for PRId64, PRIx64, PRIu64, PRIo64 (http://patchwork.ozlabs.org/patch/74276/)

These three patches are still missing in QEMU master. I don't think that any of the patches is still needed in 0.14.

So in total four of these patches are still waiting for a committer (or a comment why they won't be committed).

Thanks to the committers of the other patches.

Regards,
Stefan Weil