[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] fw cfg files cross-version migration races
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] fw cfg files cross-version migration races |
Date: |
Wed, 3 Jun 2015 18:03:05 +0200 |
On Tue, Jun 02, 2015 at 09:11:14AM +0200, Gerd Hoffmann wrote:
> Hi,
>
> > I guess the only reason this isn't a problem is that nobody currently
> > attempts to access fw_cfg after a migration ? :)
>
> Accessing fw_cfg after migration is fine. Problem is this ...
>
> (1) read directory
> (2) migrate
> (3) read file
>
> ... in case the file ordering happens to be different on the destination
> host due to initialization order changes.
>
> So, sorting entries (and the index assigned too) should fix this, right?
> That looks easiest to me.
>
> cheers,
> Gerd
Right. The only issue is we are introducing a breakage even if
there was otherwise no reason for it otherwise.
I'll let you make the decision.
--
MST
- [Qemu-devel] fw cfg files cross-version migration races, Michael S. Tsirkin, 2015/06/01
- Re: [Qemu-devel] fw cfg files cross-version migration races, Daniel P. Berrange, 2015/06/01
- Re: [Qemu-devel] fw cfg files cross-version migration races, Gabriel L. Somlo, 2015/06/01
- Re: [Qemu-devel] fw cfg files cross-version migration races, Michael S. Tsirkin, 2015/06/01
- Re: [Qemu-devel] fw cfg files cross-version migration races, Gabriel L. Somlo, 2015/06/01
- Re: [Qemu-devel] fw cfg files cross-version migration races, Gabriel L. Somlo, 2015/06/01
- Re: [Qemu-devel] fw cfg files cross-version migration races, Laszlo Ersek, 2015/06/02
- Re: [Qemu-devel] fw cfg files cross-version migration races, Gerd Hoffmann, 2015/06/02
- Re: [Qemu-devel] fw cfg files cross-version migration races, Paolo Bonzini, 2015/06/03
- Re: [Qemu-devel] fw cfg files cross-version migration races,
Michael S. Tsirkin <=
- Re: [Qemu-devel] fw cfg files cross-version migration races, Gabriel L. Somlo, 2015/06/05
- Re: [Qemu-devel] fw cfg files cross-version migration races, Gerd Hoffmann, 2015/06/08
- Re: [Qemu-devel] fw cfg files cross-version migration races, Michael S. Tsirkin, 2015/06/08
- Re: [Qemu-devel] fw cfg files cross-version migration races, Gerd Hoffmann, 2015/06/08
- Re: [Qemu-devel] fw cfg files cross-version migration races, Paolo Bonzini, 2015/06/08
- Re: [Qemu-devel] fw cfg files cross-version migration races, Gabriel L. Somlo, 2015/06/08
- Re: [Qemu-devel] fw cfg files cross-version migration races, Paolo Bonzini, 2015/06/08
- Re: [Qemu-devel] fw cfg files cross-version migration races, Gerd Hoffmann, 2015/06/08
- Re: [Qemu-devel] fw cfg files cross-version migration races, Gabriel L. Somlo, 2015/06/08
- Re: [Qemu-devel] fw cfg files cross-version migration races, Michael S. Tsirkin, 2015/06/08