mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-01-24 22:15:40 +00:00
runtime-rs: Bump qapi-rs from 0.14 to 0.15
The detailed information about the updated versions as below:
```
qapi = { version = "0.15", features = ["qmp", "async-tokio-all"] }
qapi-spec = "0.3.2"
qapi-qmp = "0.15.0"
```
and it will correct some corresonding structures.
Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>
This commit is contained in:
8
Cargo.lock
generated
8
Cargo.lock
generated
@@ -3621,9 +3621,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "qapi"
|
||||
version = "0.14.0"
|
||||
version = "0.15.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c6412bdd014ebee03ddbbe79ac03a0b622cce4d80ba45254f6357c847f06fa38"
|
||||
checksum = "7b047adab56acc4948d4b9b58693c1f33fd13efef2d6bb5f0f66a47436ceada8"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"futures 0.3.28",
|
||||
@@ -3658,9 +3658,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "qapi-qmp"
|
||||
version = "0.14.0"
|
||||
version = "0.15.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e8b944db7e544d2fa97595e9a000a6ba5c62c426fa185e7e00aabe4b5640b538"
|
||||
checksum = "45303cac879d89361cad0287ae15f9ae1e7799b904b474152414aeece39b9875"
|
||||
dependencies = [
|
||||
"qapi-codegen",
|
||||
"qapi-spec",
|
||||
|
||||
@@ -33,9 +33,9 @@ oci-spec = { workspace = true }
|
||||
futures = "0.3.25"
|
||||
safe-path = "0.1.0"
|
||||
crossbeam-channel = "0.5.6"
|
||||
qapi = { version = "0.14", features = ["qmp", "async-tokio-all"] }
|
||||
qapi-spec = "0.3.1"
|
||||
qapi-qmp = "0.14.0"
|
||||
qapi = { version = "0.15", features = ["qmp", "async-tokio-all"] }
|
||||
qapi-spec = "0.3.2"
|
||||
qapi-qmp = "0.15.0"
|
||||
hyperlocal = { workspace = true }
|
||||
hyper = { workspace = true, features = ["client"] }
|
||||
|
||||
|
||||
@@ -98,11 +98,10 @@ impl Qmp {
|
||||
pub fn execute_migration(&mut self, uri: &str) -> Result<()> {
|
||||
self.qmp
|
||||
.execute(&migrate {
|
||||
channels: None,
|
||||
detach: None,
|
||||
resume: None,
|
||||
blk: None,
|
||||
inc: None,
|
||||
uri: uri.to_string(),
|
||||
uri: Some(uri.to_string()),
|
||||
})
|
||||
.map(|_| ())
|
||||
.context("execute migration")
|
||||
@@ -111,7 +110,9 @@ impl Qmp {
|
||||
pub fn execute_migration_incoming(&mut self, uri: &str) -> Result<()> {
|
||||
self.qmp
|
||||
.execute(&migrate_incoming {
|
||||
uri: uri.to_string(),
|
||||
channels: None,
|
||||
exit_on_error: None,
|
||||
uri: Some(uri.to_string()),
|
||||
})
|
||||
.map(|_| ())
|
||||
.context("execute migration incoming")
|
||||
@@ -270,6 +271,7 @@ impl Qmp {
|
||||
pmem: None,
|
||||
readonly: None,
|
||||
mem_path: "/dev/shm".to_owned(),
|
||||
rom: None,
|
||||
},
|
||||
});
|
||||
self.qmp.execute(&memory_backend)?;
|
||||
@@ -834,7 +836,6 @@ impl Qmp {
|
||||
| qmp::CpuInfoFast::mips64(cpu_info)
|
||||
| qmp::CpuInfoFast::mips64el(cpu_info)
|
||||
| qmp::CpuInfoFast::mipsel(cpu_info)
|
||||
| qmp::CpuInfoFast::nios2(cpu_info)
|
||||
| qmp::CpuInfoFast::or1k(cpu_info)
|
||||
| qmp::CpuInfoFast::ppc(cpu_info)
|
||||
| qmp::CpuInfoFast::ppc64(cpu_info)
|
||||
|
||||
Reference in New Issue
Block a user