]> git.proxmox.com Git - mirror_qemu.git/commitdiff
edid: fix vendor default
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 5 Oct 2018 09:19:34 +0000 (11:19 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 5 Oct 2018 09:26:56 +0000 (11:26 +0200)
"EMU" actually is "Emulex Corporation", so not a good idea to use that
by default.  Lets use the Red Hat vendor id instead, which is in line
with the pci ids which are allocated from Red Hat vendor ids too.

Vendor list is available from http://www.uefi.org/pnp_id_list

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20181005091934.12143-1-kraxel@redhat.com

hw/display/edid-generate.c
include/hw/display/edid.h

index c80397ea969bac9c7195b87f0b864d6ac4c7c882..37e60fe42a2873b1ffa80c4d62423c2476b81985 100644 (file)
@@ -301,7 +301,7 @@ void qemu_edid_generate(uint8_t *edid, size_t size,
     /* =============== set defaults  =============== */
 
     if (!info->vendor || strlen(info->vendor) != 3) {
-        info->vendor = "EMU";
+        info->vendor = "RHT";
     }
     if (!info->name) {
         info->name = "QEMU Monitor";
index bd51d26916a1ce8a41c39440942b4a615d9ab486..bacf1708894b6fc7f367cbf34629076d856c78e2 100644 (file)
@@ -4,7 +4,7 @@
 #include "hw/hw.h"
 
 typedef struct qemu_edid_info {
-    const char *vendor;
+    const char *vendor; /* http://www.uefi.org/pnp_id_list */
     const char *name;
     const char *serial;
     uint32_t    dpi;