mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-27 23:48:55 +00:00
vsock: add warning message for EVT_QUEUE_EVENT
EVT_QUEUE_EVENT is an unexpected message from current impl, so add warning for that Signed-off-by: Jeongik Cha <jeongik@google.com>
This commit is contained in:
parent
f2acb05c33
commit
c2ba07dc06
@ -297,7 +297,9 @@ impl VhostUserBackend<VringRwLock, ()> for VhostUserVsockBackend {
|
||||
TX_QUEUE_EVENT => {
|
||||
thread.process_tx(vring_tx, evt_idx)?;
|
||||
}
|
||||
EVT_QUEUE_EVENT => {}
|
||||
EVT_QUEUE_EVENT => {
|
||||
warn!("Received an unexpected EVT_QUEUE_EVENT");
|
||||
}
|
||||
BACKEND_EVENT => {
|
||||
thread.process_backend_evt(evset);
|
||||
if let Err(e) = thread.process_tx(vring_tx, evt_idx) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user