Age | Commit message (Collapse) | Author |
|
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1704407
Change-Id: Iea79329f0eff0b81cf80b3ad2d75fab43e8a7b38
|
|
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1704407
Change-Id: Ic3eab2a44418506c474b744fdcf93a992eef7922
|
|
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1704407
Change-Id: I35cf2fe00bbbbc619310f10332caff1ddd54a798
|
|
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1704407
Change-Id: Ieaf0ef115a7cfaf225f0b5a82afd62b706e1f1d3
|
|
Bug: 187839847
Change-Id: I25ab2c8d757e5d2fccb02c5eca3e1dac69affa7a
|
|
Bug: 187839847
Change-Id: I0d6278674b0bdfb5ac59c9878b769b6c3461fb1a
|
|
|
|
Implementing From<...> provides the equivalent Into<..> automatically,
so this form is preferred.
Fixes the clippy from_over_into warning:
https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into
Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
|
|
17c6610442 am: bf7284f199 am: 373ba53438 am: 90dbc11037
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1690702
Change-Id: I138343e35cb92bc25f1f055a1517f90c2eac3e26
|
|
17c6610442 am: bf7284f199 am: 373ba53438
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1690702
Change-Id: I7e45fefd4c170778e31f03b38777656f61b6c72f
|
|
17c6610442 am: bf7284f199
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1690702
Change-Id: I8ef0762cccfd8750882901a3635ba83c4170c37a
|
|
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1690702
Change-Id: I6fd5c6485de0c4e0ad3ca0d3ca87c436945182a2
|
|
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I91d89b2ea6990a4665e1af35adee017233affdc8
|
|
Change-Id: Ib26713fadbb587790a5756f0c40e0b23743c2755
|
|
We should allow to receive SET_VRING_ENABLE request with non-zero index
even if MQ protocol feature is disabled because some device can have
multiple queues without the MQ feature.
e.g. virtio-net means that it supports multiple pairs of tx/rx queues.
So, the slave must support at least one pair of queues regardless of
whether MQ is supported.
Instead, make it check if VHOST_USER_F_PROTOCOL_FEATURES has been
negotiated.
Signed-off-by: Keiichi Watanabe <keiichiw@chromium.org>
|
|
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I937deeaab48cf7bccbceb29f077190e31ccc4a87
|
|
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1676155
Change-Id: I11f386841be7d6ea1c10069c3dfad0745d35183d
|
|
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1676155
Change-Id: Ie3f1dd12394d9dc4d1fa0afeab9637eb02cf4138
|
|
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1676155
Change-Id: Ie7820d86a7eda741b18c707629fd01035159a79a
|
|
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1676804
Change-Id: Iec1bfd48fbc06a3549d071b814e29c9a1e694cdb
|
|
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1676995
Change-Id: I1b21682d591a2744c5d762f087369bc7621a03ad
|
|
63e5d17388 am: 9f5725d400
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1676994
Change-Id: I3e36e53abc7fb1903e6dc6c8fec0fdcb8ee7fcc3
|
|
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1676804
Change-Id: Ifd626dc523ba3976080d0988d176be193fe7892d
|
|
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1676995
Change-Id: I054c85d380709adaf113e9f6960dcc78d39961a8
|
|
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1676994
Change-Id: I5fc2a9bbabf59270f4303a81fa70194ee00e4c84
|
|
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1676804
Change-Id: Ia5df8fd7c6a3963d0d17923fcaf3627cc3207ce2
|
|
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1676995
Change-Id: I0a48925dca82642305f67fc02ed6869cca75d96c
|
|
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vmm_vhost/+/1676994
Change-Id: I1896033874d9f7edc287a4dbf3d3294251eed104
|
|
This time in a topic with the crosvm changes it depends on
This reverts commit 66cbf7119a2e3023664171adbd528ac94243e2c5.
Reason for revert: Merging along the changes it depends on
Change-Id: Idafa87fcc683efece89fdd807117b12e111bb1ef
|
|
This reverts commit cb90b5b4d9a76b03c9774df919f0dc74c331dc51.
Reason for revert: Breaking Build
Change-Id: I24874cb134d4b2f46a0499f71674b324ab24649f
|
|
Bug: 185157703
Test: build updated crosvm locally
Change-Id: I34fbdc6b798ae4e1d56f6cd20f94b6c3634987e3
|
|
Bug: 185157703
Test: locally with following change
Change-Id: Id39b5523128be41f44b551722ffcf325b58dbb58
|
|
|
|
Replace 'virtque' with 'virtqueue' and 'talbe' with 'table'.
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
|
|
Modify the interpretation of the set and get config offset field to
match qemu. The wording in the vhost user spec is ambiguous, bet lets
defer to qemu's implementation so vhost based devices can be used with
qemu as a VMM. Fixes #29.
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Change-Id: Ib1b909d02c3b7dab1964799f0a4d960f1ef308fa
|
|
Bumps [rust-vmm-ci](https://github.com/rust-vmm/rust-vmm-ci) from `ebc7016` to `24d66cd`.
- [Release notes](https://github.com/rust-vmm/rust-vmm-ci/releases)
- [Commits](https://github.com/rust-vmm/rust-vmm-ci/compare/ebc701641fa57f78d03f3f5ecac617b7bf7470b4...24d66cdae63d4aa7f8de01b616c015b97604a116)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
|
Disable vsock test cases accessing /dev/vhost-vsock, which is unavailable in chroot.
BUG=b:181227406
TEST=cargo test --all-features in chroot
Change-Id: I99a80330597c7e281f73ed60aa798ec99f307e3a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/rust-vmm/vhost/+/2759311
Tested-by: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
|
|
The unused import was introduced by the merge commit CL:2755328. While it's used in the upstream, it's not in Chrome OS.
BUG=none
TEST=build
Change-Id: I2324162cbdf8a1ee0050a8a9e8a5fea16f10b5f2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/rust-vmm/vhost/+/2759310
Tested-by: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
|
|
Change-Id: I81dfdf258d902b434e8a1b8339eb367cb7211153
|
|
BUG=b:181227406
TEST=run `repo upload`
Change-Id: I8f599f979758f2d0fb99fdc2e1c47c84bb49d48e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/rust-vmm/vhost/+/2717907
Tested-by: Keiichi Watanabe <keiichiw@chromium.org>
Auto-Submit: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
Commit-Queue: Chirantan Ekbote <chirantan@chromium.org>
|
|
Fix tests we forgot at crrev.com/c/2717529.
BUG=b:181227406
TEST=cargo test --all-features
Change-Id: I58ffcd8505e7f39891034c9b018fdf04acdde3ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/rust-vmm/vhost/+/2754348
Tested-by: Keiichi Watanabe <keiichiw@chromium.org>
Auto-Submit: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Dylan Reid <dgreid@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
|
|
Adjust dependencies to use the crosvm-local crates.
The tempfile interface is subtly different use the crosvm implementation
to avoid a dependency on `rand`. Using a temporary directory avoids any
chance of name collision with using rand to generate a string for a
socket name.
Some of the ScmSocket interfaces have changed and needed updating
on both ends.
BUG=b:181227406
TEST=cargo test
Change-Id: Idee69f0c561642954ac1fa05c2951949e3b74fb5
Cq-Depend: chromium:2740533
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/rust-vmm/vhost/+/2717529
Tested-by: Dylan Reid <dgreid@chromium.org>
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
|
|
Adding support for a new message REM_MEM_REG. This command request an
existing memory region to be removed and unmapped from the vhost-user
backend.
It is designed for supporting memory hot-unplug, rather than using
SET_MEM_TABLE, which is less efficient as it would remap all remaining
regions.
It is only available if the protocol feature
VHOST_USER_PROTOCOL_F_CONFIGURE_MEM_SLOTS has been negotiated.
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
|
|
Adding support for a new message ADD_MEM_REG. This command request a new
region to be added and mapped by the vhost-user backend.
It is designed for supporting memory hotplug, avoiding the limitation
from SET_MEM_TABLE (supports only 8 regions).
It is only available if the protocol feature
VHOST_USER_PROTOCOL_F_CONFIGURE_MEM_SLOTS has been negotiated.
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
|
|
Add the support for GET_MAX_MEM_SLOTS command. This requests the
vhost-user backend to provide the maximum amount of memory slots
that can be supported.
It is only available if the protocol feature
VHOST_USER_PROTOCOL_F_CONFIGURE_MEM_SLOTS has been negotiated.
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
|
|
The vhost-user specification moved forward by adding more message types.
This commit extends the list according to the latest specification.
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
|
|
Change-Id: Ia2c11ff4e1f09d8dd74d1e0f19dbcefbb0c588fc
|
|
Instead of taking a `&str` for the path of the sockets, take
`AsRef<Path>`. This way users can pass `PathBuf`, `Path`, `String`, or
`&str`.
Signed-off-by: Dylan Reid <dgreid@chromium.org>
|
|
|
|
BUG=b:181227406
TEST=none
Cq-Depend: chrome-internal:3639368, chrome-internal:3639230
Change-Id: I81a0bd403e16f941a9021a9402dfce80c0b3a817
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/rust-vmm/vhost/+/2719843
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
Tested-by: Woody Chow <woodychow@google.com>
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
|