CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2024/11/21 06:25:30

Modified files:
        usr.sbin/vmd   : atomicio.c atomicio.h control.c proc.c vioblk.c 
                         vionet.c virtio.c vm.c vmm.c 

Log message:
Convert vmd over to new imsgbuf_read behaviour and fix some lurking
issues by introducing imsg_read_one().

This code is still a bit strange since it uses imsg_flush() on
non-blocking sockets. A possible fix would be to replace imsg_flush()
with a new imsg_write_one() that uses poll like atomicio.
This is what imsg_read_one() does here.

OK tb@

Reply via email to