mirror of
				https://git.proxmox.com/git/qemu
				synced 2025-10-31 13:19:36 +00:00 
			
		
		
		
	 25ae9c1d8b
			
		
	
	
		25ae9c1d8b
		
	
	
	
	
		
			
			Dump info contains: endian, class and architecture. The next patch will use these information to create vmcore. Note: on x86 box, the class is ELFCLASS64 if the memory is larger than 4G. Signed-off-by: Wen Congyang <wency@cn.fujitsu.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
		
			
				
	
	
		
			24 lines
		
	
	
		
			475 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			475 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * QEMU dump
 | |
|  *
 | |
|  * Copyright Fujitsu, Corp. 2011, 2012
 | |
|  *
 | |
|  * Authors:
 | |
|  *     Wen Congyang <wency@cn.fujitsu.com>
 | |
|  *
 | |
|  * This work is licensed under the terms of the GNU GPL, version 2. See
 | |
|  * the COPYING file in the top-level directory.
 | |
|  *
 | |
|  */
 | |
| 
 | |
| #ifndef DUMP_H
 | |
| #define DUMP_H
 | |
| 
 | |
| typedef struct ArchDumpInfo {
 | |
|     int d_machine;  /* Architecture */
 | |
|     int d_endian;   /* ELFDATA2LSB or ELFDATA2MSB */
 | |
|     int d_class;    /* ELFCLASS32 or ELFCLASS64 */
 | |
| } ArchDumpInfo;
 | |
| 
 | |
| #endif
 |