Skip to content

Conversation

stsquad
Copy link
Collaborator

@stsquad stsquad commented Jul 10, 2023

This is fairly simple for the backend we just need to implement the specs message. The handling of GET/SET_STATUS is done by vhost internals.

Summary of the PR

This demonstrates the changes for enabling standalone at the daemon level.

This is fairly simple for the backend we just need to implement the
specs message. The handling of GET/SET_STATUS is done by vhost
internals.

Signed-off-by: Alex Bennée <[email protected]>
@@ -28,6 +28,7 @@ use vmm_sys_util::eventfd::{EventFd, EFD_NONBLOCK};

const QUEUE_SIZE: usize = 1024;
const NUM_QUEUES: usize = 1;
const VIRTIO_ID_RNG: u32 = 4;
Copy link

Choose a reason for hiding this comment

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

Probably virtio-bindings should get extended with virtio_ids.h bindings?

Copy link

Choose a reason for hiding this comment

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

I did this for scsi recently, so I can propose a PR.

Copy link

Choose a reason for hiding this comment

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

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.

2 participants