[Qemu-block] Fuzzing event loops

2017-06-11 Thread Stefan Hajnoczi
I wanted to share this idea about fuzzing event loops: https://blog.acolyer.org/2017/06/09/node-fz-fuzzing-the-server-side-event-driven-architecture/ The idea is to expose ordering dependencies and atomicity bugs in event loop callbacks/coroutines by randomly shuffling the order in which fd handl

Re: [Qemu-block] [PATCH] nbd: Fix regression on resiliency to port scan

2017-06-11 Thread Max Reitz
On 2017-06-09 00:26, Eric Blake wrote: > Back in qemu 2.5, qemu-nbd was immune to port probes (a transient > server would not quit, regardless of how many probe connections > came and went, until a connection actually negotiated). But we > broke that in commit ee7d7aa when removing the return valu

Re: [Qemu-block] [PATCH 2/2] qobject: Catch another straggler for use of qdict_put_str()

2017-06-11 Thread Max Reitz
On 2017-06-09 17:20, Eric Blake wrote: > Dan's addition of key-secret improvements in commit 29cf9336 was > developed prior to the addition of QDict scalar insertion macros, > but merged after the general cleanup in commit 46f5ac20. > Patch created mechanically by rerunning: > spatch --sp-file sc

Re: [Qemu-block] [PATCH 2/2] qobject: Catch another straggler for use of qdict_put_str()

2017-06-11 Thread Alberto Garcia
On Fri 09 Jun 2017 05:20:17 PM CEST, Eric Blake wrote: > Dan's addition of key-secret improvements in commit 29cf9336 was > developed prior to the addition of QDict scalar insertion macros, > but merged after the general cleanup in commit 46f5ac20. > Patch created mechanically by rerunning: > sp

Re: [Qemu-block] [Qemu-devel] Fwd: [BUG] Failed to compile using gcc7.1

2017-06-11 Thread Philippe Mathieu-Daudé
Hi Tsung-en, On 06/11/2017 04:08 PM, Tsung-en Hsiao wrote: Hi all, I encountered the same problem on gcc 7.1.1 and found Qu's mail in this list from google search. Temporarily fix it by specifying the string length in snprintf directive. Hope this is helpful to other people encountered the same

[Qemu-block] [RFC 2/2] block/iscsi: enable filename option and parsing

2017-06-11 Thread Jeff Cody
When enabling option parsing and blockdev-add for iscsi, we removed the 'filename' option. Unfortunately, this was a bit optimistic, as previous versions of QEMU allowed the use of the option in backing filenames via json. This means that without parsing this option, we cannot open existing image

[Qemu-block] [RFC 1/2] block/rbd: enable filename option and parsing

2017-06-11 Thread Jeff Cody
When enabling option parsing and blockdev-add for rbd, we removed the 'filename' option. Unfortunately, this was a bit optimistic, as previous versions of QEMU allowed the use of the option in backing filenames via json. This means that without parsing this option, we cannot open existing images

[Qemu-block] [RFC 0/2] Parse 'filename' option for RBD/iSCSI

2017-06-11 Thread Jeff Cody
We need to be able to parse the 'filename' option for both rbd and iscsi, because there may exist images in the wild that have json backing files, that specify the filename argument. Marking the series as RFC at least partially for the precedence given to arguments; as written, these patches will