xen: use get_uint() for "max-ram-below-4g" property
TYPE_PC_MACHINE's property PC_MACHINE_MAX_RAM_BELOW_4G's getter and setter pc_machine_get_max_ram_below_4g() and pc_machine_set_max_ram_below_4g() use visit_type_size() Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20170607163635.17635-34-marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
		
							parent
							
								
									5d7fb0f254
								
							
						
					
					
						commit
						4ccd89d294
					
				@ -182,7 +182,7 @@ static void xen_ram_init(PCMachineState *pcms,
 | 
			
		||||
{
 | 
			
		||||
    MemoryRegion *sysmem = get_system_memory();
 | 
			
		||||
    ram_addr_t block_len;
 | 
			
		||||
    uint64_t user_lowmem = object_property_get_int(qdev_get_machine(),
 | 
			
		||||
    uint64_t user_lowmem = object_property_get_uint(qdev_get_machine(),
 | 
			
		||||
                                                    PC_MACHINE_MAX_RAM_BELOW_4G,
 | 
			
		||||
                                                    &error_abort);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user