From: Klaus Jensen
This is v5 of a series that adds support for metadata and end-to-end
data protection.
First, on the subject of metadata, in v1, support was restricted to
extended logical blocks, which was pretty trivial to implement, but
required special initialization and broke DULBE. In v2,
On Tue, Mar 09, 2021 at 01:21:29PM -0800, Joelle van Dyne wrote:
> On Tue, Mar 9, 2021 at 10:24 AM Joelle van Dyne wrote:
> >
> > On Tue, Mar 9, 2021 at 7:38 AM Stefan Hajnoczi wrote:
> > >
> > > On Mon, Mar 08, 2021 at 07:26:36PM -0800, Joelle van Dyne wrote:
> > > > iOS does not support ucontex
On Wednesday, 2021-03-10 at 00:50:21 +01, Philippe Mathieu-Daudé wrote:
> Fill the CFI table in out of DeviceRealize() in a new function:
> pflash_cfi01_fill_cfi_table().
>
> Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: David Edmondson
> ---
> hw/block/pflash_cfi01.c | 140 +
NBD connect coroutine takes an extra in_flight reference as if it's a
request handler. This prevents drain from completion until the
connection coroutine is releases the reference.
When NBD is configured to reconnect, however, this appears to be fatal
to the reconnection idea: the drain procedure
On Wednesday, 2021-03-10 at 00:50:20 +01, Philippe Mathieu-Daudé wrote:
> We are going to move this code, fix its style first.
>
> Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: David Edmondson
> ---
> hw/block/pflash_cfi01.c | 36
> hw/block/pflash_cf
On Wed, Mar 10, 2021 at 7:51 AM Philippe Mathieu-Daudé
wrote:
>
> There is only one call to pflash_register_memory() with
> rom_mode == false. As we want to modify pflash_register_memory()
> in the next patch, open-code this trivial function in place for
> the 'rom_mode == false' case.
>
> Signed-
On Wed, Mar 10, 2021 at 7:55 AM Philippe Mathieu-Daudé
wrote:
>
> There is multiple places doing a device reset. Factor that
> out in a common method which matches the DeviceReset prototype,
> so we can also remove the reset code from the DeviceRealize()
> handler. Explicit the device is set in "r
On Wed, Mar 10, 2021 at 7:53 AM Philippe Mathieu-Daudé
wrote:
>
> Use the 'mode_read_array' event when we set the device in such
> mode, and use the 'reset' event in DeviceReset handler.
>
> Signed-off-by: Philippe Mathieu-Daudé
> ---
> hw/block/pflash_cfi01.c | 3 ++-
> 1 file changed, 2 insert
On Wed, Mar 10, 2021 at 7:54 AM Philippe Mathieu-Daudé
wrote:
>
> There is only one call to pflash_setup_mappings(). Convert 'rom_mode'
> to boolean and set it to true directly within pflash_setup_mappings().
>
> Signed-off-by: Philippe Mathieu-Daudé
> ---
> hw/block/pflash_cfi02.c | 4 ++--
> 1
On Wed, Mar 10, 2021 at 7:53 AM Philippe Mathieu-Daudé
wrote:
>
> The same pattern is used when setting the flash in READ_ARRAY mode:
> - Set the state machine command to READ_ARRAY
> - Reset the write_cycle counter
> - Reset the memory region in ROMD
>
> Refactor the current code by extracting th
On Wed, Mar 10, 2021 at 7:51 AM Philippe Mathieu-Daudé
wrote:
>
> Fill the CFI table in out of DeviceRealize() in a new function:
> pflash_cfi01_fill_cfi_table().
>
> Signed-off-by: Philippe Mathieu-Daudé
> ---
> hw/block/pflash_cfi01.c | 140 +---
> 1 file ch
On Wed, Mar 10, 2021 at 7:52 AM Philippe Mathieu-Daudé
wrote:
>
> Fill the CFI table in out of DeviceRealize() in a new function:
> pflash_cfi02_fill_cfi_table().
>
> Signed-off-by: Philippe Mathieu-Daudé
> ---
> hw/block/pflash_cfi02.c | 193 +---
> 1 file ch
On Wed, Mar 10, 2021 at 7:50 AM Philippe Mathieu-Daudé
wrote:
>
> We are going to move this code, fix its style first.
>
> Signed-off-by: Philippe Mathieu-Daudé
> ---
> hw/block/pflash_cfi01.c | 36
> hw/block/pflash_cfi02.c | 9 ++---
> 2 files changed,
Richard Henderson writes:
> On 3/9/21 8:12 AM, Markus Armbruster wrote:
>> @@ -2565,6 +2551,7 @@ static void fdctrl_realize_common(DeviceState *dev,
>> FDCtrl *fdctrl,
>> Error **errp)
>> {
>> int i, j;
>> +FDrive *drive;
>> static int comman
Daniel P. Berrangé writes:
> On Tue, Mar 09, 2021 at 05:12:13PM +0100, Markus Armbruster wrote:
>> Drop the crap deprecated in commit a1b40bda08 "blockdev: Deprecate
>> -drive with bogus interface type" (v5.1.0).
>>
>> Signed-off-by: Markus Armbruster
>> ---
>> docs/system/deprecated.rst
101 - 115 of 115 matches
Mail list logo