Re: [kvm-devel] 32-bit FreeBSD under 64-bit KVM

2007-03-07 Thread Aurelien Jarno
Avi Kivity a écrit : > Aurelien Jarno wrote: >> Yep. Here are what I get in my dmesg. The lines below are output when >> the kernel is started (just after the bootloader): >> >> Mar 3 16:50:35 joule kernel: assertion failed >> /usr/local/src/kvm-15/kernel/mmu.c:722: (gpa & HPA_ERR_MASK) == 0 >> M

Re: [kvm-devel] 32-bit FreeBSD under 64-bit KVM

2007-03-07 Thread Avi Kivity
Aurelien Jarno wrote: > Yep. Here are what I get in my dmesg. The lines below are output when > the kernel is started (just after the bootloader): > > Mar 3 16:50:35 joule kernel: assertion failed > /usr/local/src/kvm-15/kernel/mmu.c:722: (gpa & HPA_ERR_MASK) == 0 > Mar 3 16:50:35 joule kernel:

Re: [kvm-devel] 32-bit FreeBSD under 64-bit KVM

2007-03-07 Thread Aurelien Jarno
On Wed, Mar 07, 2007 at 04:34:02PM +0200, Avi Kivity wrote: > Aurelien Jarno wrote: > >>> > >>> > >>Are you sure you set 'dbg = 0'? There aren't supposed to be any logs, > >>except if an error is found during audit (that's what the '#define > >>AUDIT' is for). > >> > >> > > > >Oh sor

Re: [kvm-devel] strange error loading kvm module on latest FC6 kernel

2007-03-07 Thread James Morris
On Wed, 7 Mar 2007, Avi Kivity wrote: > Greg M Lee wrote: > > Hi > > updated to latest FC6 kernel yesterday ie 2.6.19-1.2911.6.5.fc6 > > compiled kvm-15 from sourceforge this morning > > chose the unpatched kernel instructions [ was this the right choice ?] > > configure, make, make install all

Re: [kvm-devel] Could a dirver allow Windows to make Linux system calls?

2007-03-07 Thread Avi Kivity
M.Thomas Frederiksen wrote: > Given that the guest is a process on Linux, couldn't it use Linux system calls > like any other Linux process? No, system calls on the guest go to the guest kernel. > For example, could a driver be added to Windows, > so that Windows could use the same system call

Re: [kvm-devel] 32-bit FreeBSD under 64-bit KVM

2007-03-07 Thread Avi Kivity
Aurelien Jarno wrote: >>> >>> >> Are you sure you set 'dbg = 0'? There aren't supposed to be any logs, >> except if an error is found during audit (that's what the '#define >> AUDIT' is for). >> >> > > Oh sorry, I did that wrong. > > I have tried with dbg = = 0 and #define AUDIT,

Re: [kvm-devel] 32-bit FreeBSD under 64-bit KVM

2007-03-07 Thread Aurelien Jarno
Avi Kivity a écrit : > Aurelien Jarno wrote: >>> Can you try turning the '#undef AUDIT' to '#define AUDIT' in mmu.c? >>> Also, change 'int dbg = 1' to 'int dbg = 0' in the same file. Note kvm >>> will be very slower after this. dmesg will show any issues (issue a >>> 'echo 9 > /proc/sysrq-tri

[kvm-devel] Could a dirver allow Windows to make Linux system calls?

2007-03-07 Thread M . Thomas Frederiksen
Given that the guest is a process on Linux, couldn't it use Linux system calls like any other Linux process? For example, could a driver be added to Windows, so that Windows could use the same system call that X windows does to get access to the video card? --

Re: [kvm-devel] kvm 15 and opensuse 10.2 problem

2007-03-07 Thread Avi Kivity
ymed wrote: > Hello KVM Team! > > I have a problem installing KVM packages on opensuse 10.2. > Configuration of my PC is core 2 duo with Intel VT enabled. > > I have downloaded kvm-rpms from > http://software.opensuse.org/download/home:/kraxel/openSUSE_10.2/x86_64/ > and installed them on opensuse

[kvm-devel] kvm 15 and opensuse 10.2 problem

2007-03-07 Thread ymed
Hello KVM Team! I have a problem installing KVM packages on opensuse 10.2. Configuration of my PC is core 2 duo with Intel VT enabled. I have downloaded kvm-rpms from http://software.opensuse.org/download/home:/kraxel/openSUSE_10.2/x86_64/ and installed them on opensuse 10.2. (kvm-15-6.1.x86-64.

[kvm-devel] [ANNOUNCE] kvm-16 release

2007-03-07 Thread Avi Kivity
Nothing spectacular this time. Changes from kvm-15: - bug fixes (including a nasty one on module load) - use lanana assigned minor device number for /dev/kvm Note that if you use the modules from Linux 2.6.20, you need to use kvm-12. You can use kvm-16 with Linux 2.6.20, provided you use the ex

Re: [kvm-devel] Compilation Error

2007-03-07 Thread Shahar Frank
... > usb-linux.o /home/johnm/kvm-15/qemu/usb-linux.c > In file included from /home/johnm/kvm-15/qemu/usb-linux.c:29: > /usr/include/linux/usbdevice_fs.h:49: error: variable or field `__user' declared void > /usr/include/linux/usbdevice_fs.h:49: error: syntax error before '*' token / ... A workar

[kvm-devel] [PATCH 1/2] KVM: Unset kvm_arch_ops if arch module loading failed

2007-03-07 Thread Avi Kivity
Otherwise, the core module thinks the arch module is loaded, and won't let you reload it after you've fixed the bug. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> --- drivers/kvm/kvm_main.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/kvm/kvm_main.c b/driver

[kvm-devel] [PATCH 0/2] KVM: Fixes for 2.6.21-rc3

2007-03-07 Thread Avi Kivity
This patchset contains fixes I plan to submit pre 2.6.21. One improves cleanup on module load failures, while the other fixes guest failures in compat mode (32-bit guest process on a 64-bit guest kernel). - Take Surveys. Ear

[kvm-devel] [PATCH 2/2] KVM: Fix guest sysenter on vmx

2007-03-07 Thread Avi Kivity
The vmx code currently treats the guest's sysenter support msrs as 32-bit values, which breaks 32-bit compat mode userspace on 64-bit guests. Fix by using the native word width of the machine. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> --- drivers/kvm/vmx.c |8 1 files changed, 4

Re: [kvm-devel] strange error loading kvm module on latest FC6 kernel

2007-03-07 Thread Greg M Lee
Hi thanks for that. It fixed that problem, but now I get: # modprobe kvm-intel FATAL: Error inserting kvm_intel (/lib/modules/2.6.19-1.2911.6.5.fc6/extra/kvm-intel.ko): Operation not supported and dmesg has: kvm: disabled by bios I have a Compaq nw8440 which I ordered with the thought of insta