]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - qom/object.c
target/sparc/cpu: Rename the CPU models with a "+" in their names
[thirdparty/qemu.git] / qom / object.c
index 44ec8f6460f60f0aa63493f3a0381e3db37c6021..157a45c5f8b2ab3d7117e6c3424fe6a036135658 100644 (file)
@@ -157,14 +157,6 @@ static bool type_name_is_valid(const char *name)
                         "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
                         "0123456789-_.");
 
-    /* Allow some legacy names with '+' in it for compatibility reasons */
-    if (name[plen] == '+') {
-        if (plen >= 17 && g_str_has_prefix(name, "Sun-UltraSparc-I")) {
-            /* Allow "Sun-UltraSparc-IV+" and "Sun-UltraSparc-IIIi+" */
-            return true;
-        }
-    }
-
     return plen == slen;
 }