• D
    pc & q35: Add new machine opt max-ram-below-4g · c87b1520
    Don Slutz 提交于
    This is a pc & q35 only machine opt.
    
    If you add enough PCI devices then all mmio for them will not fit
    below 4G which may not be the layout the user wanted. This allows
    you to increase the below 4G address space that PCI devices can use
    (aka decrease ram below 4G) and therefore in more cases not have any
    mmio that is above 4G.
    
    For example using "-machine pc,max-ram-below-4g=2G" on the command
    line will limit the amount of ram that is below 4G to 2G.
    
    Note: this machine option cannot be used to increase the amount
    of ram below 4G.
    Signed-off-by: NDon Slutz <dslutz@verizon.com>
    Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
    Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
    
    MST: fix 32 bit
    c87b1520
pc_piix.c 25.4 KB