public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: "Jorge Lucángeli Obes" <t4m5yn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: kvm-22 and Vista support
Date: Mon, 07 May 2007 10:52:35 +0300	[thread overview]
Message-ID: <463EDAC3.80601@qumranet.com> (raw)
In-Reply-To: <59abf66e0705062258m54949118n26c8a24c55d0322c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

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:
>
> 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/

  parent reply	other threads:[~2007-05-07  7:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-07  5:58 kvm-22 and Vista support Jorge Lucángeli Obes
     [not found] ` <59abf66e0705062258m54949118n26c8a24c55d0322c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-05-07  7:52   ` Avi Kivity [this message]
     [not found]     ` <463EDAC3.80601-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-08  3:37       ` He, Qing
2007-05-08  4:52       ` Nakajima, Jun
     [not found]         ` <8FFF7E42E93CC646B632AB40643802A802941AE2-1a9uaKK1+wJcIJlls4ac1rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-05-23  3:11           ` Jorge Lucángeli Obes
     [not found]             ` <59abf66e0705222011l24200847sb39394630c692b67-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-05-23  4:43               ` Nakajima, Jun
2007-05-23 12:55               ` Avi Kivity
     [not found]                 ` <465439C5.1010506-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-23 15:17                   ` Jorge Lucángeli Obes
     [not found]                     ` <59abf66e0705230817g1cdd8478vd9526d0754414f59-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-05-24  2:56                       ` Jorge Lucángeli Obes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=463EDAC3.80601@qumranet.com \
    --to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=t4m5yn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox