Skip to contentSkip to conversation

notify io_thread at the end of rx handling

Qemu-devel Paul Brook 1 participant 1 message Jul 22, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Paul Brook

author
#1 lore raw
Quoted 2 lines

This is a backport from qemu-kvm. Just instead of using kvm's specific notification mechanism, we use qemu_notify_event()

I find it hard to believe this is the right thing to do. Devices shouldn't care whether we're using an IO thread or not.

If there's something keeping track of which devices have RX buffers available, then we should be notifying that directly, not relying on polling form some unspecified event look. Wasn't this the whole point of adding the packet queueing to the net layer?

Paul