]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qemu-char.c
target-i386: add Skylake-Client cpu model
[mirror_qemu.git] / qemu-char.c
index b597ee19ca62ac01149b403cb1e0f905945318c3..b13ecbb025f418ad043a5014cf2a0424c4a695e3 100644 (file)
@@ -4088,22 +4088,6 @@ CharDriverState *qemu_chr_find(const char *name)
     return NULL;
 }
 
-/* Get a character (serial) device interface.  */
-CharDriverState *qemu_char_get_next_serial(void)
-{
-    static int next_serial;
-    CharDriverState *chr;
-
-    /* FIXME: This function needs to go away: use chardev properties!  */
-
-    while (next_serial < MAX_SERIAL_PORTS && serial_hds[next_serial]) {
-        chr = serial_hds[next_serial++];
-        qemu_chr_fe_claim_no_fail(chr);
-        return chr;
-    }
-    return NULL;
-}
-
 QemuOptsList qemu_chardev_opts = {
     .name = "chardev",
     .implied_opt_name = "backend",