From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: kvm-22 and Vista support Date: Mon, 07 May 2007 10:52:35 +0300 Message-ID: <463EDAC3.80601@qumranet.com> References: <59abf66e0705062258m54949118n26c8a24c55d0322c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: =?ISO-8859-1?Q?Jorge_Luc=E1ngeli_Obes?= Return-path: In-Reply-To: <59abf66e0705062258m54949118n26c8a24c55d0322c-JsoAwUIsXosN+BqQ9rBEUg@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 Jorge Luc=E1ngeli Obes wrote: > I have also tried using Windows Vista with kvm. Until now, I had (of > course) the same ACPI problem as everybody. I had decided to compile > the new BIOS by hand. Imagine my suprise when I saw the third entry in > the above list =3D). I rushed to get my Vista Ultimate installation DVD. > The install went great, I even managed to create a user. However, I > did not get past this. After creating my user, the guest reboots (or > more precisely, it shuts down since I'm running 'no-reboot') and when > I start it again, it stops with what I believe is a real mode error: > > tamsyn@rory:~/stuff/qemu$ sudo qemu-system-x86_64 vista.img -m 512 > -no-reboot -localtime -no-rtc > exception 13 (0) > rax 0000000060000010 rbx 0000000000004200 rcx 00000000000000ff rdx > 0000000000000001 > rsi 0000000000000180 rdi 0000000000007000 rsp 0000000000001e60 rbp > 0000000000001e98 > r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 > 0000000000000000 > r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 > 0000000000000000 > rip 0000000000009a12 rflags 00033006 > cs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > ds 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > es 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > ss 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > fs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > gs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > tr 0000 (20850000/00002088 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0) > ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0) > gdt bb68/27 > idt 0/3ff > cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0 > Aborted > > Running with 'no-kvm' manages to solve this but I don't get to the > login screen. The guest quits unexpectedly while on the Vista > "bootsplash". It's a 32-bit Vista Ultimate guest on the same 64-bit > Xubuntu Feisty host, kernel 2.6.20.3 Ubuntu branch, and kvm-22 > (modules and userspace). > > Any ideas? Have you guys done anything special to get Vista running? > What can I do to find out what's going on? > = Well, all I did was to apply a one-line patch from Qing He to the bios = ROM. I haven't even tried Vista myself :) Maybe Qing can comment? It does look like a real mode problem; I'll update the dump to show more = information (e.g. the code at the point of failure). Do you get anything in dmesg when the problem occurs? -- = error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/