All of lore.kernel.org
 help / color / mirror / Atom feed
* kvm-76 --std-vga problem
@ 2008-09-28 21:44 Michael Malone
  2008-09-29 12:37 ` Martin Maurer
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Michael Malone @ 2008-09-28 21:44 UTC (permalink / raw)
  To: kvm mailing list

Hi Everyone,

I just downloaded and ran the new kvm-76 (upgrading from kvm-74) and I 
have a few issues.
I am running Ubuntu 8.04 (Hardy) as my host and Windows XP as my guest.  
I am using VT-d and the kernel modules loaded correctly.

Here is the command I use to start kvm:
kvm-bridge -hda windows2.img -boot c -m 1000 -serial /dev/ttyUSB0 
-serial file:serial.out -smp 2 -usb -usbdevice "tablet" -full-screen 
-cdrom /dev/cdrom

kvm-bridge is a script that configures my network and passes the other 
options straight through to qemu-system-x86_64

1) what is the difference between running qemu-system-x86_64 and kvm 
directly?
Because, when I run kvm directly, I get this error:
Traceback (most recent call last):
  File "/home/malonem/kvm-76/kvm", line 20, in <module>
    external_module = config.get('shell', 'want_module')
  File "/usr/lib/python2.5/ConfigParser.py", line 511, in get
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'shell'

2) (this has been around for quite some time, I just haven't done 
anything about it)
Even though I start up with -smp 2, windows only reads 1 cpu

3) When I run it using the --std-vga parameter, windows boots to just 
before it gets to the "welcome" screen and hangs.  The output shows a 
multitude of "kvm: get_dirty_pages returned -2"  Is this something to do 
with the kernel version I am using?  I am using the standard Ubuntu 
Hardy Kernel 2.6.24-19-generic.  I read the release notes about the 
kernel version with kvm-76 but didn't really understand them and 
presumed that I am using the kernel modules supplied with kvm. (I 
rmmod'd kvm-intel and kvm before I compiled and installed, then 
modprobe'd the modules afterwards and everything seemed to go ok)

Any help or insight would be much appreciated,

Michael

=======================================================================
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
 altered or corrupted during transmission.
=======================================================================


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: kvm-76 --std-vga problem
@ 2008-10-06  0:52 duck
  2008-10-06  7:35 ` Niels Berglund
  2008-10-06 16:16 ` Glauber Costa
  0 siblings, 2 replies; 10+ messages in thread
From: duck @ 2008-10-06  0:52 UTC (permalink / raw)
  To: kvm

Michael Malone wrote:

>>> When I run [kvm-76] it using the --std-vga parameter, 
>>> windows boots to just before it gets to the "welcome" 
>>> screen and hangs. The output shows a multitude of
>>> "kvm: get_dirty_pages returned -2" 

[...]

Glauber Costa replied:

>> It's a regression introduced in last version. It should work using
>> cirrus vga (can you confirm, please?)
>>
>> There are some quick hacks, but I'll be trying to work on a proper 
>> fix in the following days.

Then Glauber Coster additionally replied:

> This is a band aid, but proves the general idea. Can you 
> confirm that it fixes the problem for you ?

When I use kvm-76 with -std-vga (I am booting an XP3 guest under a Linux 
32-bit PAE host) I see this:

kvm_create_phys_mem: File existsset_vram_mapping: cannot allocate memory: File exists
set_vram_mapping failed

kvm: get_dirty_pages returned -2
kvm: get_dirty_pages returned -2
kvm: get_dirty_pages returned -2
kvm: get_dirty_pages returned -2
kvm: get_dirty_pages returned -2
...zillions of this line...

When I omit -std-vga and use Cirrus VGA, it works fine.

When I apply glommer's abovementioned band aid patch and use -std-vga then 
the problem is different, but not fixed. I no longer see the 
kvm_create_phys_mem error, nor the set_vram_mapping error, but the:

kvm: get_dirty_pages returned -2
kvm: get_dirty_pages returned -2
kvm: get_dirty_pages returned -2
kvm: get_dirty_pages returned -2
kvm: get_dirty_pages returned -2
...zillions of this line...

still appears.

kvm-75 shows none of these issues and appears to work just fine.

HtH.

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

end of thread, other threads:[~2008-10-06 16:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-28 21:44 kvm-76 --std-vga problem Michael Malone
2008-09-29 12:37 ` Martin Maurer
2008-09-29 12:50 ` Brian Jackson
2008-09-29 17:29 ` Glauber Costa
2008-09-29 18:08   ` Glauber Costa
2008-10-01  7:47 ` Avi Kivity
2008-10-01 19:52   ` Michael Malone
  -- strict thread matches above, loose matches on Subject: below --
2008-10-06  0:52 duck
2008-10-06  7:35 ` Niels Berglund
2008-10-06 16:16 ` Glauber Costa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.