Closed arronwy closed 4 years ago
When splitting this kind of crate out of Cloud Hypervisor, we need to find a way to trigger Cloud Hypervisor's CI for each PR that would be sent here.
I'm looking at ways of having repository event dispatches (https://github.com/peter-evans/repository-dispatch) trigger dependabot test PRs. Other ideas?
The successful cargo build of vhost-user-backend require these two PRs: https://github.com/rust-vmm/vm-virtio/pulls merged into https://github.com/cloud-hypervisor/vm-virtio ch branch and export next_avail/used in Queue struct as pub in vm-virtio
@arronwy Could we please first work on steps 1 and 2 from https://github.com/cloud-hypervisor/cloud-hypervisor/issues/1361#issuecomment-649983097 and then have this crate initially pointing at the cloud-hypervisor/vm-virtio crate?
The successful cargo build of vhost-user-backend require these two PRs: https://github.com/rust-vmm/vm-virtio/pulls merged into https://github.com/cloud-hypervisor/vm-virtio ch branch and export next_avail/used in Queue struct as pub in vm-virtio
@arronwy Could we please first work on steps 1 and 2 from cloud-hypervisor/cloud-hypervisor#1361 (comment) and then have this crate initially pointing at the cloud-hypervisor/vm-virtio crate?
Ok, for step1 split vm-virtio crate into vm-virtio and virtio-devices, should we only submit the changes in cloud hypersor internal project and split vm-virtio directory to vm-virtio and virtio-devices directories? for step 2, Gerry also submit the PR (https://github.com/cloud-hypervisor/vm-virtio/pull/1) to cloud hypervisor vm-virtio ch branch, should we rebase cloud-hypervisor vm-virtio crate on top of Gerry's PR?
The vm-virtio dragonball branch is ready for use:)
Updated Cargo.toml file to use vm-virtion dragonball branch and cargo build succeeded.
@arronwy @jiangliu I think this is ready to be merged as an initial implementation. Please note:
I'll open issues for items 1 and 3.
This PR extract vhost-user-backend patches from cloud hypervisor: In cloud hypervisor project:
Remove dependency crates version upgrade patches:
Remove two reverted patches:
The final source code have no diff with current cloud hypervisor. The successful cargo build of vhost-user-backend require these two PRs: https://github.com/rust-vmm/vm-virtio/pulls merged into https://github.com/cloud-hypervisor/vm-virtio ch branch and export next_avail/used in Queue struct as pub in vm-virtio :