Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754028AbcCSJxh (ORCPT ); Sat, 19 Mar 2016 05:53:37 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:36273 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753325AbcCSJx3 (ORCPT ); Sat, 19 Mar 2016 05:53:29 -0400 Subject: Re: [PATCH 0/3] KVM: VMX: fix handling inv{ept,vpid} and nested RHEL6 KVM To: David Matlack References: <1458317379-8363-1-git-send-email-pbonzini@redhat.com> <56EC41C0.8010706@redhat.com> Cc: "linux-kernel@vger.kernel.org" , kvm list , jmontleo@redhat.com, bdas@redhat.com From: Paolo Bonzini Message-ID: <56ED2196.8030908@redhat.com> Date: Sat, 19 Mar 2016 10:53:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 342 Lines: 12 On 18/03/2016 19:04, David Matlack wrote: > > the tests would effectively DoS the host. > > How does this DoS the host? The guest is stuck executing the same > instruction over and over, but it's exiting to KVM every time, > allowing KVM to reschedule the VCPU. I would agree it DoSes the guest. You're right, these tests are safe. Paolo