]> git.proxmox.com Git - mirror_qemu.git/blobdiff - monitor.c
xhci: only update dequeue ptr on completed transfers
[mirror_qemu.git] / monitor.c
index ea0a1a2bb56b6d7bb3d3a560952a5869525f9119..2b5a25b4fff8b1276520373f4bf1e635a2b8fe6f 100644 (file)
--- a/monitor.c
+++ b/monitor.c
@@ -3166,7 +3166,7 @@ void device_add_completion(ReadLineState *rs, int nb_args, const char *str)
                                              TYPE_DEVICE);
         name = object_class_get_name(OBJECT_CLASS(dc));
 
-        if (!dc->cannot_instantiate_with_device_add_yet
+        if (dc->user_creatable
             && !strncmp(name, str, len)) {
             readline_add_completion(rs, name);
         }