mbox series

[0/3] hw/block/nvme: add administrative controller support

Message ID 20210311063851.757481-1-its@irrelevant.dk (mailing list archive)
Headers show
Series hw/block/nvme: add administrative controller support | expand

Message

Klaus Jensen March 11, 2021, 6:38 a.m. UTC
From: Klaus Jensen <k.jensen@samsung.com>

This series allows the controller to behave as an Administrative
Controller. This is useful when emulating a subsystem.

Since some commands are prohibited for an Administrative Controller,
this series includes patches that make the CSE log page dynamic and
allows supported features and commands to be fine-tuned with the new
'oncs' and 'oacs' parameters. By default, the device supports as much as
possible.

Gollu Appalanaidu (2):
  hw/block/nvme: add oncs device parameter
  hw/block/nvme: add oacs device parameter

Padmakar Kalghatgi (1):
  hw/block/nvme: add administrative controller type

 hw/block/nvme.h        |  11 +++
 include/block/nvme.h   |   8 ++
 hw/block/nvme-subsys.c |   6 +-
 hw/block/nvme.c        | 193 +++++++++++++++++++++++++++++------------
 4 files changed, 162 insertions(+), 56 deletions(-)