From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Windows XP internal Power error Date: Sat, 16 Dec 2006 09:14:30 +0200 Message-ID: <45839CD6.3080903@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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Avi Kivity Return-path: To: ignazio.cassano-VeGButH3FaVpxaeRVNJOcDUZDU+1vuVT@public.gmane.org In-Reply-To: <20061215080629.ym6lnw1soydc044k-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 ignazio.cassano-VeGButH3FaVpxaeRVNJOcDUZDU+1vuVT@public.gmane.org wrote: > Now I execute: > > > /usr/local/bin/qemu-system-x86_64 -no-acpi -hda > /root/winXP/windows_kvm.disk -boot c -m 512 > > > On the terminal where I execute the command the following appears: > > unhandled vm exit: 0x80000022 > rax 0000000000000800 rbx 00000000ffdff120 rcx 00000000c0000080 rdx > 0000000000000000 > rsi 0000000000000000 rdi 00000000c0000080 rsp 0000000080548de8 rbp > 0000000080548e3c > r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 > 0000000000000000 > r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 > 0000000000000000 > rip 00000000804fee82 rflags 00000006 > Aborted > > Dmesg reports: > > kvm: msrs: 6 > > > The Xp windows crashes immediately. > > Ok, still the same. The patch is wrong: please change the line if (fail && (vmcs_read32(VM_EXIT_REASON) == 0x80000022)) to if ((vmcs_read32(VM_EXIT_REASON) == 0x80000022)) so we can see the values. I suspect it will confirm Michael's suspicions. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- 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