[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 24/24] slirp: fix ipv6 timers
From: |
Samuel Thibault |
Subject: |
Re: [Qemu-devel] [PATCH v5 24/24] slirp: fix ipv6 timers |
Date: |
Thu, 26 Jul 2018 09:40:38 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
Pavel Dovgalyuk, le jeu. 26 juil. 2018 10:37:03 +0300, a ecrit:
> > From: Samuel Thibault [mailto:address@hidden
> > Pavel Dovgalyuk, le jeu. 26 juil. 2018 10:08:29 +0300, a ecrit:
> > > > As documented:
> > > >
> > > > * @QEMU_CLOCK_REALTIME: Real time clock
> > > > *
> > > > * The real time clock should be used only for stuff which does not
> > > > * change the virtual machine state, as it runs even if the virtual
> > > > * machine is stopped.
> > > >
> > > > There is no reason to "send RAs" while the machine is stopped.
> > >
> > > I see.
> > > Then we'll need one more clock. Which works like realtime+virtual:
> > > intended to be used for the internal QEMU purposes, but stops when
> > > VM is stopped.
> >
> > Just to be sure: what is meant by "is stopped"? Is it a pause (thus time
> > does not advance within the guest), or is it just sleeping because it
> > has nothing to do?
>
> Paused with HMP/QMP command.
> As virtual clock runs only if VM is not paused.
Then all other uses of qemu_clock in slirp are bogus and need to be
fixed like ip6_icmp: they are using QEMU_CLOCK_REALTIME, but they want
it not to progress while the guest time is not advancing. Otherwise on
guest resume after a long pause basically all TCP/UDP/ARP timings will
have expired.
Samuel
[Qemu-devel] [PATCH v5 24/24] slirp: fix ipv6 timers, Pavel Dovgalyuk, 2018/07/25
Re: [Qemu-devel] [PATCH v5 24/24] slirp: fix ipv6 timers, Samuel Thibault, 2018/07/26
Re: [Qemu-devel] [PATCH v5 24/24] slirp: fix ipv6 timers, Pavel Dovgalyuk, 2018/07/26
Re: [Qemu-devel] [PATCH v5 24/24] slirp: fix ipv6 timers, Samuel Thibault, 2018/07/26
Re: [Qemu-devel] [PATCH v5 24/24] slirp: fix ipv6 timers, Pavel Dovgalyuk, 2018/07/31
Re: [Qemu-devel] [PATCH v5 00/24] Fixing record/replay and adding reverse debugging, no-reply, 2018/07/25