qemu-e2k/scripts
Xie Yongji 2a2359b844 vduse-blk: Implement vduse-blk export
This implements a VDUSE block backends based on
the libvduse library. We can use it to export the BDSs
for both VM and container (host) usage.

The new command-line syntax is:

$ qemu-storage-daemon \
    --blockdev file,node-name=drive0,filename=test.img \
    --export vduse-blk,node-name=drive0,id=vduse-export0,writable=on

After the qemu-storage-daemon started, we need to use
the "vdpa" command to attach the device to vDPA bus:

$ vdpa dev add name vduse-export0 mgmtdev vduse

Also the device must be removed via the "vdpa" command
before we stop the qemu-storage-daemon.

Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20220523084611.91-7-xieyongji@bytedance.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2022-06-24 17:07:06 +02:00
..
ci Remove Ubuntu 18.04 container support from the repository 2022-05-18 08:54:22 +02:00
coccinelle scripts/coccinelle: New use-g_new-etc.cocci 2022-03-21 15:44:44 +01:00
codeconverter
coverity-scan Replacing CONFIG_VNC_PNG with CONFIG_PNG 2022-04-27 07:50:28 +02:00
kvm vmxcap: add tertiary execution controls 2022-05-12 14:23:19 +02:00
modules
oss-fuzz tests: move libqtest.h back under qtest/ 2022-05-03 15:16:51 +04:00
performance
qapi qapi/expr: Enforce feature naming rules again 2022-05-16 07:29:50 +02:00
qemu-guest-agent
qemugdb
qmp python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
simplebench python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
tracetool trace: fix compilation with lttng-ust >= 2.13 2022-04-01 13:06:07 +02:00
analyse-9p-simpletrace.py
analyse-locks-simpletrace.py
analyze-inclusions scripts/analyze-inclusions: drop qemu-common.h from analysis 2022-04-21 16:56:55 +04:00
analyze-migration.py
archive-source.sh
block-coroutine-wrapper.py
check_sparse.py
checkpatch.pl checkpatch: fix g_malloc check 2022-05-12 12:07:05 +02:00
clean-header-guards.pl
clean-includes
cleanup-trace-events.pl
cocci-macro-file.h compiler.h: replace QEMU_NORETURN with G_NORETURN 2022-04-21 17:03:51 +04:00
cpu-x86-uarch-abi.py python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
decodetree.py
device-crash-test tests: run 'device-crash-test' from tests/venv 2022-06-06 09:26:54 +02:00
disas-objdump.pl
dump-guest-memory.py
entitlement.sh
extract-vsssdk-headers
feature_to_c.sh
fix-multiline-comments.sh
gensyscalls.sh
get_maintainer.pl
git-submodule.sh
git.orderfile
hxtool
kernel-doc
make-config-poison.sh
make-release
meson-buildoptions.py meson: pass more options directly as -D 2022-05-07 07:46:58 +02:00
meson-buildoptions.sh vduse-blk: Implement vduse-blk export 2022-06-24 17:07:06 +02:00
meson.build
minikconf.py
modinfo-collect.py scripts/modinfo-collect: remove unused/dead code 2022-03-22 14:46:17 +04:00
modinfo-generate.py modules: generates per-target modinfo 2022-06-06 09:26:53 +02:00
mtest2make.py build: add a more generic way to specify make->ninja dependencies 2022-06-01 15:47:43 +01:00
nsis.py nsis installer: Fix mouse-over descriptions for emulators 2022-03-18 10:55:15 +00:00
qapi-gen.py
qemu-binfmt-conf.sh qemu-binfmt-conf.sh: mips: allow nonzero EI_ABIVERSION, distinguish o32 and n32 2022-03-29 00:51:55 +02:00
qemu-gdb.py
qemu-stamp.py meson, configure: move --with-pkgversion, CONFIG_STAMP to meson 2022-05-07 07:46:58 +02:00
qemu-trace-stap
qemu-version.sh
refresh-pxe-roms.sh
render_block_graph.py python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
replay-dump.py
shaderinclude.pl
signrom.py
simpletrace.py
test-driver.py
tracetool.py
u2f-setup-gen.py
undefsym.py
update-linux-headers.sh linux-headers: Add vduse.h 2022-06-24 17:07:06 +02:00
update-mips-syscall-args.sh
update-syscalltbl.sh
userfaultfd-wrlat.py
vmstate-static-checker.py
xen-detect.c meson, configure: move Xen detection to meson 2022-05-07 07:46:58 +02:00