rust-vmm / vmm-reference

A VMM implementation based of rust-vmm components
Apache License 2.0
146 stars 61 forks source link

Updated to latest virtio-queue and vm-memory 0.7.0 #213

Closed RaduNiculae closed 2 years ago

RaduNiculae commented 2 years ago

Updated the virtio-queue, virtio-blk, virtio-device to the commit d8ef45f and vm-memory 0.7.0.

Signed-off-by: Niculae Radu r.niculae99@gmail.com

Summary of the PR

The new virtio-queue implementation does not allow Queue to be cloned since QueueState does not implement the Clone trait anymore. The queues in VirtioConfig are removed after the configuration steps and added to their corresponding handlers.

Requirements

Before submitting your PR, please make sure you addressed the following requirements:

lauralt commented 2 years ago

If you do another push, it would actually be nice to add the explanation from the summary to the commit message as well.