[kvm-devel] Real-mode support. What's needed ?

2006-12-31 Thread James Jacobsson
I've gotten a fair bit on my device emulation code. The linux kernel is actually booting all the way to mounting the root FS right now. Currently I'm working on sorting out some bugs in the ATA irq handling, so there's definitely some progress. Thanks for your help, Avi and Dor. I wouldn't gotten t

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 emulate_on_interception

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 r9

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 - > > >

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

2006-12-31 Thread Luca
On 12/31/06, Avi Kivity <[EMAIL PROTECTED]> wrote: > 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 preemp

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 argo.co.il> writes: > > >> John Freighter wrote: >> >>> Has anybody succeded running OpenSolaris under KVM virtualization? >>> Before I download OS install DVD in vain... >>> >>>

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/0

[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] [] debug_smp_proces

[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] [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] [PATCH 3/3] KVM: Recover after an arch module load failure

2006-12-31 Thread Avi Kivity
From: Yoshimi Ichiyanagi <[EMAIL PROTECTED]> If we load the wrong arch module, it leaves behind kvm_arch_ops set, which prevents loading of the correct arch module later. Fix be not setting kvm_arch_ops until we're sure it's good. Signed-off-by: Yoshimi Ichiyanagi <[EMAIL PROTECTED]> Signed-off-

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

[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 vmcs_clea

[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 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. I

Re: [kvm-devel] cannot boot minix3

2006-12-31 Thread ( अमेय पाळंदे ) Ameya Palande
On 12/31/06, Dor Laor <[EMAIL PROTECTED]> wrote: > > > >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 > >