[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC 1/3] memory: add -disable-mem-merge command-line o
From: |
Luiz Capitulino |
Subject: |
Re: [Qemu-devel] [RFC 1/3] memory: add -disable-mem-merge command-line option |
Date: |
Tue, 26 Jun 2012 09:51:40 -0300 |
On Tue, 26 Jun 2012 10:47:07 +0300
Avi Kivity <address@hidden> 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 guest property.
>
> For devices we have a pretty good separation, -device gives the guest
> properties and -netdev/-blockdev gives the host properties. We should
> either do the same for -machine, or mark host properties as such. For
> example, when we migrate the qom forest, we shouldn't migrate host
> properties, only guest properties.
Can you be more specific on how you think we could do it?
I can only think of having -host, then maybe the -mem options should be
moved there too.
[Qemu-devel] [RFC 3/3] memory/qmp: add set-memory-merge command, Luiz Capitulino, 2012/06/25
[Qemu-devel] [RFC 2/3] memory: add RAM_MERGEABLE flag to RAMBlock, Luiz Capitulino, 2012/06/25