dependabot-preview[bot]
8ab11ae87e
build(deps): bump pkg-config from 0.3.17 to 0.3.18
...
Bumps [pkg-config](https://github.com/rust-lang/pkg-config-rs ) from 0.3.17 to 0.3.18.
- [Release notes](https://github.com/rust-lang/pkg-config-rs/releases )
- [Changelog](https://github.com/rust-lang/pkg-config-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/pkg-config-rs/compare/0.3.17...0.3.18 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-13 05:05:29 +00:00
dependabot-preview[bot]
dda4cd8eb7
build(deps): bump redox_syscall from 0.1.56 to 0.1.57
...
Bumps redox_syscall from 0.1.56 to 0.1.57.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-13 05:04:16 +00:00
Rob Bradford
4963e37dc8
qcow, virtio-devices: Break cyclic dependency
...
Move the definition of RawFile from virtio-devices crate into qcow
crate. All the code that consumes RawFile also already depends on the
qcow crate for image file type detection so this change breaks the
need for the qcow crate to depend on the very large virtio-devices
crate.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-07-10 17:47:31 +02:00
dependabot-preview[bot]
96274a33ca
build(deps): bump cc from 1.0.57 to 1.0.58
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.57 to 1.0.58.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.57...1.0.58 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-08 15:12:19 +00:00
Rob Bradford
17766fcea4
net_util, vhost_user_net, virtio-devices: Move NetQueuePair
...
Move NetQueuePair and the related NetCounters into the net_util crate.
This means that the vhost_user_net crate now no longer depends on
virtio-devices and so does not depend on the pci, qcow or other similar
crates. This significantly simplifies the build chain for this backend.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-07-08 16:11:50 +01:00
Rob Bradford
1237784a8f
net_util, virtio-devices: Move TAP register/unregister helpers
...
Move these helper functions into net_util so that they can be used from
code inside there.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-07-08 16:11:50 +01:00
Rob Bradford
48faf3abac
net_util, virtio-devices, vhost_user_net: Relocate {Rx,Tx}Virtio
...
By moving the code for opening the two RX and TX queues into a shared
location we are starting to remove the requirement for the
vhost-user-net backend to depend on the virtio-devices crate which in of
itself depends on many other crates that are not necessary for the
backend to function.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-07-08 16:11:50 +01:00
Rob Bradford
3e807a19b7
net_util, virtio-devices, vhost_user_net: Relocate code for opening TAP
...
By moving the code for opening the TAP device into a shared location we
are starting to remove the requirement for the vhost-user-net backend to
depend on the virtio-devices crate which in of itself depends on many
other crates that are not necessary for the backend to function.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-07-08 16:11:50 +01:00
dependabot-preview[bot]
bb390981a9
build(deps): bump kvm-ioctls from d094064
to 37953e9
...
Bumps [kvm-ioctls](https://github.com/cloud-hypervisor/kvm-ioctls ) from `d094064` to `37953e9`.
- [Release notes](https://github.com/cloud-hypervisor/kvm-ioctls/releases )
- [Commits](d094064fef...37953e968b
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-08 12:53:00 +00:00
dependabot-preview[bot]
861337cc6f
build(deps): bump libc from 0.2.71 to 0.2.72
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.71 to 0.2.72.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.71...0.2.72 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-08 05:11:25 +00:00
dependabot-preview[bot]
ccc276a222
build(deps): bump backtrace from 0.3.49 to 0.3.50
...
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs ) from 0.3.49 to 0.3.50.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases )
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.49...0.3.50 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 14:40:07 +00:00
Rob Bradford
b69f6d4f6c
vhost_user_net, vhost_user_block, option_parser: Remove vmm dependency
...
Remove the vmm dependency from vhost_user_block and vhost_user_net where
it was existing to use config::OptionParser. By moving the OptionParser
to its own crate at the top-level we can remove the very heavy
dependency that these vhost-user backends had.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-07-06 18:33:29 +01:00
dependabot-preview[bot]
90261bb9c7
build(deps): bump smallvec from 1.4.0 to 1.4.1
...
Bumps [smallvec](https://github.com/servo/rust-smallvec ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/servo/rust-smallvec/releases )
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.4.0...v1.4.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 16:38:18 +00:00
Rob Bradford
f19f7490c6
build: Bulk upgrade dependencies
...
There are several dependencies that need updating so update them
manually rather than relying on dependabot. This will reduce the load on
the CI.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-07-06 10:46:17 +01:00
Rob Bradford
72802b34cd
vhost_user_block: Move binary into vhost_user_block crate
...
The binary is still built in the same location but the source code and
the dependencies for it come from the vhost_user_block crate itself.
The binary will be built with:
`cargo build --all --bin vhost_user_block` or just `cargo build --all`
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-07-06 10:56:10 +02:00
Rob Bradford
6959d27e8c
vhost_user_net: Move binary into vhost_user_net crate
...
The binary is still built in the same location but the source code and
the dependencies for it come from the vhost_user_net crate itself.
The binary will be built with:
`cargo build --all --bin vhost_user_net` or just `cargo build --all`
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-07-06 10:56:10 +02:00
Rob Bradford
7548283feb
build: Remove unused dependencies from top-level Cargo.toml
...
With vhost_user_fs binary moved to its own crate the dependencies in the
top level can be trimmed significantly.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-07-06 10:56:10 +02:00
Rob Bradford
d6a05ceabb
vhost_user_fs: Move binary into vhost_user_fs crate
...
The binary is still built in the same location but the source code and
the dependencies for it come from the vhost_user_fs crate itself.
The binary will be built with:
`cargo build --all --bin vhost_user_fs` or just `cargo build --all`
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-07-06 10:56:10 +02:00
dependabot-preview[bot]
863ea97213
build(deps): bump vfio-ioctls from f6f81ee
to 4c56812
...
Bumps [vfio-ioctls](https://github.com/cloud-hypervisor/vfio-ioctls ) from `f6f81ee` to `4c56812`.
- [Release notes](https://github.com/cloud-hypervisor/vfio-ioctls/releases )
- [Commits](f6f81ee865...4c568127fe
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 08:45:57 +00:00
Rob Bradford
2a6eb31d5b
vm-virtio, virtio-devices: Split device implementation from virt queues
...
Split the generic virtio code (queues and device type) from the
VirtioDevice trait, transport and device implementations.
This also simplifies the feature handling in vhost_user_backend as the
vm-virtio crate is no longer has any features.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-07-02 17:09:28 +01:00
dependabot-preview[bot]
9a628edfcf
build(deps): bump cc from 1.0.56 to 1.0.57
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.56 to 1.0.57.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.56...1.0.57 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-02 14:40:59 +00:00
Rob Bradford
8e43f886e1
build: Bump kvm-ioctls dependency after rebase
...
ch branch is now rebased on latest upstream master
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-07-01 18:46:05 +02:00
dependabot-preview[bot]
f3c8f827cc
build(deps): bump linux-loader from 2a62f21
to ec930d7
...
Bumps [linux-loader](https://github.com/rust-vmm/linux-loader ) from `2a62f21` to `ec930d7`.
- [Release notes](https://github.com/rust-vmm/linux-loader/releases )
- [Commits](2a62f21b44...ec930d700f
)
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-30 07:05:06 +00:00
dependabot-preview[bot]
5ac3299234
build(deps): bump serde_json from 1.0.55 to 1.0.56
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.55 to 1.0.56.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.55...v1.0.56 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 19:54:47 +00:00
dependabot-preview[bot]
58980067f4
build(deps): bump ssh2 from 0.8.1 to 0.8.2
...
Bumps [ssh2](https://github.com/alexcrichton/ssh2-rs ) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/alexcrichton/ssh2-rs/releases )
- [Commits](https://github.com/alexcrichton/ssh2-rs/compare/0.8.1...0.8.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 18:02:38 +00:00
dependabot-preview[bot]
d2780a6575
build(deps): bump unicode-width from 0.1.7 to 0.1.8
...
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width ) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/unicode-rs/unicode-width/releases )
- [Commits](https://github.com/unicode-rs/unicode-width/commits/v0.1.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 17:37:40 +00:00
dependabot-preview[bot]
ba3f1bcde2
build(deps): bump cc from 1.0.55 to 1.0.56
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.55 to 1.0.56.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.55...1.0.56 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 16:20:33 +00:00
dependabot-preview[bot]
e1ea06e74a
build(deps): bump cc from 1.0.54 to 1.0.55
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.54 to 1.0.55.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.54...1.0.55 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-26 04:55:46 +00:00
dependabot-preview[bot]
19ce0a37a4
build(deps): bump epoll from 4.3.0 to 4.3.1
...
Bumps [epoll](https://github.com/nathansizemore/epoll ) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/nathansizemore/epoll/releases )
- [Commits](https://github.com/nathansizemore/epoll/commits/4.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-25 14:03:04 +00:00
Sebastien Boeuf
0b45f6364e
build(deps): Update to latest kvm-ioctls
...
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2020-06-24 12:38:56 +02:00
dependabot-preview[bot]
7f955ff122
build(deps): bump epoll from 4.2.0 to 4.3.0
...
Bumps [epoll](https://github.com/nathansizemore/epoll ) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/nathansizemore/epoll/releases )
- [Commits](https://github.com/nathansizemore/epoll/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-24 05:39:26 +00:00
dependabot-preview[bot]
3c2bfbdc95
build(deps): bump aho-corasick from 0.7.12 to 0.7.13
...
Bumps [aho-corasick](https://github.com/BurntSushi/aho-corasick ) from 0.7.12 to 0.7.13.
- [Release notes](https://github.com/BurntSushi/aho-corasick/releases )
- [Commits](https://github.com/BurntSushi/aho-corasick/compare/0.7.12...0.7.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-23 13:03:45 +00:00
dependabot-preview[bot]
4ce7af08d8
build(deps): bump aho-corasick from 0.7.10 to 0.7.12
...
Bumps [aho-corasick](https://github.com/BurntSushi/aho-corasick ) from 0.7.10 to 0.7.12.
- [Release notes](https://github.com/BurntSushi/aho-corasick/releases )
- [Commits](https://github.com/BurntSushi/aho-corasick/compare/0.7.10...0.7.12 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 21:57:15 +01:00
Sebastien Boeuf
a998e89375
build(deps): bump signal-hook from 0.1.15 to 0.1.16
...
Bumps [signal-hook](https://github.com/vorner/signal-hook ) from 0.1.15
to 0.1.16.
- [Release notes](https://github.com/vorner/signal-hook/releases )
- [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md )
- [Commits](vorner/signal-hook@v0.1.15...v0.1.16)
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2020-06-22 14:09:11 +01:00
Muminul Islam
e4dee57e81
arch, pci, vmm: Initial switch to the hypervisor crate
...
Start moving the vmm, arch and pci crates to being hypervisor agnostic
by using the hypervisor trait and abstractions. This is not a complete
switch and there are still some remaining KVM dependencies.
Signed-off-by: Muminul Islam <muislam@microsoft.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2020-06-22 15:03:15 +02:00
Muminul Islam
f9b51a41b5
hypervisor: Add Vcpu trait
...
This Vcpu trait should be implemented by each underlying hypervisor.
Previously created hypervisor object should create the VM based on
already selected hypervisor and Vm object should create this vcpu
object based on same hyperviosr. Each of this object should be
referenced by trait object i.e <dyn Vcpu>.
Signed-off-by: Muminul Islam <muislam@microsoft.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2020-06-22 15:03:15 +02:00
Muminul Islam
56a1638517
hypervisor: Introduce hypervisor crate
...
The purpose of this trait is to add support for other hypervisors than
KVM, like e.g. Microsoft Hyper-V.
Further commits will define additional hypervisor related traits like
Vcpu and Vm. Each of the supported hypervisor will need to implement all
traits defined from the hypervisor crate.
Signed-off-by: Muminul Islam <muislam@microsoft.com>
2020-06-22 15:03:15 +02:00
dependabot-preview[bot]
b969d92fe3
build(deps): bump serde from 1.0.113 to 1.0.114
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.113 to 1.0.114.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.113...v1.0.114 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 06:03:59 +00:00
dependabot-preview[bot]
30fb6732a2
build(deps): bump serde_derive from 1.0.113 to 1.0.114
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.113 to 1.0.114.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.113...v1.0.114 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 05:18:53 +00:00
dependabot-preview[bot]
22fc3bfaaf
build(deps): bump syn from 1.0.32 to 1.0.33
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.32 to 1.0.33.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.32...1.0.33 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 05:18:24 +00:00
dependabot-preview[bot]
c0d42dc1bf
build(deps): bump syn from 1.0.31 to 1.0.32
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.31 to 1.0.32.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.31...1.0.32 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-21 18:09:04 +00:00
dependabot-preview[bot]
3a102c6573
build(deps): bump addr2line from 0.12.1 to 0.12.2
...
Bumps [addr2line](https://github.com/gimli-rs/addr2line ) from 0.12.1 to 0.12.2.
- [Release notes](https://github.com/gimli-rs/addr2line/releases )
- [Changelog](https://github.com/gimli-rs/addr2line/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gimli-rs/addr2line/compare/0.12.1...0.12.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-21 18:08:44 +00:00
dependabot-preview[bot]
62eb66d87e
build(deps): bump serde from 1.0.112 to 1.0.113
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.112 to 1.0.113.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.112...v1.0.113 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-20 13:36:11 +01:00
dependabot-preview[bot]
7e8c1ade12
build(deps): bump serde_derive from 1.0.112 to 1.0.113
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.112 to 1.0.113.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.112...v1.0.113 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-20 10:58:57 +01:00
dependabot-preview[bot]
025941ba73
build(deps): bump epoll from 4.1.0 to 4.2.0
...
Bumps [epoll](https://github.com/nathansizemore/epoll ) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/nathansizemore/epoll/releases )
- [Commits](https://github.com/nathansizemore/epoll/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-19 06:02:13 +00:00
dependabot-preview[bot]
9099b067e1
build(deps): bump linux-loader from f7f2e89
to 2a62f21
...
Bumps [linux-loader](https://github.com/rust-vmm/linux-loader ) from `f7f2e89` to `2a62f21`.
- [Release notes](https://github.com/rust-vmm/linux-loader/releases )
- [Commits](f7f2e890f7...2a62f21b44
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-17 09:34:08 +02:00
dependabot-preview[bot]
1d27416fd1
build(deps): bump unicode-normalization from 0.1.12 to 0.1.13
...
Bumps [unicode-normalization](https://github.com/unicode-rs/unicode-normalization ) from 0.1.12 to 0.1.13.
- [Release notes](https://github.com/unicode-rs/unicode-normalization/releases )
- [Commits](https://github.com/unicode-rs/unicode-normalization/compare/v0.1.12...v0.1.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-16 22:49:54 +02:00
dependabot-preview[bot]
69dac2dbb5
build(deps): bump remain from 0.2.1 to 0.2.2
...
Bumps [remain](https://github.com/dtolnay/remain ) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/dtolnay/remain/releases )
- [Commits](https://github.com/dtolnay/remain/compare/0.2.1...0.2.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-16 21:53:01 +02:00
dependabot-preview[bot]
19ab08f239
build(deps): bump itoa from 0.4.5 to 0.4.6
...
Bumps [itoa](https://github.com/dtolnay/itoa ) from 0.4.5 to 0.4.6.
- [Release notes](https://github.com/dtolnay/itoa/releases )
- [Commits](https://github.com/dtolnay/itoa/compare/0.4.5...0.4.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-16 21:52:43 +02:00
dependabot-preview[bot]
a17aaec663
build(deps): bump adler32 from 1.0.4 to 1.1.0
...
Bumps [adler32](https://github.com/remram44/adler32-rs ) from 1.0.4 to 1.1.0.
- [Release notes](https://github.com/remram44/adler32-rs/releases )
- [Commits](https://github.com/remram44/adler32-rs/compare/1.0.4...1.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-16 08:44:15 +02:00