dependabot-preview[bot]
204f05fdf1
build(deps): bump serde_json from 1.0.44 to 1.0.45
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.44 to 1.0.45.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.44...v1.0.45 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-23 06:14:06 +00:00
dependabot-preview[bot]
7ee9ecaaf4
build(deps): bump vmm-sys-util from 0.3.1 to 0.4.0
...
Bumps [vmm-sys-util](https://github.com/rust-vmm/vmm-sys-util ) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/rust-vmm/vmm-sys-util/releases )
- [Changelog](https://github.com/rust-vmm/vmm-sys-util/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-vmm/vmm-sys-util/compare/v0.3.1...v0.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-22 14:10:19 +00:00
dependabot-preview[bot]
503e047c3a
build(deps): bump redox_users from 0.3.3 to 0.3.4
...
Bumps redox_users from 0.3.3 to 0.3.4.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-22 07:39:39 +00:00
Sebastien Boeuf
75e22ff34e
vmm: Use LegacyUserspaceInterruptGroup for serial device
...
This commit replaces the way legacy interrupts were handled with the
brand new implementation of the legacy InterruptSourceGroup for KVM.
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2020-01-21 10:44:48 +01:00
dependabot-preview[bot]
9fab9bc645
build(deps): bump micro_http from f77960b
to ebc15f2
...
Bumps [micro_http](https://github.com/firecracker-microvm/firecracker ) from `f77960b` to `ebc15f2`.
- [Release notes](https://github.com/firecracker-microvm/firecracker/releases )
- [Commits](f77960b81e...ebc15f2eac
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-21 06:54:50 +00:00
dependabot-preview[bot]
9fe6ece262
build(deps): bump redox_users from 0.3.1 to 0.3.3
...
Bumps redox_users from 0.3.1 to 0.3.3.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 21:47:15 +00:00
dependabot-preview[bot]
c27be842e4
build(deps): bump syn from 1.0.13 to 1.0.14
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.13 to 1.0.14.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.13...1.0.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 10:21:53 +00:00
dependabot-preview[bot]
9731be1126
build(deps): bump remain from 0.2.0 to 0.2.1
...
Bumps [remain](https://github.com/dtolnay/remain ) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/dtolnay/remain/releases )
- [Commits](https://github.com/dtolnay/remain/compare/0.2.0...0.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 08:52:00 +00:00
dependabot-preview[bot]
eedfb36c66
build(deps): bump micro_http from 6327290
to f77960b
...
Bumps [micro_http](https://github.com/firecracker-microvm/firecracker ) from `6327290` to `f77960b`.
- [Release notes](https://github.com/firecracker-microvm/firecracker/releases )
- [Commits](6327290424...f77960b81e
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 07:10:42 +00:00
Sebastien Boeuf
8049666eff
vm-virtio: Cleanup from kvm_iotcls and kvm_bindings dependencies
...
Now that KVM specific interrupts are handled through InterruptManager
trait implementation, the vm-virtio crate does not need to rely on
kvm_ioctls and kvm_bindings crates.
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2020-01-17 23:43:45 +01:00
Sebastien Boeuf
50a4c16d34
pci: Cleanup the crate from kvm_iotcls and kvm_bindings dependencies
...
Now that KVM specific interrupts are handled through InterruptManager
trait implementation, the pci crate does not need to rely on kvm_ioctls
and kvm_bindings crates.
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2020-01-17 23:43:45 +01:00
Sebastien Boeuf
4bb12a2d8d
interrupt: Reorganize all interrupt management with InterruptManager
...
Based on all the previous changes, we can at this point replace the
entire interrupt management with the implementation of InterruptManager
and InterruptSourceGroup traits.
By using KvmInterruptManager from the DeviceManager, we can provide both
VirtioPciDevice and VfioPciDevice a way to pick the kind of
InterruptSourceGroup they want to create. Because they choose the type
of interrupt to be MSI/MSI-X, they will be given a MsiInterruptGroup.
Both MsixConfig and MsiConfig are responsible for the update of the GSI
routes, which is why, by passing the MsiInterruptGroup to them, they can
still perform the GSI route management without knowing implementation
details. That's where the InterruptSourceGroup is powerful, as it
provides a generic way to manage interrupt, no matter the type of
interrupt and no matter which hypervisor might be in use.
Once the full replacement has been achieved, both SystemAllocator and
KVM specific dependencies can be removed.
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2020-01-17 23:43:45 +01:00
Sebastien Boeuf
11d4d57c06
vm-device: Introduce InterruptManager and InterruptSourceGroup traits
...
These new traits are meant to abstract the knowledge about the
hypervisor and the type of interrupt being used from the perspective
of the devices.
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2020-01-17 23:43:45 +01:00
Sebastien Boeuf
2381f32ae0
msix: Add gsi_msi_routes to MsixConfig
...
Because MsixConfig will be responsible for updating KVM GSI routes at
some point, it is necessary that it can access the list of routes
contained by gsi_msi_routes.
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2020-01-17 23:43:45 +01:00
Sebastien Boeuf
9b60fcdc39
msix: Add VmFd to MsixConfig
...
Because MsixConfig will be responsible for updating the KVM GSI routes
at some point, it must have access to the VmFd to invoke the KVM ioctl
KVM_SET_GSI_ROUTING.
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2020-01-17 23:43:45 +01:00
Sebastien Boeuf
f77d2c2d16
pci: Add some KVM and interrupt utilities to the crate
...
In order to anticipate the need for both msi.rs and msix.rs to rely on
some KVM utils and InterruptRoute structure to handle the update of the
KVM GSI routes, this commit adds these utilities directly to the pci
crate. So far, these were exclusively used by the vfio crate, which is
why there were located there.
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2020-01-17 23:43:45 +01:00
Sergio Lopez
a14aee9213
qcow: Use RawFile as backend instead of File
...
Use RawFile as backend instead of File. This allows us to abstract
the access to the actual image with a specialized layer, so we have a
place where we can deal with the low-level peculiarities.
Signed-off-by: Sergio Lopez <slp@redhat.com>
2020-01-17 17:28:44 +00:00
dependabot-preview[bot]
1324aa451f
build(deps): bump proc-macro2 from 1.0.7 to 1.0.8
...
Bumps [proc-macro2](https://github.com/alexcrichton/proc-macro2 ) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/alexcrichton/proc-macro2/releases )
- [Commits](https://github.com/alexcrichton/proc-macro2/compare/1.0.7...1.0.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-17 06:58:27 +00:00
dependabot-preview[bot]
dcb6d02b98
build(deps): bump micro_http from db75e88
to 6327290
...
Bumps [micro_http](https://github.com/firecracker-microvm/firecracker ) from `db75e88` to `6327290`.
- [Release notes](https://github.com/firecracker-microvm/firecracker/releases )
- [Commits](db75e88e9e...6327290424
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-17 06:58:10 +00:00
dependabot-preview[bot]
cde2c4449b
build(deps): bump backtrace from 0.3.41 to 0.3.42
...
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs ) from 0.3.41 to 0.3.42.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases )
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.41...0.3.42 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-16 10:59:19 +00:00
dependabot-preview[bot]
d8adf6a6d7
build(deps): bump micro_http from 52e21d0
to db75e88
...
Bumps [micro_http](https://github.com/firecracker-microvm/firecracker ) from `52e21d0` to `db75e88`.
- [Release notes](https://github.com/firecracker-microvm/firecracker/releases )
- [Commits](52e21d0f9e...db75e88e9e
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-16 06:38:18 +00:00
Rob Bradford
8b500d7873
deps: Bump vm-memory and linux-loader version
...
The function GuestMemory::end_addr() has been renamed to last_addr()
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-01-15 20:21:22 +01:00
Rob Bradford
7310ab6fa7
devices, vmm: Use a bit field for ACPI GED interrupt type
...
Use independent bits for storing whether there is a CPU or memory device
changed when reporting changes via ACPI GED interrupt. This prevents a
later notification squashing an earlier one and ensure that hotplugging
both CPU and memory at the same time succeeds.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-01-15 20:21:22 +01:00
dependabot-preview[bot]
281b99af0a
build(deps): bump micro_http from 803c8fa
to 52e21d0
...
Bumps [micro_http](https://github.com/firecracker-microvm/firecracker ) from `803c8fa` to `52e21d0`.
- [Release notes](https://github.com/firecracker-microvm/firecracker/releases )
- [Commits](803c8fae14...52e21d0f9e
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-15 07:26:59 +00:00
dependabot-preview[bot]
0acabcdd27
build(deps): bump libssh2-sys from 0.2.13 to 0.2.14
...
Bumps [libssh2-sys](https://github.com/alexcrichton/ssh2-rs ) from 0.2.13 to 0.2.14.
- [Release notes](https://github.com/alexcrichton/ssh2-rs/releases )
- [Commits](https://github.com/alexcrichton/ssh2-rs/compare/libssh2-sys-0.2.13...libssh2-sys-0.2.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-15 07:26:40 +00:00
dependabot-preview[bot]
85f43c7026
build(deps): bump micro_http from edbff4c
to 803c8fa
...
Bumps [micro_http](https://github.com/firecracker-microvm/firecracker ) from `edbff4c` to `803c8fa`.
- [Release notes](https://github.com/firecracker-microvm/firecracker/releases )
- [Commits](edbff4ce62...803c8fae14
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 06:42:28 +00:00
dependabot-preview[bot]
41895d7df1
build(deps): bump rand from 0.7.2 to 0.7.3
...
Bumps [rand](https://github.com/rust-random/rand ) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 16:24:25 +00:00
dependabot-preview[bot]
85d155543e
build(deps): bump micro_http from 0987cdc
to edbff4c
...
Bumps [micro_http](https://github.com/firecracker-microvm/firecracker ) from `0987cdc` to `edbff4c`.
- [Release notes](https://github.com/firecracker-microvm/firecracker/releases )
- [Commits](0987cdc52b...edbff4ce62
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 16:24:25 +00:00
dependabot-preview[bot]
3430e20f64
build(deps): bump memchr from 2.2.1 to 2.3.0
...
Bumps [memchr](https://github.com/BurntSushi/rust-memchr ) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/BurntSushi/rust-memchr/releases )
- [Commits](https://github.com/BurntSushi/rust-memchr/compare/2.2.1...2.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 16:24:25 +00:00
dependabot-preview[bot]
7d853241ad
build(deps): bump constant_time_eq from 0.1.4 to 0.1.5
...
Bumps [constant_time_eq](https://github.com/cesarb/constant_time_eq ) from 0.1.4 to 0.1.5.
- [Release notes](https://github.com/cesarb/constant_time_eq/releases )
- [Commits](https://github.com/cesarb/constant_time_eq/compare/0.1.4...0.1.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 16:24:25 +00:00
dependabot-preview[bot]
fc8bfe07f3
build(deps): bump backtrace from 0.3.40 to 0.3.41
...
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs ) from 0.3.40 to 0.3.41.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases )
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.40...0.3.41 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 16:24:25 +00:00
dependabot-preview[bot]
345c922cb9
build(deps): bump micro_http from 0bfaf39
to 0987cdc
...
Bumps [micro_http](https://github.com/firecracker-microvm/firecracker ) from `0bfaf39` to `0987cdc`.
- [Release notes](https://github.com/firecracker-microvm/firecracker/releases )
- [Commits](0bfaf39af1...0987cdc52b
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-10 07:18:48 +00:00
dependabot-preview[bot]
b38beb606f
build(deps): bump regex-syntax from 0.6.12 to 0.6.13
...
Bumps [regex-syntax](https://github.com/rust-lang/regex ) from 0.6.12 to 0.6.13.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.6.12...regex-syntax-0.6.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 20:55:02 +00:00
dependabot-preview[bot]
9d775a140f
build(deps): bump pnet from 0.23.0 to 0.25.0
...
Bumps [pnet](https://github.com/libpnet/libpnet ) from 0.23.0 to 0.25.0.
- [Release notes](https://github.com/libpnet/libpnet/releases )
- [Commits](https://github.com/libpnet/libpnet/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 08:07:19 +00:00
dependabot-preview[bot]
70d80cc064
build(deps): bump pnet_sys from 0.23.0 to 0.23.1
...
Bumps [pnet_sys](https://github.com/libpnet/libpnet ) from 0.23.0 to 0.23.1.
- [Release notes](https://github.com/libpnet/libpnet/releases )
- [Commits](https://github.com/libpnet/libpnet/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 07:33:18 +00:00
dependabot-preview[bot]
f493d434ba
build(deps): bump vm-memory from 467eda6
to 218afdd
...
Bumps [vm-memory](https://github.com/rust-vmm/vm-memory ) from `467eda6` to `218afdd`.
- [Release notes](https://github.com/rust-vmm/vm-memory/releases )
- [Commits](467eda62ae...218afddd4f
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 07:08:08 +00:00
dependabot-preview[bot]
2500d0aaac
build(deps): bump micro_http from 2953365
to 0bfaf39
...
Bumps [micro_http](https://github.com/firecracker-microvm/firecracker ) from `2953365` to `0bfaf39`.
- [Release notes](https://github.com/firecracker-microvm/firecracker/releases )
- [Commits](29533658e5...0bfaf39af1
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 07:07:55 +00:00
dependabot-preview[bot]
279c4f91a3
build(deps): bump pnet_macros from 0.23.0 to 0.25.0
...
Bumps [pnet_macros](https://github.com/libpnet/libpnet ) from 0.23.0 to 0.25.0.
- [Release notes](https://github.com/libpnet/libpnet/releases )
- [Commits](https://github.com/libpnet/libpnet/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 07:05:53 +00:00
dependabot-preview[bot]
0d2e38db25
build(deps): bump cc from 1.0.49 to 1.0.50
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.49 to 1.0.50.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.49...1.0.50 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-08 17:00:07 +00:00
dependabot-preview[bot]
d756844096
build(deps): bump getrandom from 0.1.13 to 0.1.14
...
Bumps [getrandom](https://github.com/rust-random/getrandom ) from 0.1.13 to 0.1.14.
- [Release notes](https://github.com/rust-random/getrandom/releases )
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.1.13...v0.1.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 13:54:27 +00:00
dependabot-preview[bot]
9d3f656572
build(deps): bump cc from 1.0.48 to 1.0.49
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.48 to 1.0.49.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.48...1.0.49 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 08:14:13 +00:00
dependabot-preview[bot]
f59665e8aa
build(deps): bump epoll from 4.0.1 to 4.1.0
...
Bumps [epoll](https://github.com/nathansizemore/epoll ) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/nathansizemore/epoll/releases )
- [Commits](https://github.com/nathansizemore/epoll/compare/4.0.1...4.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 07:39:59 +00:00
dependabot-preview[bot]
9482ded365
build(deps): bump micro_http from aec25f9
to 2953365
...
Bumps [micro_http](https://github.com/firecracker-microvm/firecracker ) from `aec25f9` to `2953365`.
- [Release notes](https://github.com/firecracker-microvm/firecracker/releases )
- [Commits](aec25f9e5a...29533658e5
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 07:08:03 +00:00
dependabot-preview[bot]
e4ea60dd96
build(deps): bump rand from 0.7.0 to 0.7.2
...
Bumps [rand](https://github.com/rust-random/rand ) from 0.7.0 to 0.7.2.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.7.0...0.7.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 08:32:44 +00:00
dependabot-preview[bot]
44dd056647
build(deps): bump remain from 0.1.5 to 0.2.0
...
Bumps [remain](https://github.com/dtolnay/remain ) from 0.1.5 to 0.2.0.
- [Release notes](https://github.com/dtolnay/remain/releases )
- [Commits](https://github.com/dtolnay/remain/compare/0.1.5...0.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 08:26:02 +00:00
dependabot-preview[bot]
091c9d9f93
build(deps): bump pnet from 0.22.0 to 0.23.0
...
Bumps [pnet](https://github.com/libpnet/libpnet ) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/libpnet/libpnet/releases )
- [Commits](https://github.com/libpnet/libpnet/commits/v0.23.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 07:53:56 +00:00
dependabot-preview[bot]
d8c3912a18
build(deps): bump micro_http from be97831
to aec25f9
...
Bumps [micro_http](https://github.com/firecracker-microvm/firecracker ) from `be97831` to `aec25f9`.
- [Release notes](https://github.com/firecracker-microvm/firecracker/releases )
- [Commits](be978312ea...aec25f9e5a
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 07:26:24 +00:00
dependabot-preview[bot]
1a28f64d5d
build(deps): bump atty from 0.2.13 to 0.2.14
...
Bumps [atty](https://github.com/softprops/atty ) from 0.2.13 to 0.2.14.
- [Release notes](https://github.com/softprops/atty/releases )
- [Changelog](https://github.com/softprops/atty/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/atty/compare/0.2.13...0.2.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 07:26:09 +00:00
dependabot-preview[bot]
8f6cbf849a
build(deps): bump vm-memory from 291dc2e
to 467eda6
...
Bumps [vm-memory](https://github.com/rust-vmm/vm-memory ) from `291dc2e` to `467eda6`.
- [Release notes](https://github.com/rust-vmm/vm-memory/releases )
- [Commits](291dc2e236...467eda62ae
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 07:25:53 +00:00
dependabot-preview[bot]
5a0d01ca13
build(deps): bump blake2b_simd from 0.5.9 to 0.5.10
...
Bumps [blake2b_simd](https://github.com/oconnor663/blake2_simd ) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/oconnor663/blake2_simd/releases )
- [Commits](https://github.com/oconnor663/blake2_simd/compare/0.5.9...0.5.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-05 09:03:50 +00:00