Skip to content

Commit

Permalink
Merge pull request #10 from novafacing/8.2.2-v0
Browse files Browse the repository at this point in the history
8.2.2 v0
  • Loading branch information
novafacing authored Mar 11, 2024
2 parents 2d1c40d + 178ea42 commit 611f252
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "GPL-2.0-only"
publish = true
readme = "README.md"
repository = "https://github.com/novafacing/qemu-rs"
version = "8.2.0-v1"
version = "8.2.2-v0"

[workspace]
resolver = "2"
Expand All @@ -23,6 +23,6 @@ members = [
default-members = ["qemu-plugin", "qemu-plugin-sys"]

[workspace.dependencies]
qemu-plugin-sys = { version = "8.2.0-v1", path = "qemu-plugin-sys" }
qemu-plugin = { version = "8.2.0-v1", path = "qemu-plugin" }
qemu = { version = "8.2.0-v1", path = "qemu" }
qemu-plugin-sys = { version = "8.2.2-v0", path = "qemu-plugin-sys" }
qemu-plugin = { version = "8.2.2-v0", path = "qemu-plugin" }
qemu = { version = "8.2.2-v0", path = "qemu" }
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ RUN apt-get -y update && \

COPY . /qemu-rs

WORKDIR /qemu-rs
WORKDIR /qemu-rs/plugins/tracer

RUN cargo build -r && \
cargo run -r --bin tracer -- -a /bin/ls -- -lah
RUN cargo build -r || exit 0
RUN cargo build -r

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ installs Rust wrappers for QEMU as binaries.
You can install QEMU with (add any additional features you need, e.g. `plugins`):

```sh
cargo install qemu@8.2.0-v1 --features=binaries
cargo install qemu@8.2.2-v0 --features=binaries
```

On some systems, particularly BTRFS systems, `/tmp` may not be large enough for the
temporary build directory (QEMU is quite large to build). In this case, create a
directory on your root filesystem (e.g. `$HOME/.cargo/tmp`) and set
`CARGO_TARGET_DIR=$HOME/.cargo/tmp` when running the install command.
`CARGO_TARGET_DIR=$HOME/.cargo/tmp` when running the install command.
2 changes: 1 addition & 1 deletion qemu-plugin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version.workspace = true
[dependencies]
anyhow = "1.0.75"
once_cell = "1.19.0"
qemu-plugin-sys = { version = "8.2.0-v1", workspace = true }
qemu-plugin-sys = { version = "8.2.2-v0", workspace = true }
thiserror = "1.0.51"

[target.'cfg(windows)'.dependencies.windows]
Expand Down
4 changes: 2 additions & 2 deletions qemu-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
qemu-plugin = "8.2.0-v1"
qemu-plugin = "8.2.2-v0"
anyhow = "1.0.75"
ffi = "0.1.0"
ctor = "0.2.6"
```
```
2 changes: 1 addition & 1 deletion qemu-plugin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
//! crate-type = ["cdylib"]
//!
//! [dependencies]
//! qemu-plugin = "8.2.0-v1"
//! qemu-plugin = "8.2.2-v0"
//! anyhow = "1.0.75"
//! ffi = "0.1.0"
//! ctor = "0.2.6"
Expand Down
8 changes: 4 additions & 4 deletions qemu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
memfd-exec = "2.1.0"
qemu = { version = "8.2.0", features = ["qemu-aarch64"] }
qemu = { version = "8.2.2", features = ["qemu-aarch64"] }
```

```rust
Expand Down Expand Up @@ -115,7 +115,7 @@ to configure this crate as a dependency:
This will make the `qemu-x86_64` binary available.

```toml
qemu = { version = "8.2.0", features = ["qemu-x86_64"] }
qemu = { version = "8.2.2", features = ["qemu-x86_64"] }
```

### Install an optimized qemu-x86_64 usermode emulator
Expand All @@ -124,7 +124,7 @@ This will also make the `qemu-x86_64` binary available, but will strip and optim
with `lto`.

```toml
qemu = { version = "8.2.0", features = ["qemu-x86_64", "lto", "strip"]
qemu = { version = "8.2.2", features = ["qemu-x86_64", "lto", "strip"]
```

### Install qemu-system-arm emulator with customized options
Expand All @@ -136,4 +136,4 @@ about configure options for more details.

## Contributing

Contributions are welcome for any reason!
Contributions are welcome for any reason!
2 changes: 1 addition & 1 deletion qemu/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use tar::Archive;
use xz2::read::XzDecoder;

const QEMU_SRC_URL_BASE: &str = "https://download.qemu.org/";
const QEMU_VERSION: &str = "8.2.0";
const QEMU_VERSION: &str = "8.2.2";

pub struct ConfigureArgs(Vec<String>);

Expand Down
2 changes: 1 addition & 1 deletion qemu/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//!
//! To install with binaries, `cargo install qemu --features=binaries,plugins,lto`
pub const QEMU_VERSION: &str = "8.2.0";
pub const QEMU_VERSION: &str = "8.2.2";

#[cfg(all(feature = "aarch64-linux-user", not(docs_rs)))]
/// QEMU binary for qemu-aarch64
Expand Down

0 comments on commit 611f252

Please sign in to comment.