[kvm-devel] [PATCH 0/3] KVM: Miscellaneous stabilization fixes

2006-12-31 Thread Avi Kivity
A trio of fixes for miscellaneous problems, that don't affect usage under normal .configs and usage. However they do need fixing. -- error compiling committee.c: too many arguments to function - Take Surveys. Earn Cash.

[kvm-devel] [PATCH 1/3] KVM: Fix GFP_KERNEL alloc in atomic section bug

2006-12-31 Thread Avi Kivity
From: Ingo Molnar [EMAIL PROTECTED] KVM does kmalloc() in an atomic section while having preemption disabled via vcpu_load(). Fix this by moving the -*_msr setup from the vcpu_setup method to the vcpu_create method. (This is also a small speedup for setting up a vcpu, which can in theory be

[kvm-devel] [PATCH 2/3] KVM: Use raw_smp_processor_id() instead of smp_processor_id() where applicable

2006-12-31 Thread Avi Kivity
From: Ingo Molnar [EMAIL PROTECTED] Signed-off-by: Avi Kivity [EMAIL PROTECTED] Index: linux-2.6/drivers/kvm/vmx.c === --- linux-2.6.orig/drivers/kvm/vmx.c +++ linux-2.6/drivers/kvm/vmx.c @@ -116,7 +116,7 @@ static void

Re: [kvm-devel] cannot boot minix3

2006-12-31 Thread Dor Laor
Hi, I am using latest kvm release 8 with linux kernel 2.6.18.2-34-default. I am trying to run minix3 using following command line, /usr/local/kvm/bin/qemu -boot d -m 128 -hda ./minix_image -cdrom ./IDE-image-3.1.2a.iso After this it starts, but then suddenly it dies with following

[kvm-devel] [PATCH] KVM: Improve interrupt response

2006-12-31 Thread Avi Kivity
From: Dor Laor [EMAIL PROTECTED] The current interrupt injection mechanism might delay an interrupt under the following circumstances: - if injection fails because the guest is not interruptible (rflags.IF clear, or after a 'mov ss' or 'sti' instruction). Userspace can check rflags, but

[kvm-devel] [ANNOUNCE] kvm-9 release

2006-12-31 Thread Avi Kivity
Changes from kvm-8: - API documentation (James Jacobsson) - More stabilization fixes (Yoshimi Ichiyanagi, Ingo Molnar, Nguyen Anh Quynh) - Interactivity improvements (Dor Laor) http://kvm.sourceforge.net -- error compiling committee.c: too many arguments to function

[kvm-devel] [KVM][PATCH] smp_processor_id() and sleeping functions used in invalid context

2006-12-31 Thread Luca Tettamanti
Hello, I'm testing KVM on a Core2 CPU. I'm running kernel 2.6.20-git (pulled few hours ago), configured with SMP and PREEMPT. I'm hitting 2 different warnings: BUG: using smp_processor_id() in preemptible [0001] code: kvm/7726 caller is vmx_create_vcpu+0x9/0x2f [kvm_intel] [b01ccbc8]

Re: [kvm-devel] Solaris 10 U2 installation failure

2006-12-31 Thread Avi Kivity
Parag Warudkar wrote: [This was posted on LKML but I realized later it's best to post it here] Avi Kivity avi at argo.co.il writes: John Freighter wrote: Has anybody succeded running OpenSolaris under KVM virtualization? Before I download OS install DVD in vain... There

Re: [kvm-devel] [KVM][PATCH] smp_processor_id() and sleeping functions used in invalid context

2006-12-31 Thread Avi Kivity
Luca Tettamanti wrote: Hello, I'm testing KVM on a Core2 CPU. I'm running kernel 2.6.20-git (pulled few hours ago), configured with SMP and PREEMPT. I'm hitting 2 different warnings: BUG: using smp_processor_id() in preemptible [0001] code: kvm/7726 caller is vmx_create_vcpu+0x9/0x2f

Re: [kvm-devel] Solaris 10 U2 installation failure

2006-12-31 Thread Parag Warudkar
Avi Kivity [EMAIL PROTECTED] writes: Parag Warudkar wrote: I tried installing Solaris 10 U2 with Qemu/KVM-8 on -rc2 plus the latest 8 kernel side KVM patches. It appeared to work well until about 80% in the installation where it got stuck after this error is dmesg - vmwrite

Re: [kvm-devel] Solaris 10 U2 installation failure

2006-12-31 Thread Parag Warudkar
After letting it run for some time qemu aborted abruptly with this on console - unhandled vm exit: 0x9 rax fec1fc08 rbx 09db01b0 rcx 09db019c rdx 09db rsi 09db01b0 rdi 0014 rsp fec1fbc4 rbp fec1fbc4 r8 bff4d48cb7f45a48

Re: [kvm-devel] [PATCH 4/8] KVM: Implement a few system configuration msrs

2006-12-31 Thread Ingo Oeser
Hi, On Thursday, 28. December 2006 11:11, Avi Kivity wrote: Index: linux-2.6/drivers/kvm/svm.c === --- linux-2.6.orig/drivers/kvm/svm.c +++ linux-2.6/drivers/kvm/svm.c @@ -1068,6 +1068,9 @@ static int