[libvirt] [PATCH v2] nodedev: update mdev_types caps before dumpxml