Re: [Qemu-devel] [PATCH v5 2/3] pc & q35: Add new machine opt max-ram-below-4g

2014-06-18 Thread Gerd Hoffmann
Hi, > > IMO xen should use a versioned machine type to make live migration more > > reliable. IIRC this was discussed anyway for other reasons (see > > xen-platform-pci discussions, picking pc-i440fx-1.6 IIRC). > > That is happening as far as I know and does not directly impact this > patch se

Re: [Qemu-devel] [PATCH v5 2/3] pc & q35: Add new machine opt max-ram-below-4g

2014-06-17 Thread Michael S. Tsirkin
On Tue, Jun 17, 2014 at 10:43:29PM +0300, Michael S. Tsirkin wrote: > On Tue, Jun 17, 2014 at 02:44:41PM -0400, Don Slutz wrote: > > On 06/17/14 14:22, Michael S. Tsirkin wrote: > > >On Fri, Jun 06, 2014 at 01:52:05PM -0400, Don Slutz wrote: > > >>This is a pc & q35 only machine opt. One use is to

Re: [Qemu-devel] [PATCH v5 2/3] pc & q35: Add new machine opt max-ram-below-4g

2014-06-17 Thread Don Slutz
On 06/10/14 03:36, Gerd Hoffmann wrote: Hi, So instead of default 0, it would be preferable to set the default to the actual value, and let user override it. Or if that's too hard, set max_ram_below_4g instead of setting gigabyte_align. gigabyte_align switches everywhere is messy enough, ad

Re: [Qemu-devel] [PATCH v5 2/3] pc & q35: Add new machine opt max-ram-below-4g

2014-06-17 Thread Michael S. Tsirkin
On Tue, Jun 17, 2014 at 02:44:41PM -0400, Don Slutz wrote: > On 06/17/14 14:22, Michael S. Tsirkin wrote: > >On Fri, Jun 06, 2014 at 01:52:05PM -0400, Don Slutz wrote: > >>This is a pc & q35 only machine opt. One use is to allow for more > >>ram in a 32bit guest for example: > >> > >>-machine pc,m

Re: [Qemu-devel] [PATCH v5 2/3] pc & q35: Add new machine opt max-ram-below-4g

2014-06-17 Thread Don Slutz
On 06/17/14 14:22, Michael S. Tsirkin wrote: On Fri, Jun 06, 2014 at 01:52:05PM -0400, Don Slutz wrote: This is a pc & q35 only machine opt. One use is to allow for more ram in a 32bit guest for example: -machine pc,max-ram-below-4g=3.75G If you add enough PCI devices then all mmio for them w

Re: [Qemu-devel] [PATCH v5 2/3] pc & q35: Add new machine opt max-ram-below-4g

2014-06-17 Thread Michael S. Tsirkin
On Fri, Jun 06, 2014 at 01:52:05PM -0400, Don Slutz wrote: > This is a pc & q35 only machine opt. One use is to allow for more > ram in a 32bit guest for example: > > -machine pc,max-ram-below-4g=3.75G > > If you add enough PCI devices then all mmio for them will not fit > below 4G which may not

Re: [Qemu-devel] [PATCH v5 2/3] pc & q35: Add new machine opt max-ram-below-4g

2014-06-10 Thread Gerd Hoffmann
Hi, > > So instead of default 0, it would be preferable to set the default to the > > actual value, and let user override it. > > > > Or if that's too hard, set max_ram_below_4g instead of setting > > gigabyte_align. gigabyte_align switches everywhere is messy > > enough, adding max_ram_below_4g

Re: [Qemu-devel] [PATCH v5 2/3] pc & q35: Add new machine opt max-ram-below-4g

2014-06-09 Thread Don Slutz
On 06/09/14 13:33, Marcel Apfelbaum wrote: On Mon, 2014-06-09 at 17:37 +0200, Igor Mammedov wrote: On Mon, 09 Jun 2014 18:10:27 +0300 Marcel Apfelbaum wrote: Hi, On Mon, 2014-06-09 at 17:38 +0300, Michael S. Tsirkin wrote: On Mon, Jun 09, 2014 at 10:20:57AM -0400, Don Slutz wrote: On 06/08

Re: [Qemu-devel] [PATCH v5 2/3] pc & q35: Add new machine opt max-ram-below-4g

2014-06-09 Thread Don Slutz
On 06/09/14 10:38, Michael S. Tsirkin wrote: On Mon, Jun 09, 2014 at 10:20:57AM -0400, Don Slutz wrote: On 06/08/14 11:40, Michael S. Tsirkin wrote: On Fri, Jun 06, 2014 at 01:52:05PM -0400, Don Slutz wrote: This is a pc & q35 only machine opt. One use is to allow for more ram in a 32bit gues

Re: [Qemu-devel] [PATCH v5 2/3] pc & q35: Add new machine opt max-ram-below-4g

2014-06-09 Thread Marcel Apfelbaum
On Mon, 2014-06-09 at 17:37 +0200, Igor Mammedov wrote: > On Mon, 09 Jun 2014 18:10:27 +0300 > Marcel Apfelbaum wrote: > > > Hi, > > > > On Mon, 2014-06-09 at 17:38 +0300, Michael S. Tsirkin wrote: > > > On Mon, Jun 09, 2014 at 10:20:57AM -0400, Don Slutz wrote: > > > > On 06/08/14 11:40, Michae

Re: [Qemu-devel] [PATCH v5 2/3] pc & q35: Add new machine opt max-ram-below-4g

2014-06-09 Thread Igor Mammedov
On Mon, 09 Jun 2014 18:10:27 +0300 Marcel Apfelbaum wrote: > Hi, > > On Mon, 2014-06-09 at 17:38 +0300, Michael S. Tsirkin wrote: > > On Mon, Jun 09, 2014 at 10:20:57AM -0400, Don Slutz wrote: > > > On 06/08/14 11:40, Michael S. Tsirkin wrote: > > > >On Fri, Jun 06, 2014 at 01:52:05PM -0400, Don

Re: [Qemu-devel] [PATCH v5 2/3] pc & q35: Add new machine opt max-ram-below-4g

2014-06-09 Thread Marcel Apfelbaum
Hi, On Mon, 2014-06-09 at 17:38 +0300, Michael S. Tsirkin wrote: > On Mon, Jun 09, 2014 at 10:20:57AM -0400, Don Slutz wrote: > > On 06/08/14 11:40, Michael S. Tsirkin wrote: > > >On Fri, Jun 06, 2014 at 01:52:05PM -0400, Don Slutz wrote: > > >>This is a pc & q35 only machine opt. One use is to a

Re: [Qemu-devel] [PATCH v5 2/3] pc & q35: Add new machine opt max-ram-below-4g

2014-06-09 Thread Michael S. Tsirkin
On Mon, Jun 09, 2014 at 10:20:57AM -0400, Don Slutz wrote: > On 06/08/14 11:40, Michael S. Tsirkin wrote: > >On Fri, Jun 06, 2014 at 01:52:05PM -0400, Don Slutz wrote: > >>This is a pc & q35 only machine opt. One use is to allow for more > >>ram in a 32bit guest for example: > >> > >>-machine pc,m

Re: [Qemu-devel] [PATCH v5 2/3] pc & q35: Add new machine opt max-ram-below-4g

2014-06-09 Thread Don Slutz
On 06/08/14 11:40, Michael S. Tsirkin wrote: On Fri, Jun 06, 2014 at 01:52:05PM -0400, Don Slutz wrote: This is a pc & q35 only machine opt. One use is to allow for more ram in a 32bit guest for example: -machine pc,max-ram-below-4g=3.75G If you add enough PCI devices then all mmio for them w

Re: [Qemu-devel] [PATCH v5 2/3] pc & q35: Add new machine opt max-ram-below-4g

2014-06-08 Thread Michael S. Tsirkin
On Fri, Jun 06, 2014 at 01:52:05PM -0400, Don Slutz wrote: > This is a pc & q35 only machine opt. One use is to allow for more > ram in a 32bit guest for example: > > -machine pc,max-ram-below-4g=3.75G > > If you add enough PCI devices then all mmio for them will not fit > below 4G which may not

[Qemu-devel] [PATCH v5 2/3] pc & q35: Add new machine opt max-ram-below-4g

2014-06-06 Thread Don Slutz
This is a pc & q35 only machine opt. One use is to allow for more ram in a 32bit guest for example: -machine pc,max-ram-below-4g=3.75G 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