[Qemu-devel] [PATCH v3] semaphore: fix a hangup problem under load on NetBSD hosts.

2013-07-03 Thread Izumi Tsutsui
check a return value of in pthread_cond_wait() in qemu_sem_wait() Signed-off-by: Izumi Tsutsui Reviewed-by: Laszlo Ersek --- v3: - fix a missed assignment and actually check a retval of pthread_cond_wait() v2: - make QemuSemaphore.count unsigned (it won't be negative) - also eliminate

Re: [Qemu-devel] [PATCH v2] semaphore: fix a hangup problem underload on NetBSD hosts.

2013-07-03 Thread Izumi Tsutsui
Laszlo Ersek wrote: > On 07/02/13 18:54, Izumi Tsutsui wrote: : > > @@ -249,16 +250,19 @@ int qemu_sem_timedwait(QemuSemaphore *sem, int ms) > > > > void qemu_sem_wait(QemuSemaphore *sem) > > { > > +int rc; > > + > >

[Qemu-devel] [PATCH v2] semaphore: fix a hangup problem under load on NetBSD hosts.

2013-07-02 Thread Izumi Tsutsui
check a return value of in pthread_cond_wait() in qemu_sem_wait() Signed-off-by: Izumi Tsutsui Reviewed-by: Laszlo Ersek --- v2: - make QemuSemaphore.count unsigned (it won't be negative) - also eliminate checks for negative count values - check a return value of in pthread_cond_wai

Re: [Qemu-devel] [PATCH] semaphore: fix a hangup problem under loadon NetBSD hosts.

2013-07-02 Thread Izumi Tsutsui
Laszlo Ersek wrote: > On 06/29/13 12:22, Izumi Tsutsui wrote: > > Fix following bugs in "fallback implementation of counting semaphores > > with mutex+condvar" added in c166cb72f1676855816340666c3b618beef4b976: > > - waiting threads are not restarted properly if m

[Qemu-devel] [PATCH] semaphore: fix a hangup problem under load on NetBSD hosts.

2013-06-29 Thread Izumi Tsutsui
le missing pthread_cond_signal(3) calls when waiting threads are returned by ETIMEDOUT - fix an uninitialized variable The problem is analyzed by and fix is provided by Noriyuki Soda. Signed-off-by: Izumi Tsutsui --- util/qemu-thread-posix.c | 17 + 1 file changed, 9 insertions(+), 8

[Qemu-devel] [PATCH] vnc: use bswapNN() rather than bswap_NN()

2010-08-08 Thread Izumi Tsutsui
bswap_NN() variants are not always available in CONFIG_MACHINE_BSWAP_H case and bswapNN() are public APIs in "bswap.h". Signed-off-by: Izumi Tsutsui --- ui/vnc-enc-tight.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/vnc-enc-tight.c b/ui/vnc-e

[Qemu-devel] [PATCH] sheepdog: remove unnecessary includes

2010-08-08 Thread Izumi Tsutsui
"qemu_socket.h" includes all necessary files and including without could cause errors on some systems. Signed-off-by: Izumi Tsutsui --- block/sheepdog.c | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/block/sheepdog.c b/block/sheepdog.c ind

[Qemu-devel] [PATCH] e1000: Fix wrong microwire EEPROM state initialization

2010-07-10 Thread Izumi Tsutsui
n struct eecd_state individually rather than using memset() against the whole structre. The old_eecd member stores the last SK and CS signal levels and it should be preserved even after reset of internal EEPROM state to detect next signal edges for proper EEPROM emulation. Signed-off-by: Izumi Tsutsui

Re: [Qemu-devel] [Bug 581737] Re: Can't read e1000 NIC EEPROM onNetBSD guest

2010-06-13 Thread Izumi Tsutsui
even in such case? If so, is there any proper documents how to submit patches for QEMU? --- Izumi Tsutsui -- Can't read e1000 NIC EEPROM on NetBSD guest https://bugs.launchpad.net/bugs/581737 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to

[Qemu-devel] [Bug 581737] Re: Can't read e1000 NIC EEPROM on NetBSD guest

2010-06-12 Thread Izumi Tsutsui
> Please email the patch to qemu-devel@nongnu.org via git-send-email. Isn't the following post enough? What's incomplete on this? http://lists.nongnu.org/archive/html/qemu-devel/2010-06/msg00449.html (sorry I'm not familiar with git) -- Can't read e1000 NIC EEPROM on NetBSD guest https://bugs.lau

[Qemu-devel] [Bug 581737] Re: Can't read e1000 NIC EEPROM on NetBSD guest

2010-06-03 Thread Izumi Tsutsui
** Patch added: "patch by git format-patch --signoff" http://launchpadlibrarian.net/49607393/qemu-git.patch -- Can't read e1000 NIC EEPROM on NetBSD guest https://bugs.launchpad.net/bugs/581737 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed