[Libvir] [PATCH] cleanup of virDeviceMode