[Adding a few cc's, hope it helps]

[email protected] writes:

> From: Juha Riihimäki <[email protected]>
>
> Make NAND and OneNAND device models reject read-only drives.
> Test for example by running
>
> $ qemu-system-arm -drive if=none,file=/dev/zero,readonly,id=foo -device 
> nand,drive=foo,chip_id=0x59 -kernel /dev/null
>
> or
>
> $ qemu-system-arm -drive if=none,file=/dev/zero,readonly,id=foo -device 
> onenand,drive=foo -kernel /dev/null
>
> Changes v1->v2:
> + fix bug introduced in pagesize calculation for NAND devices without a drive 
> image
> + revise commit message in hw/nand patch

Reviewed-by: Markus Armbruster <[email protected]>

Reply via email to