From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Windows XP internal Power error Date: Tue, 19 Dec 2006 13:28:53 +0200 Message-ID: <4587CCF5.10908@qumranet.com> References: <64F9B87B6B770947A9F8391472E03216098CC58B@ehost011-8.exch011.intermedia.net> <20061214153047.6v3a82ev5c4k8004@webmail.provincia.torino.it> <45816BC9.2000905@qumranet.com> <20061214165724.5nf6l4zl13aoswk4@webmail.provincia.torino.it> <4582328B.3030501@qumranet.com> <20061215080629.ym6lnw1soydc044k@webmail.provincia.torino.it> <45839CD6.3080903@qumranet.com> <20061218083243.s7o07wy9mvwwgg4o@webmail.provincia.torino.it> <45864F9B.1070808@qumranet.com> <20061218093511.uycqxxmsbpoookoo@webmail.provincia.torino.it> <45866023.6090508@qumranet.com> <20061218115403.7wjpmj5gbs9oggck@webmail.provincia.torino.it> <4587C036.1080803@qumranet.com> <20061219115452.gnmw21wnuq3ososs@webmail.provincia.torino.it> <4587C678.5030803@qumranet.com> <20061219121529.7ta9qlrrc6mww8k0@webmail.provincia.torino.it> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030206070104010100070303" Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: To: ignazio.cassano-VeGButH3FaVpxaeRVNJOcDUZDU+1vuVT@public.gmane.org In-Reply-To: <20061219121529.7ta9qlrrc6mww8k0-2RFepEojUI1V4YG60fcVpWnFp5FU0k5wNRkNT7W+5VM@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. --------------030206070104010100070303 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit ignazio.cassano-VeGButH3FaVpxaeRVNJOcDUZDU+1vuVT@public.gmane.org wrote: > Dec 19 12:10:10 timb194083 kernel: Process qemu-system-x86 (pid: 2947, > threadinfo ffff81005ccd8000, task Dec 19 12:10:10 timb194083 kernel: > Dec 19 12:10:10 timb194083 kernel: Dec 19 12:10:10 timb194083 kernel: > Code: 0f 30 41 ff c0 48 83 c7 10 41 39 f0 7c e4 c3 45 31 c0 eb 13 Dec > 19 12:10:10 timb194083 kernel: RIP [] > :kvm:load_msrs+0x13/0x22 This is helpful. Please try the attached patch (on top of the previous patch) and report dmesg or /var/log/messages. -- error compiling committee.c: too many arguments to function --------------030206070104010100070303 Content-Type: text/x-patch; name="safe-msr.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="safe-msr.patch" --- kernel/kvm_main.c.msr 2006-12-19 13:23:13.000000000 +0200 +++ kernel/kvm_main.c 2006-12-19 13:25:06.000000000 +0200 @@ -1170,7 +1170,10 @@ int i; for (i = 0; i < n; ++i) - wrmsrl(e[i].index, e[i].data); + if (wrmsr_safe(e[i].index, (u32)e[i].data, (u32)(e[i].data >> 32))) + printk(KERN_EMERG "kvm: wrmsr failed: %d %x %llx\n", + i, e[i].index, e[i].data); + } EXPORT_SYMBOL_GPL(load_msrs); --------------030206070104010100070303 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV --------------030206070104010100070303 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 --------------030206070104010100070303--