Spdk/lib/vhost
Changpeng Liu fbc53ae3fb vhost/nvme: add shared BAR space to enable old Guest kernel
For some old Linux Guest kernels, the new NVMe 1.3 feature: shadow
doorbell buffer is not enabled, while here, make a dummy BAR region
inside slave target, when Guest submits a new request, the doorbell
value will be write to the shared memory between Guest and vhost
target, so that the existing vhost target can support both new
Linux Guest kernel(newer than 4.12) and old Guest kernel.

Also, the shared BAR space can be used in future which we can move
ADMIN queue processing into SPDK vhost target, with this feature,
the QEMU driver will become very small and easy for upstreaming.

Change-Id: I9463e9f13421368f43bfe4076facddd119f4552e
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/419157
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2018-11-27 13:24:42 +00:00
..
rte_vhost vhost/nvme: add shared BAR space to enable old Guest kernel 2018-11-27 13:24:42 +00:00
Makefile vhost_user_nvme: add vhost user nvme target to SPDK 2018-04-03 15:01:24 -04:00
vhost_blk.c vhost/blk: check against hotremoved bdev in GET_CONFIG handler 2018-10-23 17:54:46 +00:00
vhost_internal.h vhost/nvme: add shared BAR space to enable old Guest kernel 2018-11-27 13:24:42 +00:00
vhost_nvme.c vhost/nvme: add shared BAR space to enable old Guest kernel 2018-11-27 13:24:42 +00:00
vhost_rpc.c vhost: rpc: add an optional parameter -n/--name for get_vhost_controllers 2018-10-04 23:33:04 +00:00
vhost_scsi.c vhost: embed destroy ctx into vhost dev struct 2018-10-03 18:43:54 +00:00
vhost.c vhost/nvme: add shared BAR space to enable old Guest kernel 2018-11-27 13:24:42 +00:00