[0.14] Queue of 0.14 patches/pull?
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 ofgit://github.com/bonzini/qemu.git as well.
Thanks!
Paolo
[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
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.
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
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.
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.gitas well.Thanks!
This is a good idea, thanks for doing this!
Regards,
Anthony Liguori
Quoted 3 lines
Paolo
[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.
[Qemu-devel] [PING 0.14] seabios virtio bug
In reply to Anthony LiguoriQuoted 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
[Qemu-devel] Re: [PING 0.14] seabios virtio bug
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?
Paolo
Re: [Qemu-devel] [PING 0.14] fix crash when a read handler calls qemu_set_fd_handler2()
In reply to Rick VernamQuoted 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.
Stefan, I thought we're carryign a patch from you that fixes this problem? Am I mistaken?
Regards,
Anthony Liguori
[Qemu-devel] Re: [PING 0.14] seabios virtio bug
In reply to Paolo BonziniQuoted 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.htmlRight 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.
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.gitas 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.
Re: [Qemu-devel] [PING 0.14] fix crash when a read handler calls qemu_set_fd_handler2()
In reply to Stefan HajnocziQuoted 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
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
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
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.gitas well.Thanks!
This is a good idea, thanks for doing this!
http://www.mail-archive.com/[email protected]/msg50368.html
--
Gleb.
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.gitas 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
Re: [Qemu-devel] [PING 0.14] fix crash when a read handler calls qemu_set_fd_handler2()
In reply to Anthony LiguoriQuoted 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
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
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
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
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
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
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
Quoted 4 lines · Yoshiaki Tamura
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.
This one is still missing in 0.14.
Paolo
[Qemu-devel] [PING 0.14] Missing patches (mostly fixes)
In reply to Paolo BonziniHello,
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
[Qemu-devel] Re: [PING 0.14] Missing patches (mostly fixes)
Quoted 1 line · Stefan Weil
[PATCH 1/3] pci: Fix memory leak (http://patchwork.ozlabs.org/patch/79996/)
Looks good. Pls cc me on patches next time to make sure I do not miss a patch.
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
[Qemu-devel] Re: [PING 0.14] Missing patches (mostly fixes)
In reply to Stefan WeilQuoted 2 lines · Stefan Weil
[PATCH] linux-user: Fix possible realloc memory leak
(http://patchwork.ozlabs.org/patch/79217/)
Looks ok for me.
Riku
Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)
In reply to Stefan WeilAlso:
From: Gleb Natapov <[email protected]>
Subject: [Qemu-devel] [PATCH] do not pass NULL to strdup.
Date: Wed, 2 Feb 2011 17:34:34 +0200
Message-ID: <[email protected]>
Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)
In reply to Stefan WeilQuoted 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
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
Alexander Graf
Acked-byRe: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)
In reply to Anthony LiguoriQuoted 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
Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)
In reply to Anthony LiguoriQuoted 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.
[...]
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
[...]
Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)
In reply to Anthony LiguoriQuoted 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]
Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)
In reply to Markus ArmbrusterQuoted 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.
[...]
Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)
In reply to Markus ArmbrusterAm 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
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
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
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
Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)
In reply to Anthony LiguoriQuoted 4 lines · Anthony Liguori
Quoted 2 lines
[PATCH 1/3] pci: Fix memory leak
(http://patchwork.ozlabs.org/patch/79996/)mst (looks like he did)
Yes, ack.
riku voipio
Acked-byRe: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)
In reply to Anthony LiguoriQuoted 6 lines · Anthony Liguori
This need the following Acks:
Quoted 2 lines
[PATCH] linux-user: Fix possible realloc memory leak
(http://patchwork.ozlabs.org/patch/79217/)Riku
I thought I gave an OK for this already.
Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)
In reply to Luiz CapitulinoAm 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
Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)
In reply to Stefan WeilQuoted 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
Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)
In reply to Markus ArmbrusterAm 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?
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.
Re: [Qemu-devel] [PING 0.14] Missing patches (mostly fixes)
In reply to Anthony LiguoriAm 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