Re: [PATCH RFC] icount: don't adjust virtual time backwards after warp

2023-06-26 Thread Nicholas Piggin
On Mon Jun 26, 2023 at 9:09 PM AEST, Paolo Bonzini wrote: > On Mon, Jun 26, 2023 at 1:08 PM Paolo Bonzini wrote: > > Queued, thanks. > > Hmm, almost, can you provide the Signed-off-by? Sure, give me a bit and I'll make up a better changelog and patch. Thanks, Nick

Re: [PATCH RFC] icount: don't adjust virtual time backwards after warp

2023-06-26 Thread Paolo Bonzini
On Mon, Jun 26, 2023 at 1:08 PM Paolo Bonzini wrote: > Queued, thanks. Hmm, almost, can you provide the Signed-off-by? Thanks, Paolo

Re: [PATCH RFC] icount: don't adjust virtual time backwards after warp

2023-06-26 Thread Paolo Bonzini
Queued, thanks. Paolo

[PATCH RFC] icount: don't adjust virtual time backwards after warp

2023-06-25 Thread Nicholas Piggin
With icount shift=auto, the QEMU_CLOCK_VIRTUAL can be adjusted backwards after a warp, resulting in the machine observing time going backwards. Linux on powerpc can't handle this, and it results in lockup due to a time delta underflowing. This patch seems to solve it, no more backwards time observ