#
e5390783 |
| 24-May-2022 |
Andre Przywara <andre.przywara@arm.com> |
include: update virtio UAPI headers
Commit a08bb43a0c37 ("kvmtool: Copy Linux' up-to-date virtio headers") copied the kernel's virtio UAPI headers into the kvmtool tree, because at the time some dis
include: update virtio UAPI headers
Commit a08bb43a0c37 ("kvmtool: Copy Linux' up-to-date virtio headers") copied the kernel's virtio UAPI headers into the kvmtool tree, because at the time some distros didn't include (all of) them in their kernel headers package. Let's update those copies, so that we can use newer features, if needed.
This syncs in the already existing copies of the headers from Linux v5.18.0.
Signed-off-by: Andre Przywara <andre.przywara@arm.com> Link: https://lore.kernel.org/r/20220524150611.523910-4-andre.przywara@arm.com Signed-off-by: Will Deacon <will@kernel.org>
show more ...
|
#
117d6495 |
| 15-Sep-2020 |
Tianjia Zhang <tianjia.zhang@linux.alibaba.com> |
virtio: add support for vsock
The "run" command accepts a new option (--vsock <cid>) which specify the guest CID. For instance:
$ lkvm run --kernel ./bzImage --disk test --vsock 3
One can easily
virtio: add support for vsock
The "run" command accepts a new option (--vsock <cid>) which specify the guest CID. For instance:
$ lkvm run --kernel ./bzImage --disk test --vsock 3
One can easily test by: https://github.com/stefanha/nc-vsock.
In the guest:
# modprobe vsock # nc-vsock -l 1234
In the host:
# modprobe vhost_vsock # nc-vsock 3 1234
This patch comes from the early submission of G. Campana. On this basis, I fixed the compilation errors and runtime crashes. Thanks for the work done by G. Campana. https://patchwork.kernel.org/patch/9542313/
Signed-off-by: G. Campana <gcampana+kvm@quarkslab.com> Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> Link: https://lore.kernel.org/r/20200915094402.107988-1-tianjia.zhang@linux.alibaba.com Signed-off-by: Will Deacon <will@kernel.org>
show more ...
|