Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Xen builds #380

Merged
merged 2 commits into from
Jul 6, 2023
Merged

Add support for Xen builds #380

merged 2 commits into from
Jul 6, 2023

Conversation

vireshk
Copy link
Collaborator

@vireshk vireshk commented Jul 3, 2023

Various rust-vmm dependencies now support Xen platforms under a new feature xen. Add the same here for all the crates.

Also enable the XEN_MMAP protocol feature to use the backends on Xen.

crates/gpio/src/vhu_gpio.rs Outdated Show resolved Hide resolved
@vireshk
Copy link
Collaborator Author

vireshk commented Jul 3, 2023

A lot of dependent crates aren't published yet, waiting for them for a successful build here

mathieupoirier
mathieupoirier previously approved these changes Jul 3, 2023
Copy link
Contributor

@mathieupoirier mathieupoirier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the I2C and RNG parts

Various rust-vmm dependencies now support Xen platforms under a new
feature `xen`. Add the same here for all the crates.

Signed-off-by: Viresh Kumar <[email protected]>
Cargo audit gives an error currently:

Crate:         hermit-abi
Version:       0.3.1
Warning:       yanked

Fix it by updating the dependencies forcefully.

Signed-off-by: Viresh Kumar <[email protected]>
@vireshk
Copy link
Collaborator Author

vireshk commented Jul 6, 2023

@stefano-garzarella @stsquad This request is finally ready to be merged.

@vireshk vireshk enabled auto-merge (rebase) July 6, 2023 07:02
@vireshk vireshk requested a review from mathieupoirier July 6, 2023 11:06
@vireshk vireshk merged commit 055f27f into rust-vmm:main Jul 6, 2023
@vireshk vireshk deleted the xen branch November 28, 2023 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants