Re: [Qemu-devel] [bug] busy-loop in send_all()

2014-05-27 Thread Chris Friesen
On 05/26/2014 10:41 PM, Amit Shah wrote: On (Fri) 23 May 2014 [13:55:40], Stefan Hajnoczi wrote: On Thu, May 15, 2014 at 11:23:54AM -0600, Chris Friesen wrote: Looking at the implementation of send_all(), the core loop looks like: while (len 0) { ret = write(fd, buf, len);

Re: [Qemu-devel] [bug] busy-loop in send_all()

2014-05-26 Thread Amit Shah
Hi, Also CCing Gerd. On (Fri) 23 May 2014 [13:55:40], Stefan Hajnoczi wrote: On Thu, May 15, 2014 at 11:23:54AM -0600, Chris Friesen wrote: I've run into a situation that seems like a bug. I'm using qemu 1.4.2 (with additional patches) from within openstack. I'm using

Re: [Qemu-devel] [bug] busy-loop in send_all()

2014-05-23 Thread Stefan Hajnoczi
On Thu, May 15, 2014 at 11:23:54AM -0600, Chris Friesen wrote: I've run into a situation that seems like a bug. I'm using qemu 1.4.2 (with additional patches) from within openstack. I'm using virtio-serial-pci to provide a channel between the guest and host. On occasion when doing

[Qemu-devel] [bug] busy-loop in send_all()

2014-05-15 Thread Chris Friesen
Hi, I've run into a situation that seems like a bug. I'm using qemu 1.4.2 (with additional patches) from within openstack. I'm using virtio-serial-pci to provide a channel between the guest and host. On occasion when doing suspend/resume I run into a case where the main qemu thread ends up