From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [RFT] kvm with Windows optimization Date: Fri, 26 Oct 2007 12:09:17 +0200 Message-ID: <4721BCCD.4000401@qumranet.com> References: <4720D122.4070606@qumranet.com> <4720D3F0.8010103@qumranet.com> <20071025200729.3f09d21d@holly> <4720DC12.8050303@qumranet.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080608060309020708060003" Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Jindrich Makovicka Return-path: In-Reply-To: <4720DC12.8050303-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org This is a multi-part message in MIME format. --------------080608060309020708060003 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Avi Kivity wrote: > Jindrich Makovicka wrote: > >> On Thu, 25 Oct 2007 13:39:33 -0400 >> "Haydn Solomon" wrote: >> >> >> >>> Thanks, that was quick. >>> >>> >> Finally, this (pre)release solved the long standing Java IE Plugin >> lockup problem for me. Thanks a lot! >> >> >> > > No, this release is meant to cause problems, not fix them. > > (but thanks for the reminder) > > It's probably due to disabling NX (which is an unwanted side effect of this). Java generates executable code, so it probably needs to modify protection attributes. Maybe we're bad at this. Can you check the attached patch? Against normal kvm, not the windows accelerator. -- error compiling committee.c: too many arguments to function --------------080608060309020708060003 Content-Type: text/x-patch; name="no-nx.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="no-nx.patch" diff --git a/drivers/kvm/x86.c b/drivers/kvm/x86.c index 1fe209d..e08e749 100644 --- a/drivers/kvm/x86.c +++ b/drivers/kvm/x86.c @@ -194,7 +194,7 @@ static void cpuid_fix_nx_cap(struct kvm_vcpu *vcpu) break; } } - if (entry && (entry->edx & (1 << 20)) && !(efer & EFER_NX)) { + if (entry) { entry->edx &= ~(1 << 20); printk(KERN_INFO "kvm: guest NX capability removed\n"); } --------------080608060309020708060003 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ --------------080608060309020708060003 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --------------080608060309020708060003--