chardev: switch null init to qapi