qemu-e2k/default-configs
Changpeng Liu 00343e4b54 vhost-user-blk: introduce a new vhost-user-blk host device
This commit introduces a new vhost-user device for block, it uses a
chardev to connect with the backend, same with Qemu virito-blk device,
Guest OS still uses the virtio-blk frontend driver.

To use it, start QEMU with command line like this:

qemu-system-x86_64 \
    -chardev socket,id=char0,path=/path/vhost.socket \
    -device vhost-user-blk-pci,chardev=char0,num-queues=2, \
            bootindex=2... \

Users can use different parameters for `num-queues` and `bootindex`.

Different with exist Qemu virtio-blk host device, it makes more easy
for users to implement their own I/O processing logic, such as all
user space I/O stack against hardware block device. It uses the new
vhost messages(VHOST_USER_GET_CONFIG) to get block virtio config
information from backend process.

Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2018-01-18 21:52:37 +02:00
..
aarch64_be-linux-user.mak configure: Add aarch64_be-linux-user target 2018-01-11 13:25:32 +00:00
aarch64-linux-user.mak default-configs/aarch64-linux-user.mak: Remove unused define 2015-11-24 14:12:15 +00:00
aarch64-softmmu.mak hw/i2c-ddc.c: Implement DDC I2C slave 2016-06-14 15:59:15 +01:00
alpha-linux-user.mak
alpha-softmmu.mak Split serial-isa into its own config option 2017-02-06 12:33:21 +11:00
arm-linux-user.mak default-configs/: CONFIG_GDBSTUB_XML removed 2013-10-16 18:21:01 +02:00
arm-softmmu.mak xilinx_spips: Add support for the ZynqMP Generic QSPI 2017-12-13 17:59:22 +00:00
armeb-linux-user.mak default-configs/: CONFIG_GDBSTUB_XML removed 2013-10-16 18:21:01 +02:00
cris-linux-user.mak
cris-softmmu.mak hw: move NICs to hw/net/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
hppa-linux-user.mak target-hppa: Add framework and enable compilation 2017-01-23 09:52:40 -08:00
i386-bsd-user.mak
i386-linux-user.mak
i386-softmmu.mak build-sys: restrict vmcoreinfo to fw_cfg+dma capable targets 2017-11-16 17:46:53 +02:00
lm32-softmmu.mak configure: opengl overhaul 2015-03-12 15:49:57 +01:00
m68k-linux-user.mak default-configs/: CONFIG_GDBSTUB_XML removed 2013-10-16 18:21:01 +02:00
m68k-softmmu.mak m68k: Remove PCI and USB from config file 2017-01-14 10:06:21 +01:00
microblaze-linux-user.mak
microblaze-softmmu.mak hw: move SSI controllers to hw/ssi/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
microblazeel-linux-user.mak microblaze: Correct copy+paste:o in defconfigs 2011-03-01 22:17:52 +01:00
microblazeel-softmmu.mak defconfigs: Piggyback microblazeel on microblaze 2015-04-30 16:05:48 +03:00
mips64-linux-user.mak linux-user: Add default configs for mips64[el] 2012-02-02 17:51:20 +02:00
mips64-softmmu.mak default-configs: add mips-softmmu-common.mak 2016-03-23 13:36:56 +00:00
mips64el-linux-user.mak linux-user: Add default configs for mips64[el] 2012-02-02 17:51:20 +02:00
mips64el-softmmu.mak hw/mips: MIPS Boston board support 2017-02-24 10:37:21 +00:00
mips-linux-user.mak
mips-softmmu-common.mak Split serial-isa into its own config option 2017-02-06 12:33:21 +11:00
mips-softmmu.mak default-configs: add mips-softmmu-common.mak 2016-03-23 13:36:56 +00:00
mipsel-linux-user.mak
mipsel-softmmu.mak default-configs: add mips-softmmu-common.mak 2016-03-23 13:36:56 +00:00
mipsn32-linux-user.mak linux-user: Add default-configs for mipsn32[el] 2012-02-02 17:51:20 +02:00
mipsn32el-linux-user.mak linux-user: Add default-configs for mipsn32[el] 2012-02-02 17:51:20 +02:00
moxie-softmmu.mak Allow ISA bus to be configured out 2017-02-06 12:33:21 +11:00
nios2-linux-user.mak nios2: Add support for Nios-II R1 2017-01-24 13:10:36 -08:00
nios2-softmmu.mak nios2: Add support for Nios-II R1 2017-01-24 13:10:36 -08:00
or1k-linux-user.mak target/openrisc: Rename the cpu from or32 to or1k 2017-02-14 08:14:58 +11:00
or1k-softmmu.mak openrisc/ompic: Add OpenRISC Multicore PIC (OMPIC) 2017-10-21 06:35:47 +09:00
pci.mak vhost-user-blk: introduce a new vhost-user-blk host device 2018-01-18 21:52:37 +02:00
ppc64-linux-user.mak build: remove CONFIG_LIBDECNUMBER 2017-10-16 18:03:52 +02:00
ppc64-softmmu.mak build: remove CONFIG_LIBDECNUMBER 2017-10-16 18:03:52 +02:00
ppc64abi32-linux-user.mak build: remove CONFIG_LIBDECNUMBER 2017-10-16 18:03:52 +02:00
ppc64le-linux-user.mak build: remove CONFIG_LIBDECNUMBER 2017-10-16 18:03:52 +02:00
ppc-linux-user.mak build: remove CONFIG_LIBDECNUMBER 2017-10-16 18:03:52 +02:00
ppc-softmmu.mak build: remove CONFIG_LIBDECNUMBER 2017-10-16 18:03:52 +02:00
ppcemb-softmmu.mak hw/ide: Emulate SiI3112 SATA controller 2018-01-10 12:53:00 +11:00
s390x-linux-user.mak s390x: build s390x by default 2011-05-20 17:35:12 +02:00
s390x-softmmu.mak vhost-user-blk: introduce a new vhost-user-blk host device 2018-01-18 21:52:37 +02:00
sh4-linux-user.mak
sh4-softmmu.mak Split serial-isa into its own config option 2017-02-06 12:33:21 +11:00
sh4eb-linux-user.mak
sh4eb-softmmu.mak Split serial-isa into its own config option 2017-02-06 12:33:21 +11:00
sound.mak audio: Enable all cards 2013-05-03 12:04:49 -05:00
sparc32plus-linux-user.mak
sparc64-bsd-user.mak
sparc64-linux-user.mak
sparc64-softmmu.mak net: add Sun HME (Happy Meal Ethernet) on-board NIC 2017-09-21 08:38:42 +01:00
sparc-bsd-user.mak
sparc-linux-user.mak
sparc-softmmu.mak Allow ISA bus to be configured out 2017-02-06 12:33:21 +11:00
tilegx-linux-user.mak target-tilegx: Add TILE-Gx building files 2015-09-15 07:45:32 -07:00
tricore-softmmu.mak target-tricore: Add initialization for translation and activate target 2014-09-01 14:49:20 +01:00
unicore32-softmmu.mak Allow ISA bus to be configured out 2017-02-06 12:33:21 +11:00
usb.mak hw/usb: Include USB files only if necessary 2015-03-18 11:50:47 +01:00
x86_64-bsd-user.mak
x86_64-linux-user.mak
x86_64-softmmu.mak build-sys: restrict vmcoreinfo to fw_cfg+dma capable targets 2017-11-16 17:46:53 +02:00
xtensa-softmmu.mak xtensa_lx60: add FLASH support 2011-11-02 05:05:52 +04:00
xtensaeb-softmmu.mak xtensa_lx60: add FLASH support 2011-11-02 05:05:52 +04:00