[kvm-devel] Error inserting kvm_intel

2006-12-18 Thread Piero Ottuzzi
Hi there, I have an HP nc8430 with a Core2DUO (Merom) T7200. Yesterday I compiled from subversion repository the latest version of kvm: everything was smooth but as soon as I try to load the module I get: [EMAIL PROTECTED]:~$ sudo modprobe kvm-intel Password: FATAL: Error inserting kvm_intel (/l

Re: [kvm-devel] Strangeness in kvm_show_regs() and exit reasons

2006-12-18 Thread James Morris
On Tue, 19 Dec 2006, James Jacobsson wrote: > And, yes, I've read Intels C97063-001 several times now, but all I can > find that matches it is a blurb about that the exit reason is encoded > to reflect the reason for the VM exit, but I can't find anything about > how to interpret the value I'm get

[kvm-devel] Strangeness in kvm_show_regs() and exit reasons

2006-12-18 Thread James Jacobsson
While playing around with KVM (without QEmu), I'm encountering several crashes which most probably is my own fault, but in the process of trying to debug what's going wrong, I've run into an oddity in kvm_show_regs(). I tried adding code to dump the sregs in addition to the regs (ioctl(kvm->fd,KVM

[kvm-devel] Patch to allow KVM to build without gcc 3.x

2006-12-18 Thread James Jacobsson
Attached is a patch to allow KVM to build without gcc 3.x (by skipping building QEmu). The only changes are to the top-level configure script and Makefile. To build without QEmu, there is a new argument to configure, --no-qemu This patch applies to KVM release 7. /James kvm-noqemu.diff Descr

Re: [kvm-devel] KVM and/or Qemu ?

2006-12-18 Thread Avi Kivity
James Jacobsson wrote: > Is KVM supposed to be a generic VT-x/SVM abstraction layer, or is it > supposed to be yet-another Qemu backend? > > kvm is intended to be a generic hardware virtualization abstraction layer (not limited to VT-x/SVM -- if the ppc folk want in, they're welcome). That sa

[kvm-devel] KVM and/or Qemu ?

2006-12-18 Thread James Jacobsson
Is KVM supposed to be a generic VT-x/SVM abstraction layer, or is it supposed to be yet-another Qemu backend? The reason I'm asking is that I'm a bit confused. When I'm looking at the kernel module sources and the interface (kvmctl.h), it looks like an VT-x/SVM abstraction layer, but when trying t

Re: [kvm-devel] Windows XP internal Power error

2006-12-18 Thread ignazio . cassano
Hi, I reverted all patched and applied last one. How when windows XP start the qemu windows remains frozen . No warnings o messages are displayed. The host cannot be reachable from network. Thanks - Messaggio da [EMAIL PROTECTED] - Data: Mon, 18 Dec 2006 11:32:19 +0200 Da: A

Re: [kvm-devel] Windows XP internal Power error

2006-12-18 Thread Avi Kivity
[EMAIL PROTECTED] wrote: Hi, modified NR_BAD_MSRS, dmesg reports: ok, please revert all patches an apply the attached. -- error compiling committee.c: too many arguments to function Index: vmx.c === --- vmx.c (revision 4120) +++

Re: [kvm-devel] problem with network in windows

2006-12-18 Thread Dmitry Melekhov
Avi Kivity пишет: > Dmitry Melekhov wrote: >> Avi Kivity пишет: >>> Dmitry Melekhov wrote: > The defaults are to use a qemu internal dhcp server. > Looks like it doesn't work :-( >>> >>> Can you test with the -nokvm switch? With standard qemu? >>> >>> >> >> Windows gets

Re: [kvm-devel] problem with network in windows

2006-12-18 Thread Avi Kivity
Dmitry Melekhov wrote: > Avi Kivity пишет: >> Dmitry Melekhov wrote: >>> The defaults are to use a qemu internal dhcp server. >>> Looks like it doesn't work :-( >>> >>> >> >> Can you test with the -nokvm switch? With standard qemu? >> >> > > Windows gets address from qemu dhcp server wit

Re: [kvm-devel] problem with network in windows

2006-12-18 Thread Dmitry Melekhov
Avi Kivity пишет: > Dmitry Melekhov wrote: >> >>> The defaults are to use a qemu internal dhcp server. >>> >> Looks like it doesn't work :-( >> >> > > Can you test with the -nokvm switch? With standard qemu? > > Windows gets address from qemu dhcp server with -nokvm switch , and get it with kvm.

Re: [kvm-devel] Windows XP internal Power error

2006-12-18 Thread ignazio . cassano
Hi, modified NR_BAD_MSRS, dmesg reports: <7>kvm: msrs: 6 general protection fault: [2] SMP last sysfs file: /class/misc/kvm/dev CPU 1 Modules linked in: kvm_intel(U) kvm(U) autofs4 hidp rfcomm l2cap bluetooth sunrpc dm_mirror dm_multipath dm_mod video sbs i2c_ec button battery asus_acpi ac

Re: [kvm-devel] problem with network in windows

2006-12-18 Thread Dor Laor
> Avi Kivity пишет: > > Dmitry Melekhov wrote: > >> Hello! > >> > >> I tested linux x86 and windows xp with v7. > >> Linux can't get ip address from dhcp server, but if I set it manually > >> all works OK. > >> Windows can't get address from dhcp server too and even manual > >> assignment doesn't h

Re: [kvm-devel] problem with network in windows

2006-12-18 Thread Avi Kivity
Dmitry Melekhov wrote: > Avi Kivity пишет: >> Dmitry Melekhov wrote: >>> Hello! >>> >>> I tested linux x86 and windows xp with v7. >>> Linux can't get ip address from dhcp server, but if I set it >>> manually all works OK. >>> Windows can't get address from dhcp server too and even manual >>> ass

Re: [kvm-devel] Windows XP internal Power error

2006-12-18 Thread Avi Kivity
[EMAIL PROTECTED] wrote: > > Hi, modifing the patch and launching windows boot it reports the > following: > > kvm: msrs: 6 > VMentry guest msr[0] index=c084 data=3700 > VMentry guest msr[1] index=c082 data=8025be90 > VMentry guest msr[2] index=c083 data=8025efa0 > VMen

Re: [kvm-devel] problem with network in windows

2006-12-18 Thread Dmitry Melekhov
Avi Kivity пишет: > Dmitry Melekhov wrote: >> Hello! >> >> I tested linux x86 and windows xp with v7. >> Linux can't get ip address from dhcp server, but if I set it manually >> all works OK. >> Windows can't get address from dhcp server too and even manual >> assignment doesn't help :-( >> Is th

Re: [kvm-devel] [RFC] Porting KVM to QEMU CVS

2006-12-18 Thread Avi Kivity
Anthony Liguori wrote: > I spent some time this weekend trying to port the KVM changes to the > latest QEMU CVS. I got snagged on a certain changeset though. > Specifically, the changeset on Sep 24th that added SMM support (and > moved ACPI init to the BIOS) is where my patch stops working. >

Re: [kvm-devel] White screen

2006-12-18 Thread Dor Laor
> Mark Clarkson wrote: > > Hi, > > When using WinXP I get a completely white screen whenever I change the > > resolution and just before the Windows GUI comes up, which lasts for > > around 20 seconds. > > That is a known issue. Windows is clearing the screen using mmio > writes. We have hacks t

Re: [kvm-devel] White screen

2006-12-18 Thread Avi Kivity
Mark Clarkson wrote: > Hi, > When using WinXP I get a completely white screen whenever I change the > resolution and just before the Windows GUI comes up, which lasts for > around 20 seconds. That is a known issue. Windows is clearing the screen using mmio writes. We have hacks to convert the