From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: BUG with Win7 and user-return-notifier Date: Tue, 27 Oct 2009 15:11:24 +0200 Message-ID: <4AE6F17C.1070403@redhat.com> References: <4AE6ED18.9040901@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm To: Jan Kiszka Return-path: Received: from mx1.redhat.com ([209.132.183.28]:6901 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754124AbZJ0NLX (ORCPT ); Tue, 27 Oct 2009 09:11:23 -0400 In-Reply-To: <4AE6ED18.9040901@siemens.com> Sender: kvm-owner@vger.kernel.org List-ID: On 10/27/2009 02:52 PM, Jan Kiszka wrote: > Hi Avi, > > just booted kvm.git master (974ae8d7ff) as host and re-ran my boot test > of Windows 7. Already during "Starting Windows" I get this: > x86 or x64 7? > RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00000000c0000080 > RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 > > Call Trace: > [] vmx_save_host_state+0x141/0x150 [kvm_intel] > [] kvm_arch_vcpu_ioctl_run+0x510/0xb25 [kvm] > [] kvm_vcpu_ioctl+0xfb/0x722 [kvm] > [] ? kvm_vm_ioctl+0x33a/0x36b [kvm] > [] ? sub_preempt_count+0x9/0x83 > [] ? fire_user_return_notifiers+0x50/0x6b > [] vfs_ioctl+0x2f/0x7d > [] do_vfs_ioctl+0x450/0x48d > [] ? sub_preempt_count+0x9/0x83 > [] sys_ioctl+0x5a/0x7c > [] system_call_fastpath+0x16/0x1b > Code: 03 24 c5 60 a8 6f 81 89 d8 48 8d 50 04 4d 3b 2c d4 74 38 4d 89 2c d4 48 c1 e0 04 4c 89 ea 8b 88 f8 50 5a a0 48 c1 ea 20 44 89 e8<0f> 30 41 80 7c 24 18 00 75 16 49 c7 04 24 d6 53 58 a0 4c 89 e7 > RIP [] kvm_set_shared_msr+0x51/0x7a [kvm] > That's a wrmsr(EFER, 0), which should definitely fault. update_transition_efer() should have taken care of it. -- error compiling committee.c: too many arguments to function