From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Malone Subject: kvm-76 --std-vga problem Date: Mon, 29 Sep 2008 10:44:30 +1300 Message-ID: <48DFFABE.8060304@tait.co.nz> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Transfer-Encoding: 7BIT To: kvm mailing list Return-path: Received: from gatekeeper.tait.co.nz ([202.37.96.11]:59339 "EHLO gatekeeper.tait.co.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751107AbYI1Vof (ORCPT ); Sun, 28 Sep 2008 17:44:35 -0400 Received: from gatekeeper.tait.co.nz (localhost.localdomain [127.0.0.1]) by localhost.tait.co.nz (Postfix) with ESMTP id EF6CA4680A for ; Mon, 29 Sep 2008 10:44:33 +1300 (NZDT) Received: from sunstrike.tait.co.nz (sunstrike [172.25.40.92])by gatekeeper.tait.co.nz (Postfix) with ESMTP id DDCF246809for ; Mon, 29 Sep 2008 10:44:33 +1300 (NZDT) Received: from conversion-daemon.sunstrike.tait.co.nz by sunstrike.tait.co.nz(Sun Java System Messaging Server 6.1 (built Apr 28 2004))id <0K7X00A01A6D2400@sunstrike.tait.co.nz>(original mail from michael.malone@tait.co.nz) for kvm@vger.kernel.org; Mon,29 Sep 2008 10:44:33 +1300 (NZDT) Received: from [172.25.143.6] by sunstrike.tait.co.nz(Sun Java System Messaging Server 6.1 (built Apr 28 2004))with ESMTP id <0K7X0024WDQ6T680@sunstrike.tait.co.nz> for kvm@vger.kernel.org;Mon, 29 Sep 2008 10:44:31 +1300 (NZDT) Sender: kvm-owner@vger.kernel.org List-ID: 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 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. =======================================================================