[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



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]