qdev: Do not let the user try to device_add when it cannot work