Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
device: update dbs-device to v0.2.0
Browse files Browse the repository at this point in the history
- Add more UTs for dbs-device
- Add as_any for DeviceIo trait
- Several clippy warnings

Signed-off-by: Chao Wu <chaowu@linux.alibaba.com>
  • Loading branch information
studychao committed Oct 24, 2022
1 parent cf9b71e commit d473a43
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
16 changes: 14 additions & 2 deletions crates/dbs-device/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# v0.1.0
# CHANGELOG
## v0.1.0

## Added
### Added

- This is the initial release for dbs-device.

## v0.2.0

### Added

- Add more UTs for dbs-device
- Add as_any for DeviceIo trait

### Fixed

- Several clippy warnings
2 changes: 1 addition & 1 deletion crates/dbs-device/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dbs-device"
version = "0.1.0"
version = "0.2.0"
authors = ["Alibaba Dragonball Team"]
description = "Device model for Dragonball Sandbox"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/dbs-interrupt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ keywords = ["dragonball", "secure-sandbox", "device", "interrupt"]
readme = "README.md"

[dependencies]
dbs-device = { path = "../dbs-device", version = "0.1.0" }
dbs-device = { path = "../dbs-device", version = "0.2.0" }
kvm-bindings = { version = "0.5.0", optional = true }
kvm-ioctls = { version = "0.11.0", optional = true }
libc = "0.2"
Expand Down
2 changes: 1 addition & 1 deletion crates/dbs-legacy-devices/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ keywords = ["dragonball", "secure-sandbox", "devices", "legacy"]
readme = "README.md"

[dependencies]
dbs-device = { version = "0.1.0", path = "../dbs-device" }
dbs-device = { version = "0.2.0", path = "../dbs-device" }
dbs-utils = { version = "0.1.0", path = "../dbs-utils" }
log = "0.4.14"
serde = { version = "1.0.27", features = ["derive", "rc"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/dbs-virtio-devices/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ readme = "README.md"
[dependencies]
byteorder = "1.4.3"
caps = "0.5.3"
dbs-device = { version = "0.1.0", path = "../dbs-device" }
dbs-device = { version = "0.2.0", path = "../dbs-device" }
dbs-interrupt = { version = "0.1.0", path = "../dbs-interrupt", features = ["kvm-legacy-irq", "kvm-msi-irq"] }
dbs-utils = { version = "0.1.0", path = "../dbs-utils" }
epoll = "4.0.1"
Expand Down

0 comments on commit d473a43

Please sign in to comment.