On Fri, 10 Feb 2012, Paul Brook wrote: > > >> > At least the floppy DMA engine is fine with it, it uses idle bottom > > >> > halves (which are a hack and could be replaced by timers, but that's > > >> > not relevant now). > > > > > > I thought idle bottom halves were one of the things that made this timout > > > necessary. How else are they going to get run? > > > > The timeout is reduced to 10 ms when an idle bottom half is scheduled. > > See qemu_bh_update_timeout in async.c. > > Ah, I see. Idle BH are indeed a nasty hack that should be removed, but not > directly relevant to this 1s timeout. > > I don't think this changes my overall conlusion: Either we need this timeout > to poll below the user-thinks-qemu-died threshold, or we should be blocking > indefinitely. I think you are right and the right thing to do would be blocking indefinitely. However if slirp doesn't support it, we could have a timeout of 1000 if CONFIG_SLIRP, otherwise block indefinitely.
- [Qemu-devel] [PATCH v3 1/6] xen: do not initialize the ... Stefano Stabellini
- Re: [Qemu-devel] [PATCH v3 1/6] xen: do not initia... Jan Kiszka
- Re: [Qemu-devel] [PATCH v3 1/6] xen: do not in... Stefano Stabellini
- [Qemu-devel] [PATCH v3 6/6] qemu_calculate_timeout: inc... Stefano Stabellini
- Re: [Qemu-devel] [PATCH v3 6/6] qemu_calculate_tim... Paul Brook
- Re: [Qemu-devel] [PATCH v3 6/6] qemu_calculate... Paolo Bonzini
- Re: [Qemu-devel] [PATCH v3 6/6] qemu_calcu... Paul Brook
- Re: [Qemu-devel] [PATCH v3 6/6] qemu_c... Paolo Bonzini
- Re: [Qemu-devel] [PATCH v3 6/6] q... Paul Brook
- Re: [Qemu-devel] [PATCH v3 6/... Stefano Stabellini
- Re: [Qemu-devel] [PATCH v3 6/... Paolo Bonzini
- Re: [Qemu-devel] [PATCH v3 6/... Jan Kiszka
- Re: [Qemu-devel] [PATCH v3 6/... Stefano Stabellini
- Re: [Qemu-devel] [PATCH v3 6/... Paul Brook
- Re: [Qemu-devel] [PATCH v3 6/... Stefano Stabellini
- Re: [Qemu-devel] [PATCH v3 6/... Paul Brook
- Re: [Qemu-devel] [PATCH v3 6/... Stefano Stabellini
- [Qemu-devel] [PATCH v3 4/6] timers: the rearm function ... Stefano Stabellini
- [Qemu-devel] [PATCH v3 3/6] xen: introduce an event cha... Stefano Stabellini
- [Qemu-devel] [PATCH v3 2/6] xen: disable rtc_clock Stefano Stabellini