[libvirt] [PATCH] virmdev: fix build on non-Linux