summary refs log tree commit diff stats
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorMinwoo Im <minwoo.im.dev@gmail.com>2021-01-17 23:53:32 +0900
committerKlaus Jensen <k.jensen@samsung.com>2021-02-08 21:15:53 +0100
commitaa5e55e3b07ede87a8fd7aa3e67583dfc464dd52 (patch)
treecba8d40eb1cdd430e41e3283fb86c002f8e054fc /hw/avr/arduino.c
parent1490be5a8a278c17bceffa0be1dbd21dcb2f9bee (diff)
downloadfocaccia-qemu-aa5e55e3b07ede87a8fd7aa3e67583dfc464dd52.tar.gz
focaccia-qemu-aa5e55e3b07ede87a8fd7aa3e67583dfc464dd52.zip
hw/block/nvme: open code for volatile write cache
Volatile Write Cache(VWC) feature is set in nvme_ns_setup() in the
initial time.  This feature is related to block device backed,  but this
feature is controlled in controller level via Set/Get Features command.

This patch removed dependency between nvme and nvme-ns to manage the VWC
flag value.  Also, it open coded the Get Features for VWC to check all
namespaces attached to the controller, and if false detected, return
directly false.

Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
[k.jensen: report write cache preset if present on ANY namespace]
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions