libio fixes

Signed-off-by: Andrew Jones <drjones@redhat.com>
virtio-testdev fixes

Signed-off-by: Andrew Jones <drjones@redhat.com>