Jorge Lucángeli Obes wrote: > On 5/8/07, Nakajima, Jun <[EMAIL PROTECTED]> wrote: > > Avi Kivity wrote: > > > Jorge Lucángeli 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 =). 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: > > > > > > > > [EMAIL PROTECTED]:~/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). > > > > It's also possible that Vista did HLT (because we've got #GP) by finding > > some feature missing. Dumping the instruction should be very helpful. > > > > > > > > Do you get anything in dmesg when the problem occurs? > > I had some time on my hands lately and tried to debug this a little. I > found that there's actually something showing in dmesg: > > [ 3872.221039] emulation failed but !mmio_needed? rip 9a12 0f 09 66 25
This one looks the instruction WBINVD. I know it's missing in KVM. The x86_emulate.c needs be updated resyncing with the one in Xen. > > Does that help? I'm running kvm-24 now, but the exception still > happens. I've been looking through x86_emulate.c and kvmctl.c trying > to print more information but with no success yet. > > Cheers, > Jorge > Jun --- Intel Open Source Technology Center ------------------------------------------------------------------------- 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/ _______________________________________________ kvm-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kvm-devel
