[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] PATCH: Fix infinite loop when QEMU quits at startup
- From: Guido Günther <agx sigxcpu org>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] PATCH: Fix infinite loop when QEMU quits at startup
- Date: Sat, 31 Jan 2009 14:58:38 +0100
Hi Daniel,
On Fri, Jan 30, 2009 at 11:37:35AM +0000, Daniel P. Berrange wrote:
> @@ -670,11 +674,17 @@ qemudReadMonitorOutput(virConnectPtr con
> _("Failure while reading %s startup output"), what);
> return -1;
> }
> + } else if (ret == 0) {
> + return 0;
This part causes problems for me if qemu didn't get a chance to dump
it's output yet and so we hit EOF immediately since we don't respect the
poll timeout. Reverting this one hunk works around the issue.
I can look into fixing this properly but it will be a couple of days
until I get round to.
Cheers,
-- Guido
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]