[PATCH resend v2] qemu-binfmt-conf.sh: fix -F option

2021-11-29 Thread mwilck
From: Martin Wilck qemu-binfmt-conf.sh should use "-F" as short option for "--qemu-suffix". Fix the getopt call to make this work. Signed-off-by: Martin Wilck --- previous: https://lists.gnu.org/archive/html/qemu-devel/2021-09/msg03132.html ref: https://bugzilla.opensuse.org/show_bug.cgi?id=118

[PATCH v2 1/2] qemu-binfmt-conf.sh: fix -F option

2021-09-12 Thread mwilck
From: Martin Wilck qemu-binfmt-conf.sh should use "-F" as short option for "--qemu-suffix". Fix the getopt call to make this work. Signed-off-by: Martin Wilck --- v2: fixed overlong line to make patchew bot happy. Sorry for the long delay, I'd missed the bot's reply. --- scripts/qemu-binf

[PATCH] qemu-binfmt-conf.sh: fix -F option

2021-05-19 Thread mwilck
From: Martin Wilck qemu-binfmt-conf.sh should use "-F" as short option for "--qemu-suffix". Fix the getopt call to make this work. Signed-off-by: Martin Wilck --- scripts/qemu-binfmt-conf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/qemu-binfmt-conf.sh b/scrip

[PATCH v3] virtio-rng: return available data with O_NONBLOCK

2020-08-11 Thread mwilck
From: Martin Wilck If a program opens /dev/hwrng with O_NONBLOCK and uses poll() and non-blocking read() to retrieve random data, it ends up in a tight loop with poll() always returning POLLIN and read() returning EAGAIN. This repeats forever until some process makes a blocking read() call. The r

[PATCH v2] virtio-rng: return available data with O_NONBLOCK

2020-07-15 Thread mwilck
From: Martin Wilck If a program opens /dev/hwrng with O_NONBLOCK and uses poll() and non-blocking read() to retrieve random data, it ends up in a tight loop with poll() always returning POLLIN and read() returning EAGAIN. This repeats forever until some process makes a blocking read() call. The r

[PATCH] virtio-rng: return available data with O_NONBLOCK

2020-07-14 Thread mwilck
From: Martin Wilck If a program opens /dev/hwrng with O_NONBLOCK and uses poll() and non-blocking read() to retrieve random data, it ends up in a tight loop with poll() always returning POLLIN and read() returning EAGAIN. This repeats forever until some process makes a blocking read() call. The r