[Qemu-devel] [PATCH v2 01/10] fdc: take side count into account

2012-01-14 Thread Hervé Poussineau
Floppies can be simple or double-sided. However, current code was only taking the common case into account (ie 2 sides). Signed-off-by: Hervé Poussineau --- hw/fdc.c | 17 +++-- 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/hw/fdc.c b/hw/fdc.c index 70aa5c7..c1898

[Qemu-devel] [PATCH v2 07/10] block: add a transfer rate for floppy types

2012-01-14 Thread Hervé Poussineau
Floppies must be read at a specific transfer rate, depending of its own format. Update floppy description table to include required transfer rate. Signed-off-by: Hervé Poussineau --- block.c | 74 - block.h | 10 +++- hw/fdc.c

Re: [Qemu-devel] [Bug 902148] Re: qemu-img V1.0 hangs on creating Image (0.15.1 runs)

2012-01-14 Thread Zhi Yong Wu
On Mon, Jan 9, 2012 at 9:00 PM, Stefan Hajnoczi wrote: > On Mon, Jan 9, 2012 at 11:25 AM, Kevin Wolf wrote: >> Am 20.12.2011 17:49, schrieb Stefan Hajnoczi: >>> On Tue, Dec 20, 2011 at 3:25 PM, Michael Niehren >>> <902...@bugs.launchpad.net> wrote: here we are. Attached the tgz. I am using n

Re: [Qemu-devel] throwing away translated code on CPU reset

2012-01-14 Thread Aurelien Jarno
On Thu, Jan 12, 2012 at 02:00:38PM +, Peter Maydell wrote: > When doing TCG code translation, the target-foo translate.c > code is allowed to bake assumptions into the generated code from > the current values of various fields in the CPUState. This then > imposes the requirement that if the fie

Re: [Qemu-devel] [PATCH] isapc: Fix segfault during initialization

2012-01-14 Thread Andreas Färber
Am 14.01.2012 14:12, schrieb Jan Kiszka: > From: Jan Kiszka > > Linking the RTC device state to the PIIX does not belong into the > common path that is shared with the isapc. QEMU crashes otherwise. Doesn't that indicate a missing NULL-check or something in qdev_property_add_child() that should

[Qemu-devel] [PATCH] isapc: Fix segfault during initialization

2012-01-14 Thread Jan Kiszka
From: Jan Kiszka Linking the RTC device state to the PIIX does not belong into the common path that is shared with the isapc. QEMU crashes otherwise. Signed-off-by: Jan Kiszka --- hw/pc_piix.c | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/hw/pc

[Qemu-devel] [PATCH] rework daemonizing logic in qemu-nbd

2012-01-14 Thread Michael Tokarev
qemu-nbd uses daemon(3) routine to daemonize, and while at it, it uses several hacks to make daemon(3) to work as intended. Instead of all these hacks, implement daemon(3) functionality (which is a very simple function) directly but in a way which is much more suitable for the use case. It lets us

[Qemu-devel] [PATCH] use different fd variables for device and socket, unbreak qemu-nbd -c

2012-01-14 Thread Michael Tokarev
commit a61c67828dea7c64edaf226cadb45b4ffcc1d411 Author: Paolo Bonzini Date: Mon Sep 12 17:28:11 2011 +0200 qemu-nbd: use common main loop Using a single main loop for sockets will help yielding from the socket coroutine back to the main loop, and later reentering it. changed code

[Qemu-devel] qemu-nbd daemonizing?

2012-01-14 Thread Michael Tokarev
After looking at the yesterdays issue with non-absolute paths for qemu-nbd arguments and daemon(3), I've a question. Why qemu-nbd daemonizes, and does that only when device argument is given (dropping -v/verbose case for now)? This raises two questions: - shouldn't it do the same daemonizing in