Commit Graph

333 Commits

Author SHA1 Message Date
Viresh Kumar
86c56ebbbe
Merge pull request #149 from rust-vmm/dependabot/cargo/cc-1.0.73
build(deps): bump cc from 1.0.72 to 1.0.73
2022-04-25 19:20:57 +05:30
dependabot[bot]
fcd4db9151
build(deps): bump cc from 1.0.72 to 1.0.73
Bumps [cc](https://github.com/alexcrichton/cc-rs) from 1.0.72 to 1.0.73.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases)
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.72...1.0.73)

---
updated-dependencies:
- dependency-name: cc
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 04:08:30 +00:00
Viresh Kumar
4a7766f8fc
Merge pull request #76 from vireshk/gpio/backend
Gpio/backend
2022-04-20 23:16:29 +05:30
Viresh Kumar
8602c12e0c
Merge branch 'main' into gpio/backend 2022-04-20 09:10:43 +05:30
Viresh Kumar
e430c89c77
Merge pull request #147 from rust-vmm/dependabot/cargo/libc-0.2.124
build(deps): bump libc from 0.2.122 to 0.2.124
2022-04-20 09:10:15 +05:30
Viresh Kumar
4a3f49c7b3
Merge branch 'main' into gpio/backend 2022-04-19 21:58:25 +05:30
dependabot[bot]
ab978a06c7
build(deps): bump libc from 0.2.122 to 0.2.124
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.122 to 0.2.124.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.122...0.2.124)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-19 00:59:45 +00:00
Viresh Kumar
b37dda7c0b
Merge pull request #145 from rust-vmm/dependabot/cargo/clap-3.1.9
build(deps): bump clap from 3.1.8 to 3.1.9
2022-04-19 06:28:15 +05:30
Viresh Kumar
832feac5b0
Merge branch 'main' into dependabot/cargo/clap-3.1.9 2022-04-19 06:23:16 +05:30
Viresh Kumar
dd1f896beb
Merge pull request #146 from rust-vmm/dependabot/cargo/quote-1.0.18
build(deps): bump quote from 1.0.17 to 1.0.18
2022-04-19 06:22:54 +05:30
dependabot[bot]
6d19527f62
build(deps): bump quote from 1.0.17 to 1.0.18
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.17 to 1.0.18.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](https://github.com/dtolnay/quote/compare/1.0.17...1.0.18)

---
updated-dependencies:
- dependency-name: quote
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 04:07:37 +00:00
dependabot[bot]
411f722c30
build(deps): bump clap from 3.1.8 to 3.1.9
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.8 to 3.1.9.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.8...v3.1.9)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 04:07:33 +00:00
Viresh Kumar
991b069a07
Merge branch 'main' into gpio/backend 2022-04-13 08:17:38 +05:30
Viresh Kumar
8f4c718746
Merge pull request #143 from rust-vmm/dependabot/cargo/proc-macro2-1.0.37
build(deps): bump proc-macro2 from 1.0.36 to 1.0.37
2022-04-12 22:12:09 +05:30
dependabot[bot]
64bfff5ed8
build(deps): bump proc-macro2 from 1.0.36 to 1.0.37
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.36 to 1.0.37.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.36...1.0.37)

---
updated-dependencies:
- dependency-name: proc-macro2
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 14:55:06 +00:00
Viresh Kumar
ea65b5b589
Merge pull request #142 from rust-vmm/dependabot/cargo/libc-0.2.122
build(deps): bump libc from 0.2.121 to 0.2.122
2022-04-12 20:23:46 +05:30
mathieupoirier
f93af5d414
Merge branch 'main' into dependabot/cargo/libc-0.2.122 2022-04-12 08:50:48 -06:00
Viresh Kumar
c3d457ae0e
Merge pull request #141 from rust-vmm/dependabot/cargo/syn-1.0.91
build(deps): bump syn from 1.0.90 to 1.0.91
2022-04-12 20:20:00 +05:30
dependabot[bot]
1d02537cec
build(deps): bump libc from 0.2.121 to 0.2.122
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.121 to 0.2.122.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.121...0.2.122)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 04:08:27 +00:00
dependabot[bot]
15189beca0
build(deps): bump syn from 1.0.90 to 1.0.91
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.90 to 1.0.91.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.90...1.0.91)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 04:08:22 +00:00
Viresh Kumar
c58f1bd00f
Merge branch 'main' into gpio/backend 2022-04-07 15:13:23 +05:30
Viresh Kumar
ac18c60688
Merge pull request #139 from rust-vmm/dependabot/cargo/indexmap-1.8.1
build(deps): bump indexmap from 1.8.0 to 1.8.1
2022-04-04 17:37:52 +05:30
Viresh Kumar
00b0396dbf
Merge branch 'main' into dependabot/cargo/indexmap-1.8.1 2022-04-04 17:34:52 +05:30
Viresh Kumar
2ea64e1fd2
Merge pull request #138 from rust-vmm/dependabot/cargo/getrandom-0.2.6
build(deps): bump getrandom from 0.2.5 to 0.2.6
2022-04-04 17:34:40 +05:30
dependabot[bot]
d6898e8ae7
build(deps): bump indexmap from 1.8.0 to 1.8.1
Bumps [indexmap](https://github.com/bluss/indexmap) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/bluss/indexmap/releases)
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/bluss/indexmap/compare/1.8.0...1.8.1)

---
updated-dependencies:
- dependency-name: indexmap
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 11:48:37 +00:00
dependabot[bot]
30161469d9
build(deps): bump getrandom from 0.2.5 to 0.2.6
Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.5 to 0.2.6.
- [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.2.5...v0.2.6)

---
updated-dependencies:
- dependency-name: getrandom
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 11:48:26 +00:00
Viresh Kumar
267ac8fb53
Merge pull request #140 from rust-vmm/dependabot/cargo/clap-3.1.8
build(deps): bump clap from 3.1.6 to 3.1.8
2022-04-04 17:17:27 +05:30
Viresh Kumar
131464787d gpio: Skip musl builds
Disable builds for musl, where libgpiod build fails on
rust-vmm-container due to missing tools and headers.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-04-04 12:38:51 +05:30
Viresh Kumar
a9678adfb9 gpio: Update Cargo.lock and coverage score
Update Cargo.lock and coverage score.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-04-04 12:38:51 +05:30
Viresh Kumar
c38dacd880 gpio: Update README.md and add one for gpio
This updates the main README and adds a specific one for GPIO crate.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-04-04 12:38:51 +05:30
Viresh Kumar
cc6d1e608f gpio: Add tests
Add tests to validate functionality of the GPIO crate.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-04-04 12:38:51 +05:30
dependabot[bot]
92cdaa4287
build(deps): bump clap from 3.1.6 to 3.1.8
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.6 to 3.1.8.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.6...v3.1.8)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 04:08:17 +00:00
Viresh Kumar
679224af8d gpio: Add support for interrupts
Add support for GPIO interrupts. Only edge interrupts are supported by
libgpiod.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-03-31 09:09:32 +05:30
Viresh Kumar
8a021c704f gpio: Process virtio requests
This patch implements process_queue() to process incoming requests.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-03-31 09:09:32 +05:30
Viresh Kumar
472870d44d gpio: Implement low level GPIO helpers
This patch implements the low level GPIO helpers responsible for pin
level functioning.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-03-31 09:09:32 +05:30
Viresh Kumar
5caff0a8ad gpio: Add boilerplate code
This adds the boilerplate code and its dependencies to get the basic
structure for the gpio crate.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-03-31 09:09:32 +05:30
Viresh Kumar
6f76558744
Merge pull request #136 from rust-vmm/dependabot/cargo/quote-1.0.17
build(deps): bump quote from 1.0.16 to 1.0.17
2022-03-31 07:34:47 +05:30
Viresh Kumar
682e01dccb
Merge branch 'main' into dependabot/cargo/quote-1.0.17 2022-03-31 07:20:23 +05:30
Viresh Kumar
cd237bec98
Merge pull request #137 from rust-vmm/dependabot/cargo/redox_syscall-0.2.13
build(deps): bump redox_syscall from 0.2.12 to 0.2.13
2022-03-31 07:20:16 +05:30
dependabot[bot]
a04a234a17
build(deps): bump redox_syscall from 0.2.12 to 0.2.13
Bumps redox_syscall from 0.2.12 to 0.2.13.

---
updated-dependencies:
- dependency-name: redox_syscall
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 19:38:09 +00:00
mathieupoirier
4da30d8889
Merge branch 'main' into dependabot/cargo/quote-1.0.17 2022-03-30 13:37:01 -06:00
Viresh Kumar
15b8e7c094
Merge pull request #135 from rust-vmm/dependabot/cargo/log-0.4.16
build(deps): bump log from 0.4.14 to 0.4.16
2022-03-31 01:06:00 +05:30
dependabot[bot]
e2d6794b07
build(deps): bump quote from 1.0.16 to 1.0.17
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.16 to 1.0.17.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](https://github.com/dtolnay/quote/compare/1.0.16...1.0.17)

---
updated-dependencies:
- dependency-name: quote
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 17:33:11 +00:00
mathieupoirier
6763e3b6ca
Merge branch 'main' into dependabot/cargo/log-0.4.16 2022-03-30 11:32:39 -06:00
Viresh Kumar
e8c8fc2acb
Merge pull request #134 from rust-vmm/dependabot/cargo/redox_syscall-0.2.12
build(deps): bump redox_syscall from 0.2.11 to 0.2.12
2022-03-30 23:01:53 +05:30
mathieupoirier
15b082cdcb
Merge branch 'main' into dependabot/cargo/redox_syscall-0.2.12 2022-03-30 11:07:31 -06:00
Viresh Kumar
c55173314d
Merge pull request #133 from rust-vmm/dependabot/cargo/syn-1.0.90
build(deps): bump syn from 1.0.89 to 1.0.90
2022-03-30 22:34:29 +05:30
Viresh Kumar
08db73886e
Merge branch 'main' into dependabot/cargo/log-0.4.16 2022-03-29 17:08:25 +05:30
Viresh Kumar
085b7823a8
Merge branch 'main' into dependabot/cargo/redox_syscall-0.2.12 2022-03-29 17:08:24 +05:30
dependabot[bot]
fb903ca568
build(deps): bump log from 0.4.14 to 0.4.16
Bumps [log](https://github.com/rust-lang/log) from 0.4.14 to 0.4.16.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/commits)

---
updated-dependencies:
- dependency-name: log
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 11:35:04 +00:00