edid: fix vendor default
"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
This commit is contained in:
		
							parent
							
								
									0ab90e6170
								
							
						
					
					
						commit
						edbc4b24bb
					
				@ -301,7 +301,7 @@ void qemu_edid_generate(uint8_t *edid, size_t size,
 | 
				
			|||||||
    /* =============== set defaults  =============== */
 | 
					    /* =============== set defaults  =============== */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (!info->vendor || strlen(info->vendor) != 3) {
 | 
					    if (!info->vendor || strlen(info->vendor) != 3) {
 | 
				
			||||||
        info->vendor = "EMU";
 | 
					        info->vendor = "RHT";
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    if (!info->name) {
 | 
					    if (!info->name) {
 | 
				
			||||||
        info->name = "QEMU Monitor";
 | 
					        info->name = "QEMU Monitor";
 | 
				
			||||||
 | 
				
			|||||||
@ -4,7 +4,7 @@
 | 
				
			|||||||
#include "hw/hw.h"
 | 
					#include "hw/hw.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef struct qemu_edid_info {
 | 
					typedef struct qemu_edid_info {
 | 
				
			||||||
    const char *vendor;
 | 
					    const char *vendor; /* http://www.uefi.org/pnp_id_list */
 | 
				
			||||||
    const char *name;
 | 
					    const char *name;
 | 
				
			||||||
    const char *serial;
 | 
					    const char *serial;
 | 
				
			||||||
    uint32_t    dpi;
 | 
					    uint32_t    dpi;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user