kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* vga std / vga vmware leads to unhandled vm exit: 0x11
@ 2009-12-14 14:11 Dominik Brodowski
  2010-01-13 20:29 ` Dominik Brodowski
  0 siblings, 1 reply; 13+ messages in thread
From: Dominik Brodowski @ 2009-12-14 14:11 UTC (permalink / raw)
  To: kvm

Hey,

using kvm with "-vga std" or "-vga vmware" leads to an 
"unhandled vm exit: 0x11", while "-vga cirrus" works fine.

CPU model:
Intel(R) Core(TM)2 Duo CPU     T7250  @ 2.00GHz

KVM version: 
- QEMU PC emulator version 0.11.0 (qemu-kvm-0.11.0), Copyright (c) 2003-2008 Fabrice Bellard [0.11.0-0ubuntu6.3]
- QEMU PC emulator version 0.11.1 (qemu-kvm-0.11.1), Copyright (c) 2003-2008 Fabrice Bellard

host kernel:
various, including 2.6.31 and Linus' latest as of today (v2.6.32-6793-gf405425)

command line: 
# QEMU_AUDIO_DRV=alsa /usr/bin/qemu-system-x86_64 -M pc -m 1024 -smp 1 -name x86 -drive file=/dev/mapper/x86,if=ide,index=0,boot=on -drive file=,if=ide,media=cdrom,index=2 -net nic,macaddr=<somemacaddress>,vlan=0 -net user,vlan=0 -usb -usbdevice tablet -k de -soundhw es1370 -vga std

The guest is a x86_64 ubuntu 9.10 system.

The problem also appears with -no-kvm-irqchip or -no-kvm-pit.

However, -no-kvm seems to work, but takes ages to run, of course.

Best,
	Dominik

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: vga std / vga vmware leads to unhandled vm exit: 0x11
  2009-12-14 14:11 vga std / vga vmware leads to unhandled vm exit: 0x11 Dominik Brodowski
@ 2010-01-13 20:29 ` Dominik Brodowski
  2010-01-13 21:59   ` Anthony Liguori
  0 siblings, 1 reply; 13+ messages in thread
From: Dominik Brodowski @ 2010-01-13 20:29 UTC (permalink / raw)
  To: kvm

Hey,

On Mon, Dec 14, 2009 at 03:11:55PM +0100, Dominik Brodowski wrote:
> using kvm with "-vga std" or "-vga vmware" leads to an 
> "unhandled vm exit: 0x11", while "-vga cirrus" works fine.
> 
> CPU model:
> Intel(R) Core(TM)2 Duo CPU     T7250  @ 2.00GHz
> 
> KVM version: 
> - QEMU PC emulator version 0.11.0 (qemu-kvm-0.11.0), Copyright (c) 2003-2008 Fabrice Bellard [0.11.0-0ubuntu6.3]
> - QEMU PC emulator version 0.11.1 (qemu-kvm-0.11.1), Copyright (c) 2003-2008 Fabrice Bellard
> 
> host kernel:
> various, including 2.6.31 and Linus' latest as of today (v2.6.32-6793-gf405425)
> 
> command line: 
> # QEMU_AUDIO_DRV=alsa /usr/bin/qemu-system-x86_64 -M pc -m 1024 -smp 1 -name x86 -drive file=/dev/mapper/x86,if=ide,index=0,boot=on -drive file=,if=ide,media=cdrom,index=2 -net nic,macaddr=<somemacaddress>,vlan=0 -net user,vlan=0 -usb -usbdevice tablet -k de -soundhw es1370 -vga std
> 
> The guest is a x86_64 ubuntu 9.10 system.
> 
> The problem also appears with -no-kvm-irqchip or -no-kvm-pit.
> 
> However, -no-kvm seems to work, but takes ages to run, of course.

Still happens with 2.6.33-rc4. Any ideas? vgabios is Ubuntu's 0.6c-1 , btw.

Best,
	Dominik

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: vga std / vga vmware leads to unhandled vm exit: 0x11
  2010-01-13 20:29 ` Dominik Brodowski
@ 2010-01-13 21:59   ` Anthony Liguori
  2010-01-13 22:18     ` vga stad / vga vmware leads to KVM internal error. Suberror: 1 Dominik Brodowski
  0 siblings, 1 reply; 13+ messages in thread
From: Anthony Liguori @ 2010-01-13 21:59 UTC (permalink / raw)
  To: Dominik Brodowski; +Cc: kvm

On 01/13/2010 02:29 PM, Dominik Brodowski wrote:
> Hey,
>
> On Mon, Dec 14, 2009 at 03:11:55PM +0100, Dominik Brodowski wrote:
>    
>> using kvm with "-vga std" or "-vga vmware" leads to an
>> "unhandled vm exit: 0x11", while "-vga cirrus" works fine.
>>
>> CPU model:
>> Intel(R) Core(TM)2 Duo CPU     T7250  @ 2.00GHz
>>
>> KVM version:
>> - QEMU PC emulator version 0.11.0 (qemu-kvm-0.11.0), Copyright (c) 2003-2008 Fabrice Bellard [0.11.0-0ubuntu6.3]
>> - QEMU PC emulator version 0.11.1 (qemu-kvm-0.11.1), Copyright (c) 2003-2008 Fabrice Bellard
>>
>> host kernel:
>> various, including 2.6.31 and Linus' latest as of today (v2.6.32-6793-gf405425)
>>
>> command line:
>> # QEMU_AUDIO_DRV=alsa /usr/bin/qemu-system-x86_64 -M pc -m 1024 -smp 1 -name x86 -drive file=/dev/mapper/x86,if=ide,index=0,boot=on -drive file=,if=ide,media=cdrom,index=2 -net nic,macaddr=<somemacaddress>,vlan=0 -net user,vlan=0 -usb -usbdevice tablet -k de -soundhw es1370 -vga std
>>
>> The guest is a x86_64 ubuntu 9.10 system.
>>
>> The problem also appears with -no-kvm-irqchip or -no-kvm-pit.
>>
>> However, -no-kvm seems to work, but takes ages to run, of course.
>>      
> Still happens with 2.6.33-rc4. Any ideas? vgabios is Ubuntu's 0.6c-1 , btw.
>    

There's been a lot of vmware vga fixes in 0.12 so I'd suggest upgrading 
your qemu-kvm version.

Regards,

Anthony Liguori

> Best,
> 	Dominik
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>    


^ permalink raw reply	[flat|nested] 13+ messages in thread

* vga stad / vga vmware leads to KVM internal error. Suberror: 1
  2010-01-13 21:59   ` Anthony Liguori
@ 2010-01-13 22:18     ` Dominik Brodowski
  2010-01-14 13:51       ` Avi Kivity
  0 siblings, 1 reply; 13+ messages in thread
From: Dominik Brodowski @ 2010-01-13 22:18 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: kvm

Hey,

On Wed, Jan 13, 2010 at 03:59:33PM -0600, Anthony Liguori wrote:
> On 01/13/2010 02:29 PM, Dominik Brodowski wrote:
> >Hey,
> >
> >On Mon, Dec 14, 2009 at 03:11:55PM +0100, Dominik Brodowski wrote:
> >>using kvm with "-vga std" or "-vga vmware" leads to an
> >>"unhandled vm exit: 0x11", while "-vga cirrus" works fine.
> >>
> >>CPU model:
> >>Intel(R) Core(TM)2 Duo CPU     T7250  @ 2.00GHz
> >>
> >>KVM version:
> >>- QEMU PC emulator version 0.11.0 (qemu-kvm-0.11.0), Copyright (c) 2003-2008 Fabrice Bellard [0.11.0-0ubuntu6.3]
> >>- QEMU PC emulator version 0.11.1 (qemu-kvm-0.11.1), Copyright (c) 2003-2008 Fabrice Bellard
> >>
> >>host kernel:
> >>various, including 2.6.31 and Linus' latest as of today (v2.6.32-6793-gf405425)
> >>
> >>command line:
> >># QEMU_AUDIO_DRV=alsa /usr/bin/qemu-system-x86_64 -M pc -m 1024 -smp 1 -name x86 -drive file=/dev/mapper/x86,if=ide,index=0,boot=on -drive file=,if=ide,media=cdrom,index=2 -net nic,macaddr=<somemacaddress>,vlan=0 -net user,vlan=0 -usb -usbdevice tablet -k de -soundhw es1370 -vga std
> >>
> >>The guest is a x86_64 ubuntu 9.10 system.
> >>
> >>The problem also appears with -no-kvm-irqchip or -no-kvm-pit.
> >>
> >>However, -no-kvm seems to work, but takes ages to run, of course.
> >Still happens with 2.6.33-rc4. Any ideas? vgabios is Ubuntu's 0.6c-1 , btw.
> 
> There's been a lot of vmware vga fixes in 0.12 so I'd suggest
> upgrading your qemu-kvm version.

No joy:

 /usr/local/bin/qemu-system-x86_64 --version QEMU PC emulator version 0.12.1 (qemu-kvm-0.12.1.2), Copyright (c) 2003-2008 Fabrice Bellard

KVM internal error. Suberror: 1
rax 00007f53c1c96000 rbx 0000000000000000 rcx 0000000000000000 rdx 0000000000000000
rsi 0000000000000000 rdi 00007f53c1c96000 rsp 00007fffcd5985c8 rbp 00007fffcd5985e0
r8  000000000000ff80 r9  0000000000200000 r10 0000000000000000 r11 00007f53c15223f0
r12 00000000004017c0 r13 00007fffcd599cd0 r14 0000000000000000 r15 0000000000000000
rip 00007f53c1522a7b rflags 00013206
cs 0033 (00000000/ffffffff p 1 dpl 3 db 0 s 1 type b l 1 g 1 avl 0)
ds 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
es 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
ss 002b (00000000/ffffffff p 1 dpl 3 db 1 s 1 type 3 l 0 g 1 avl 0)
fs 0000 (7f53c1ca86f0/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
gs 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
tr 0040 (ffff880001a03440/00002087 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0)
ldt 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
gdt ffff8800019f4000/7f
idt ffffffff818fd000/fff
cr0 80050033 cr2 b27000 cr3 37d13000 cr4 6f0 cr8 0 efer d01
emulation failure, check dmesg for details


dmesg contains nothing. Happens with "vga vmware" and "vga std". Seems to be
a duplicate of
	https://bugs.launchpad.net/qemu/+bug/502107
	http://bugs.gentoo.org/show_bug.cgi?id=299211
?

Best
	Dominik

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1
  2010-01-13 22:18     ` vga stad / vga vmware leads to KVM internal error. Suberror: 1 Dominik Brodowski
@ 2010-01-14 13:51       ` Avi Kivity
  2010-01-14 14:06         ` Dominik Brodowski
  0 siblings, 1 reply; 13+ messages in thread
From: Avi Kivity @ 2010-01-14 13:51 UTC (permalink / raw)
  To: Dominik Brodowski; +Cc: Anthony Liguori, kvm

On 01/14/2010 12:18 AM, Dominik Brodowski wrote:
>
>   /usr/local/bin/qemu-system-x86_64 --version QEMU PC emulator version 0.12.1 (qemu-kvm-0.12.1.2), Copyright (c) 2003-2008 Fabrice Bellard
>
> KVM internal error. Suberror: 1
> rax 00007f53c1c96000 rbx 0000000000000000 rcx 0000000000000000 rdx 0000000000000000
> rsi 0000000000000000 rdi 00007f53c1c96000 rsp 00007fffcd5985c8 rbp 00007fffcd5985e0
> r8  000000000000ff80 r9  0000000000200000 r10 0000000000000000 r11 00007f53c15223f0
> r12 00000000004017c0 r13 00007fffcd599cd0 r14 0000000000000000 r15 0000000000000000
> rip 00007f53c1522a7b rflags 00013206
> cs 0033 (00000000/ffffffff p 1 dpl 3 db 0 s 1 type b l 1 g 1 avl 0)
> ds 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
> es 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
> ss 002b (00000000/ffffffff p 1 dpl 3 db 1 s 1 type 3 l 0 g 1 avl 0)
> fs 0000 (7f53c1ca86f0/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
> gs 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
> tr 0040 (ffff880001a03440/00002087 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0)
> ldt 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
> gdt ffff8800019f4000/7f
> idt ffffffff818fd000/fff
> cr0 80050033 cr2 b27000 cr3 37d13000 cr4 6f0 cr8 0 efer d01
> emulation failure, check dmesg for details
>
>
> dmesg contains nothing. Happens with "vga vmware" and "vga std". Seems to be
> a duplicate of
> 	https://bugs.launchpad.net/qemu/+bug/502107
> 	http://bugs.gentoo.org/show_bug.cgi?id=299211
> ?
>
>    

Likely.  Can you post the result of 'x/5i $eip' in the monitor when it 
hangs?

'-monitor stdio' will make cut'n'paste easier.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1
  2010-01-14 13:51       ` Avi Kivity
@ 2010-01-14 14:06         ` Dominik Brodowski
  2010-01-14 14:20           ` Avi Kivity
  0 siblings, 1 reply; 13+ messages in thread
From: Dominik Brodowski @ 2010-01-14 14:06 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Anthony Liguori, kvm

Hey,

On Thu, Jan 14, 2010 at 03:51:43PM +0200, Avi Kivity wrote:
> On 01/14/2010 12:18 AM, Dominik Brodowski wrote:
> >
> >  /usr/local/bin/qemu-system-x86_64 --version QEMU PC emulator version 0.12.1 (qemu-kvm-0.12.1.2), Copyright (c) 2003-2008 Fabrice Bellard
> >
> >KVM internal error. Suberror: 1
> >rax 00007f53c1c96000 rbx 0000000000000000 rcx 0000000000000000 rdx 0000000000000000
> >rsi 0000000000000000 rdi 00007f53c1c96000 rsp 00007fffcd5985c8 rbp 00007fffcd5985e0
> >r8  000000000000ff80 r9  0000000000200000 r10 0000000000000000 r11 00007f53c15223f0
> >r12 00000000004017c0 r13 00007fffcd599cd0 r14 0000000000000000 r15 0000000000000000
> >rip 00007f53c1522a7b rflags 00013206
> >cs 0033 (00000000/ffffffff p 1 dpl 3 db 0 s 1 type b l 1 g 1 avl 0)
> >ds 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
> >es 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
> >ss 002b (00000000/ffffffff p 1 dpl 3 db 1 s 1 type 3 l 0 g 1 avl 0)
> >fs 0000 (7f53c1ca86f0/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
> >gs 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
> >tr 0040 (ffff880001a03440/00002087 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0)
> >ldt 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
> >gdt ffff8800019f4000/7f
> >idt ffffffff818fd000/fff
> >cr0 80050033 cr2 b27000 cr3 37d13000 cr4 6f0 cr8 0 efer d01
> >emulation failure, check dmesg for details
> >
> >
> >dmesg contains nothing. Happens with "vga vmware" and "vga std". Seems to be
> >a duplicate of
> >	https://bugs.launchpad.net/qemu/+bug/502107
> >	http://bugs.gentoo.org/show_bug.cgi?id=299211
> >?
> >
> 
> Likely.  Can you post the result of 'x/5i $eip' in the monitor when
> it hangs?
> 
> '-monitor stdio' will make cut'n'paste easier.

...
cr0 80050033 cr2 7f6c775f3020 cr3 37c04000 cr4 6f0 cr8 0 efer d01
emulation failure, check dmesg for details

> x/5i $eip
0x00007f317ab64a7b:  movdqa %xmm0,(%rdi)
0x00007f317ab64a7f:  movdqa %xmm0,0x10(%rdi)
0x00007f317ab64a84:  movdqa %xmm0,0x20(%rdi)
0x00007f317ab64a89:  movdqa %xmm0,0x30(%rdi)
0x00007f317ab64a8e:  movdqa %xmm0,0x40(%rdi)

Same values for "vga vmware" and "vga std".

Thanks and best,

	Dominik

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1
  2010-01-14 14:06         ` Dominik Brodowski
@ 2010-01-14 14:20           ` Avi Kivity
  2010-01-20 16:46             ` Avi Kivity
  0 siblings, 1 reply; 13+ messages in thread
From: Avi Kivity @ 2010-01-14 14:20 UTC (permalink / raw)
  To: Dominik Brodowski; +Cc: Anthony Liguori, kvm

On 01/14/2010 04:06 PM, Dominik Brodowski wrote:
>
>> x/5i $eip
>>      
> 0x00007f317ab64a7b:  movdqa %xmm0,(%rdi)
> 0x00007f317ab64a7f:  movdqa %xmm0,0x10(%rdi)
> 0x00007f317ab64a84:  movdqa %xmm0,0x20(%rdi)
> 0x00007f317ab64a89:  movdqa %xmm0,0x30(%rdi)
> 0x00007f317ab64a8e:  movdqa %xmm0,0x40(%rdi)
>
> Same values for "vga vmware" and "vga std".
>
>    

Yes - this has been reported.  We need to start emulating movdqa and a 
few of its friends.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1
  2010-01-14 14:20           ` Avi Kivity
@ 2010-01-20 16:46             ` Avi Kivity
  2010-01-20 17:00               ` Anthony Liguori
  0 siblings, 1 reply; 13+ messages in thread
From: Avi Kivity @ 2010-01-20 16:46 UTC (permalink / raw)
  To: Dominik Brodowski; +Cc: Anthony Liguori, kvm

On 01/14/2010 04:20 PM, Avi Kivity wrote:
> On 01/14/2010 04:06 PM, Dominik Brodowski wrote:
>>
>>> x/5i $eip
>> 0x00007f317ab64a7b:  movdqa %xmm0,(%rdi)
>> 0x00007f317ab64a7f:  movdqa %xmm0,0x10(%rdi)
>> 0x00007f317ab64a84:  movdqa %xmm0,0x20(%rdi)
>> 0x00007f317ab64a89:  movdqa %xmm0,0x30(%rdi)
>> 0x00007f317ab64a8e:  movdqa %xmm0,0x40(%rdi)
>>
>> Same values for "vga vmware" and "vga std".
>>
>
> Yes - this has been reported.  We need to start emulating movdqa and a 
> few of its friends.
>

So I have a nice patchset emulating this instruction (quite a pain, 
since this is the first sse instruction we emulate), but it doesn't 
help.  The guest keeps using it so the display is incredibly slow.

Turns out the real problem is somewhere else -  the guest is not 
detecting VBE properly so it is forced to use the old slow vga access.  
Not sure what the root cause is.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1
  2010-01-20 16:46             ` Avi Kivity
@ 2010-01-20 17:00               ` Anthony Liguori
  2010-01-20 17:15                 ` Avi Kivity
  0 siblings, 1 reply; 13+ messages in thread
From: Anthony Liguori @ 2010-01-20 17:00 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Dominik Brodowski, kvm

On 01/20/2010 10:46 AM, Avi Kivity wrote:
> On 01/14/2010 04:20 PM, Avi Kivity wrote:
>> On 01/14/2010 04:06 PM, Dominik Brodowski wrote:
>>>
>>>> x/5i $eip
>>> 0x00007f317ab64a7b:  movdqa %xmm0,(%rdi)
>>> 0x00007f317ab64a7f:  movdqa %xmm0,0x10(%rdi)
>>> 0x00007f317ab64a84:  movdqa %xmm0,0x20(%rdi)
>>> 0x00007f317ab64a89:  movdqa %xmm0,0x30(%rdi)
>>> 0x00007f317ab64a8e:  movdqa %xmm0,0x40(%rdi)
>>>
>>> Same values for "vga vmware" and "vga std".
>>>
>>
>> Yes - this has been reported.  We need to start emulating movdqa and 
>> a few of its friends.
>>
>
> So I have a nice patchset emulating this instruction (quite a pain, 
> since this is the first sse instruction we emulate), but it doesn't 
> help.  The guest keeps using it so the display is incredibly slow.
>
> Turns out the real problem is somewhere else -  the guest is not 
> detecting VBE properly so it is forced to use the old slow vga 
> access.  Not sure what the root cause is.

Is this with -vga std or -vga vmware?  Is this a VESA driver in the guest?

Regards,

Anthony Liguori



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1
  2010-01-20 17:00               ` Anthony Liguori
@ 2010-01-20 17:15                 ` Avi Kivity
  2010-01-22 13:52                   ` Dominik Brodowski
  0 siblings, 1 reply; 13+ messages in thread
From: Avi Kivity @ 2010-01-20 17:15 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Dominik Brodowski, kvm

On 01/20/2010 07:00 PM, Anthony Liguori wrote:
>> So I have a nice patchset emulating this instruction (quite a pain, 
>> since this is the first sse instruction we emulate), but it doesn't 
>> help.  The guest keeps using it so the display is incredibly slow.
>>
>> Turns out the real problem is somewhere else -  the guest is not 
>> detecting VBE properly so it is forced to use the old slow vga 
>> access.  Not sure what the root cause is.
>
>
> Is this with -vga std or -vga vmware? 

Yes (both reported, I confirmed with -vga std).

> Is this a VESA driver in the guest?

So it seems from the Xorg log.  Boot a Ubuntu 9.10 cdrom, on 
qemu-kvm-0.11 it boots fine and fast, on 0.12 it fails on emulation 
(unless you apply my patchset, in which case it works, but is incredibly 
slow).


-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1
  2010-01-20 17:15                 ` Avi Kivity
@ 2010-01-22 13:52                   ` Dominik Brodowski
  2010-01-24  7:27                     ` Avi Kivity
  0 siblings, 1 reply; 13+ messages in thread
From: Dominik Brodowski @ 2010-01-22 13:52 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Anthony Liguori, kvm

Hey,

On Wed, Jan 20, 2010 at 07:15:02PM +0200, Avi Kivity wrote:
> On 01/20/2010 07:00 PM, Anthony Liguori wrote:
> >>So I have a nice patchset emulating this instruction (quite a
> >>pain, since this is the first sse instruction we emulate), but
> >>it doesn't help.  The guest keeps using it so the display is
> >>incredibly slow.
> >>
> >>Turns out the real problem is somewhere else -  the guest is not
> >>detecting VBE properly so it is forced to use the old slow vga
> >>access.  Not sure what the root cause is.
> >
> >
> >Is this with -vga std or -vga vmware?
> 
> Yes (both reported, I confirmed with -vga std).
> 
> >Is this a VESA driver in the guest?
> 
> So it seems from the Xorg log.  Boot a Ubuntu 9.10 cdrom, on
> qemu-kvm-0.11 it boots fine and fast, on 0.12 it fails on emulation
> (unless you apply my patchset, in which case it works, but is
> incredibly slow).

Hm, does it work with any KVM version for you? Tried a couple of revs, but
with no success, so I couldn't start bisecting...

Best,
	Dominik

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1
  2010-01-22 13:52                   ` Dominik Brodowski
@ 2010-01-24  7:27                     ` Avi Kivity
  2010-01-24  9:15                       ` Dominik Brodowski
  0 siblings, 1 reply; 13+ messages in thread
From: Avi Kivity @ 2010-01-24  7:27 UTC (permalink / raw)
  To: Dominik Brodowski; +Cc: Anthony Liguori, kvm

On 01/22/2010 03:52 PM, Dominik Brodowski wrote:
>
>> So it seems from the Xorg log.  Boot a Ubuntu 9.10 cdrom, on
>> qemu-kvm-0.11 it boots fine and fast, on 0.12 it fails on emulation
>> (unless you apply my patchset, in which case it works, but is
>> incredibly slow).
>>      
> Hm, does it work with any KVM version for you? Tried a couple of revs, but
> with no success, so I couldn't start bisecting...
>    

The qemu-kvm-0.11 series worked for me.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1
  2010-01-24  7:27                     ` Avi Kivity
@ 2010-01-24  9:15                       ` Dominik Brodowski
  0 siblings, 0 replies; 13+ messages in thread
From: Dominik Brodowski @ 2010-01-24  9:15 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Anthony Liguori, kvm

On Sun, Jan 24, 2010 at 09:27:44AM +0200, Avi Kivity wrote:
> On 01/22/2010 03:52 PM, Dominik Brodowski wrote:
> >
> >>So it seems from the Xorg log.  Boot a Ubuntu 9.10 cdrom, on
> >>qemu-kvm-0.11 it boots fine and fast, on 0.12 it fails on emulation
> >>(unless you apply my patchset, in which case it works, but is
> >>incredibly slow).
> >Hm, does it work with any KVM version for you? Tried a couple of revs, but
> >with no success, so I couldn't start bisecting...
> 
> The qemu-kvm-0.11 series worked for me.

Can't try the ubuntu install CD now, just my own ubuntu virtual system:

$ git checkout qemu-kvm-0.11.1
HEAD is now at 60b28da... Merge commit 'v0.11.1' into stable-0.11
$ ./configure --audio-drv-list="alsa" --target-list="x86_64-softmmu"
$ make -j2
$ sudo make install
$ /usr/local/bin/qemu-system-x86_64 -M pc -m 1024 -smp 1 -name x86 -drive file=/dev/mapper/x86,if=ide,index=0 -net - nic,macaddr=00:16:36:44:c1:f8,vlan=0 -net user,vlan=0 -usb -usbdevice - tablet -k de -soundhw es1370 -snapshot -vga vmware -monitor stdio --enable-kvm
VNC server running on `127.0.0.1:5900'
QEMU 0.11.1 monitor - type 'help' for more information
(qemu) unhandled vm exit: 0x11
rax 00007f55d8532000 rbx 0000000000000000 rcx 0000000000000000 rdx 0000000000000000
rsi 0000000000000000 rdi 00007f55d8532000 rsp 00007fff9b695f78 rbp 00007fff9b695f90
r8  000000000000ff80 r9  0000000000200000 r10 0000000000000000 r11 00007f55d7dbe3f0
r12 00000000004017c0 r13 00007fff9b697680 r14 0000000000000000 r15 0000000000000000
rip 00007f55d7dbea7b rflags 00013206
cs 0033 (00000000/ffffffff p 1 dpl 3 db 0 s 1 type b l 1 g 1 avl 0)
ds 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
es 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
ss 002b (00000000/ffffffff p 1 dpl 3 db 1 s 1 type 3 l 0 g 1 avl 0)
fs 0000 (7f55d85446f0/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
gs 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
tr 0040 (ffff880001a03440/00002087 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0)
ldt 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
gdt ffff8800019f4000/7f
idt ffffffff818fd000/fff
cr0 80050033 cr2 12c3000 cr3 3c420000 cr4 6f0 cr8 0 efer d01
Aborted
$ 

Best,
	Dominik

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-01-24  9:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-14 14:11 vga std / vga vmware leads to unhandled vm exit: 0x11 Dominik Brodowski
2010-01-13 20:29 ` Dominik Brodowski
2010-01-13 21:59   ` Anthony Liguori
2010-01-13 22:18     ` vga stad / vga vmware leads to KVM internal error. Suberror: 1 Dominik Brodowski
2010-01-14 13:51       ` Avi Kivity
2010-01-14 14:06         ` Dominik Brodowski
2010-01-14 14:20           ` Avi Kivity
2010-01-20 16:46             ` Avi Kivity
2010-01-20 17:00               ` Anthony Liguori
2010-01-20 17:15                 ` Avi Kivity
2010-01-22 13:52                   ` Dominik Brodowski
2010-01-24  7:27                     ` Avi Kivity
2010-01-24  9:15                       ` Dominik Brodowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).