Re: [kvm-devel] [PATCH] Lazy FPU for SVM

2007-04-23 Thread Avi Kivity
Anthony Liguori wrote: Attached patch implements lazy FPU save/restore for SVM. It's much more conservative than my previous patch. We can now mark the guest FPU as inactive whenever we want which will trigger CR0.TS to be set in the guest's shadowed CR0. Right now, we only mark the FPU

Re: [kvm-devel] XP 64 bit in KVM

2007-04-23 Thread Avi Kivity
ymed wrote: Hello! I have recently tried to install XP 64 bit SP1 on KVM 16. But Windows setup buzzed on text mode and screen: Setup is starting Windows. Xp 32 bit runs on KVM 16 without any problems. Does KVM support XP 64 bit? Thank you very much! 64-bit Windows is not yet

Re: [kvm-devel] [RFC] Handling VMEXITS with interrupts disabled?

2007-04-23 Thread Avi Kivity
Anthony Liguori wrote: Howdy, I had an idea for improving VMEXIT time by only saving/restoring sys{enter,call,ret} MSRs when exiting from kernel space code since as long as these instructions aren't executed on the host, everything should be fine. Yup. This worked fine for

Re: [kvm-devel] SEP regression in kvm-20?

2007-04-23 Thread Avi Kivity
Rusty Russell wrote: Hi all, I note that Linux under kvm 20 doesn't use sysenter, while it did under kvm 19. There's no sep in /proc/cpuinfo x86info does report sep, but arch/i386/kernel/cpu/intel.c has this to say: /* SEP CPUID bug: Pentium Pro reports SEP but doesn't have

[kvm-devel] crash with CFS v4 and qemu/kvm (was: [patch] CFS scheduler, v4)

2007-04-23 Thread Christian Hesse
On Friday 20 April 2007, Ingo Molnar wrote: i'm pleased to announce release -v4 of the CFS patchset. Hi Ingo, hi Avi, hi all, I'm trying to use kvm-20 with cfs v4 and get a crash: [EMAIL PROTECTED]:~$ /usr/local/kvm/bin/qemu -snapshot /mnt/data/virtual/qemu/winxp.img kvm_run: failed entry,

Re: [kvm-devel] crash with CFS v4 and qemu/kvm (was: [patch] CFS scheduler, v4)

2007-04-23 Thread Ingo Molnar
* Christian Hesse [EMAIL PROTECTED] wrote: On Friday 20 April 2007, Ingo Molnar wrote: i'm pleased to announce release -v4 of the CFS patchset. Hi Ingo, hi Avi, hi all, I'm trying to use kvm-20 with cfs v4 and get a crash: [EMAIL PROTECTED]:~$ /usr/local/kvm/bin/qemu -snapshot

Re: [kvm-devel] SEP regression in kvm-20?

2007-04-23 Thread Rusty Russell
On Mon, 2007-04-23 at 10:17 +0300, Avi Kivity wrote: Rusty Russell wrote: Hi all, I note that Linux under kvm 20 doesn't use sysenter, while it did under kvm 19. There's no sep in /proc/cpuinfo x86info does report sep, but arch/i386/kernel/cpu/intel.c has this to say:

Re: [kvm-devel] [PATCH 2/5] KVM: Add irqdevice object

2007-04-23 Thread Gregory Haskins
On Sun, Apr 22, 2007 at 4:42 AM, in message [EMAIL PROTECTED], Avi Kivity [EMAIL PROTECTED] wrote: Gregory Haskins wrote: The current code is geared towards using a user- mode (A)PIC. This patch adds an irqdevice abstraction, and implements a userint model to handle the duties of the

[kvm-devel] unix lite

2007-04-23 Thread Omar Khan
hi, I am trying to run unix like operating system (mainly meant for educational purposes) on kvm called Unix Lite (http://www.unixlite.org/). It runs fine on qemu but on kvm it gives the unhandled vm exit 0x9. This is caused by the hardware task switch that is used in unix lite. The code

Re: [kvm-devel] [PATCH 3/5] KVM: Adds ability to preepmt an executing VCPU

2007-04-23 Thread Gregory Haskins
On Sun, Apr 22, 2007 at 4:50 AM, in message [EMAIL PROTECTED], Avi Kivity [EMAIL PROTECTED] wrote: Gregory Haskins wrote: /* + * Signal that we have transitioned back to host mode + */ +spin_lock_irqsave(vcpu- irq.lock, irq_flags); +vcpu- irq.guest_mode = 0; +

Re: [kvm-devel] [PATCH 4/5] KVM: Local-APIC interface cleanup

2007-04-23 Thread Gregory Haskins
On Sun, Apr 22, 2007 at 4:54 AM, in message [EMAIL PROTECTED], Avi Kivity [EMAIL PROTECTED] wrote: Gregory Haskins wrote: Adds an abstraction to the LAPIC logic so that we can later substitute it for an in- kernel model. This is overly abstracted. It's not like you can (on real

Re: [kvm-devel] [PATCH 5/5] KVM: Add support for in-kernel LAPIC model

2007-04-23 Thread Gregory Haskins
On Sun, Apr 22, 2007 at 5:04 AM, in message [EMAIL PROTECTED], Avi Kivity [EMAIL PROTECTED] wrote: Gregory Haskins wrote: Signed- off- by: Gregory Haskins [EMAIL PROTECTED] --- drivers/kvm/Makefile |2 drivers/kvm/kernint.c | 168 + drivers/kvm/kvm.h | 14

Re: [kvm-devel] kvm somehow exempt from frequency scaling?

2007-04-23 Thread David Abrahams
on Mon Apr 16 2007, David Abrahams dave-UB3wUj7V41K5azolltMz9laTQe2KTcn/-AT-public.gmane.org wrote: on Thu Apr 12 2007, David Abrahams dave-UB3wUj7V41K5azolltMz9laTQe2KTcn/-AT-public.gmane.org wrote: on Thu Apr 12 2007, Avi Kivity avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org wrote: