[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 01/10] block/pflash_cfi02: Add test for supporte
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [PATCH 01/10] block/pflash_cfi02: Add test for supported commands |
Date: |
Wed, 10 Apr 2019 16:39:21 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 09/04/2019 17.37, Stephen Checkoway wrote:
>
>
> On Apr 9, 2019, at 02:13, Thomas Huth <address@hidden> wrote:
>
>> We'd like to get rid of global_qtest in the long run (since it is
>> causing trouble for tests that run multiple instances of QEMU in
>> parallel, e.g. migration tests)... so if it is feasible, please don't
>> use it in new code anymore. Try to use a local variable in the function
>> that call qtest_initf() and pass the test state around via a parameter
>> to the functions that need it.
>
> One of the patches introduces a FlashConfig structure which gets passed
> around to all the functions. I could stuff the local qtest in there. The
> earlier patches would still use global_qtest. Would that be acceptable or
> would you prefer that global_qtest not appear in any of the patches?
Using FlashConfig sounds fine to me. If you need to use global_qtest in
some of the earlier patches, that's ok, too (especially if these go away
again in the later patches ;-)).
Thomas
- [Qemu-devel] [PATCH 00/10] block/pflash_cfi02: Implement missing AMD pflash functionality, Stephen Checkoway, 2019/04/08
- [Qemu-devel] [PATCH 01/10] block/pflash_cfi02: Add test for supported commands, Stephen Checkoway, 2019/04/08
- Re: [Qemu-devel] [PATCH 01/10] block/pflash_cfi02: Add test for supported commands, Thomas Huth, 2019/04/09
- Re: [Qemu-devel] [PATCH 01/10] block/pflash_cfi02: Add test for supported commands, Markus Armbruster, 2019/04/09
- Re: [Qemu-devel] [PATCH 01/10] block/pflash_cfi02: Add test for supported commands, Thomas Huth, 2019/04/09
- Re: [Qemu-devel] [PATCH 01/10] block/pflash_cfi02: Add test for supported commands, Markus Armbruster, 2019/04/09
- Re: [Qemu-devel] [PATCH 01/10] block/pflash_cfi02: Add test for supported commands, Thomas Huth, 2019/04/09
- Re: [Qemu-devel] [PATCH 01/10] block/pflash_cfi02: Add test for supported commands, Markus Armbruster, 2019/04/09
- Re: [Qemu-devel] [PATCH 01/10] block/pflash_cfi02: Add test for supported commands, Stephen Checkoway, 2019/04/09
- Re: [Qemu-devel] [PATCH 01/10] block/pflash_cfi02: Add test for supported commands,
Thomas Huth <=
[Qemu-devel] [PATCH 03/10] block/pflash_cfi02: Fix command address comparison, Stephen Checkoway, 2019/04/08
[Qemu-devel] [PATCH 02/10] block/pflash_cfi02: Refactor, NFC intended, Stephen Checkoway, 2019/04/08
[Qemu-devel] [PATCH 06/10] block/pflash_cfi02: Fix CFI in autoselect mode, Stephen Checkoway, 2019/04/08
[Qemu-devel] [PATCH 04/10] block/pflash_cfi02: Implement intereleaved flash devices, Stephen Checkoway, 2019/04/08
[Qemu-devel] [PATCH 05/10] block/pflash_cfi02: Implement nonuniform sector sizes, Stephen Checkoway, 2019/04/08
[Qemu-devel] [PATCH 07/10] block/pflash_cfi02: Fix reset command not ignored during erase, Stephen Checkoway, 2019/04/08
[Qemu-devel] [PATCH 08/10] block/pflash_cfi02: Implement multi-sector erase, Stephen Checkoway, 2019/04/08
[Qemu-devel] [PATCH 10/10] block/pflash_cfi02: Use the chip erase time specified in the CFI table, Stephen Checkoway, 2019/04/08
[Qemu-devel] [PATCH 09/10] block/pflash_cfi02: Implement erase suspend/resume, Stephen Checkoway, 2019/04/08
Re: [Qemu-devel] [PATCH 00/10] block/pflash_cfi02: Implement missing AMD pflash functionality, no-reply, 2019/04/08