From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail172.messagelabs.com (mail172.messagelabs.com [216.82.254.3]) by kanga.kvack.org (Postfix) with SMTP id 60C5F6B003D for ; Wed, 6 Jan 2010 05:19:29 -0500 (EST) Received: by pxi5 with SMTP id 5so12399628pxi.12 for ; Wed, 06 Jan 2010 02:19:28 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <4B43631A.2030101@redhat.com> References: <1262700774-1808-1-git-send-email-gleb@redhat.com> <4B43631A.2030101@redhat.com> From: Jun Koi Date: Wed, 6 Jan 2010 19:17:30 +0900 Message-ID: Subject: Re: [PATCH v3 00/12] KVM: Add host swap event notifications for PV guest Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org To: Avi Kivity Cc: Gleb Natapov , kvm@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, mingo@elte.hu, a.p.zijlstra@chello.nl, tglx@linutronix.de, hpa@zytor.com, riel@redhat.com, cl@linux-foundation.org List-ID: On Wed, Jan 6, 2010 at 1:04 AM, Avi Kivity wrote: > On 01/05/2010 05:05 PM, Jun Koi wrote: >> >> Is it true that to make this work, we will need a (PV) kernel driver >> for each guest OS (Windows, Linux, ...)? >> >> > > It's partially usable even without guest modifications; while servicing a > host page fault we can still deliver interrupts to the guest (which might > cause a context switch and thus further progress to be made). Lets say, in the case the guest has no PV driver. When we find that a guest page is swapped out, we can send a pagefault to the guest to trick it to load that page in. And we dont need the driver at all. Is that a reasonable solution? Thanks, J -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org