Re: [libvirt] PATCH: Fix infinite loop when QEMU quits at startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]