From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: qemu-kvm upstreaming: Do we want -kvm-shadow-memory semantics? Date: Wed, 25 Jan 2012 13:10:38 +0100 Message-ID: <4F1FF13E.5090405@siemens.com> References: <4F1810AF.8010002@siemens.com> <20120119172802.GD11381@amt.cnet> <4F185535.1060908@siemens.com> <4F1FE9CE.5050401@redhat.com> <4F1FEE1F.8080907@siemens.com> <4F1FEFCA.2060907@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , qemu-devel , kvm To: Avi Kivity Return-path: In-Reply-To: <4F1FEFCA.2060907@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org On 2012-01-25 13:04, Avi Kivity wrote: > On 01/25/2012 01:57 PM, Jan Kiszka wrote: >>> >>> -kvm-shadow-memory is becoming less meaningful for ordinary workloads >>> since everything uses TDP these days. It's still meaningful for testing >>> (forcing aggressive cache replacement), or perhaps nested virtualization. >> >> So, is it used for testing in fact? > > It is not, but it should be. There's an extra_params option in > autotest, I'll start using it to stress the mmu some more, even though > it's going to slow things down for me. OK. > >> Would a machine option >> "kvm_shadow_memory=n" be desirable? > > Not sure, this is a host option, not a guest option. Machine options > should be guest-visible. machine options are not guest visible. Basically, this options falls into the same category as kernel_irqchip. Do we have alternatives? A top-level command line options is surely none. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux