Re: [Qemu-devel] [RFC 1/3] memory: add -disable-mem-merge command-line option

2012-06-29 Thread Luiz Capitulino
On Fri, 29 Jun 2012 16:30:19 +0200 Jan Kiszka wrote: > On 2012-06-29 16:25, Anthony Liguori wrote: > > On 06/29/2012 09:18 AM, Andreas Färber wrote: > >> Am 25.06.2012 22:39, schrieb Luiz Capitulino: > >>> On Mon, 25 Jun 2012 22:26:58 +0200 > >>> Jan Kiszka wrote: > >>> > On 2012-06-25 18:5

Re: [Qemu-devel] [RFC 1/3] memory: add -disable-mem-merge command-line option

2012-06-29 Thread Anthony Liguori
On 06/29/2012 09:18 AM, Andreas Färber wrote: Am 25.06.2012 22:39, schrieb Luiz Capitulino: On Mon, 25 Jun 2012 22:26:58 +0200 Jan Kiszka wrote: On 2012-06-25 18:55, Luiz Capitulino wrote: Allow for disabling memory merge support (KSM on Linux), which is enabled by default otherwise. -mach

Re: [Qemu-devel] [RFC 1/3] memory: add -disable-mem-merge command-line option

2012-06-29 Thread Luiz Capitulino
On Fri, 29 Jun 2012 09:25:36 -0500 Anthony Liguori wrote: > On 06/29/2012 09:18 AM, Andreas Färber wrote: > > Am 25.06.2012 22:39, schrieb Luiz Capitulino: > >> On Mon, 25 Jun 2012 22:26:58 +0200 > >> Jan Kiszka wrote: > >> > >>> On 2012-06-25 18:55, Luiz Capitulino wrote: > Allow for disab

Re: [Qemu-devel] [RFC 1/3] memory: add -disable-mem-merge command-line option

2012-06-29 Thread Jan Kiszka
On 2012-06-29 16:25, Anthony Liguori wrote: > On 06/29/2012 09:18 AM, Andreas Färber wrote: >> Am 25.06.2012 22:39, schrieb Luiz Capitulino: >>> On Mon, 25 Jun 2012 22:26:58 +0200 >>> Jan Kiszka wrote: >>> On 2012-06-25 18:55, Luiz Capitulino wrote: > Allow for disabling memory merge supp

Re: [Qemu-devel] [RFC 1/3] memory: add -disable-mem-merge command-line option

2012-06-29 Thread Luiz Capitulino
On Fri, 29 Jun 2012 16:18:14 +0200 Andreas Färber wrote: > Am 25.06.2012 22:39, schrieb Luiz Capitulino: > > On Mon, 25 Jun 2012 22:26:58 +0200 > > Jan Kiszka wrote: > > > >> On 2012-06-25 18:55, Luiz Capitulino wrote: > >>> Allow for disabling memory merge support (KSM on Linux), which is > >>

Re: [Qemu-devel] [RFC 1/3] memory: add -disable-mem-merge command-line option

2012-06-29 Thread Andreas Färber
Am 25.06.2012 22:39, schrieb Luiz Capitulino: > On Mon, 25 Jun 2012 22:26:58 +0200 > Jan Kiszka wrote: > >> On 2012-06-25 18:55, Luiz Capitulino wrote: >>> Allow for disabling memory merge support (KSM on Linux), which is >>> enabled by default otherwise. >> >> -machine mem_merge=on|off? > > Tha

Re: [Qemu-devel] [RFC 1/3] memory: add -disable-mem-merge command-line option

2012-06-26 Thread Jan Kiszka
On 2012-06-26 09:47, Avi Kivity wrote: > On 06/25/2012 11:26 PM, Jan Kiszka wrote: >> On 2012-06-25 18:55, Luiz Capitulino wrote: >>> Allow for disabling memory merge support (KSM on Linux), which is >>> enabled by default otherwise. >> >> -machine mem_merge=on|off? > > It's a host property, not a

Re: [Qemu-devel] [RFC 1/3] memory: add -disable-mem-merge command-line option

2012-06-26 Thread Luiz Capitulino
On Tue, 26 Jun 2012 10:47:07 +0300 Avi Kivity wrote: > On 06/25/2012 11:26 PM, Jan Kiszka wrote: > > On 2012-06-25 18:55, Luiz Capitulino wrote: > >> Allow for disabling memory merge support (KSM on Linux), which is > >> enabled by default otherwise. > > > > -machine mem_merge=on|off? > > It's

Re: [Qemu-devel] [RFC 1/3] memory: add -disable-mem-merge command-line option

2012-06-26 Thread Avi Kivity
On 06/25/2012 11:26 PM, Jan Kiszka wrote: > On 2012-06-25 18:55, Luiz Capitulino wrote: >> Allow for disabling memory merge support (KSM on Linux), which is >> enabled by default otherwise. > > -machine mem_merge=on|off? It's a host property, not a guest property. For devices we have a pretty go

Re: [Qemu-devel] [RFC 1/3] memory: add -disable-mem-merge command-line option

2012-06-25 Thread Jan Kiszka
On 2012-06-26 00:02, Anthony Liguori wrote: > On 06/25/2012 03:26 PM, Jan Kiszka wrote: >> On 2012-06-25 18:55, Luiz Capitulino wrote: >>> Allow for disabling memory merge support (KSM on Linux), which is >>> enabled by default otherwise. >> >> -machine mem_merge=on|off? > > Ack. > > But any reas

Re: [Qemu-devel] [RFC 1/3] memory: add -disable-mem-merge command-line option

2012-06-25 Thread Anthony Liguori
On 06/25/2012 03:26 PM, Jan Kiszka wrote: On 2012-06-25 18:55, Luiz Capitulino wrote: Allow for disabling memory merge support (KSM on Linux), which is enabled by default otherwise. -machine mem_merge=on|off? Ack. But any reason not to call it ksm=on|off? Regards, Anthony Liguori Jan

Re: [Qemu-devel] [RFC 1/3] memory: add -disable-mem-merge command-line option

2012-06-25 Thread Luiz Capitulino
On Mon, 25 Jun 2012 22:26:58 +0200 Jan Kiszka wrote: > On 2012-06-25 18:55, Luiz Capitulino wrote: > > Allow for disabling memory merge support (KSM on Linux), which is > > enabled by default otherwise. > > -machine mem_merge=on|off? That's possible. But if we do this, then I think that the set

Re: [Qemu-devel] [RFC 1/3] memory: add -disable-mem-merge command-line option

2012-06-25 Thread Jan Kiszka
On 2012-06-25 18:55, Luiz Capitulino wrote: > Allow for disabling memory merge support (KSM on Linux), which is > enabled by default otherwise. -machine mem_merge=on|off? Jan > > Signed-off-by: Luiz Capitulino > --- > cpu-all.h | 1 + > exec-obsolete.h | 1 + > exec.c | 25 ++

[Qemu-devel] [RFC 1/3] memory: add -disable-mem-merge command-line option

2012-06-25 Thread Luiz Capitulino
Allow for disabling memory merge support (KSM on Linux), which is enabled by default otherwise. Signed-off-by: Luiz Capitulino --- cpu-all.h | 1 + exec-obsolete.h | 1 + exec.c | 25 + memory.c| 5 + memory.h| 5 + qemu-options.