qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v6 21/25] replay: replay BH for IDE trim operati


From: Pavel Dovgalyuk
Subject: Re: [Qemu-devel] [PATCH v6 21/25] replay: replay BH for IDE trim operation
Date: Mon, 17 Sep 2018 14:57:12 +0300

> From: Peter Maydell [mailto:address@hidden
> On 14 September 2018 at 16:19, Paolo Bonzini <address@hidden> wrote:
> > On 14/09/2018 16:00, John Snow wrote:
> >>> Maybe not. We can hardly analyze all peripheral devices code and fix all 
> >>> the calls.
> >>> But I think we can improve that patch and at least look through ide core 
> >>> to fix other
> calls.
> >>>
> >>> Pavel Dovgalyuk
> >>>
> >> It just seems odd that if you're working on a replay mechanism that
> >> requires you to intercept my QEMU API calls that you're only changing a
> >> trim callback.
> >
> > You need it only here because the block layer is already calling
> > replay_bh_schedule_event (actually replay_bh_schedule_oneshot_event
> > after patch 22 of this series) on reads and writes.
> 
> Do we have documentation describing when a device model needs to care
> about record/replay ?

Not yet.
But how we are suppose this doc to be seen by everyone?

Pavel Dovgalyuk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]