Re: [kvm-devel] APIC_TMCCT register read bug]

2007-10-17 Thread Dong, Eddie
[EMAIL PROTECTED] wrote: > On Mon, 2007-10-15 at 11:29 +0200, Avi Kivity wrote: >> Patch looks good, but I'm missing a signed-off-by: line. >> >> Eddie, can you also take a look? > > I split the patch in two. The first one fixes the host OS kernel > divide by zero problem. The second cleans up

[kvm-devel] 780K + American Physicians with full contact info

2007-10-17 Thread audrey
Fully Licensed Medical Doctors in the US 788,103 in total – 17,680 emails Lots of Medical Doctors in specialties like Orthopedics, Surgery, Radiology, Dermatology, Neurology, General Practice etc.. Sort by over a dozen different fields Specially reduced price: $322 *** Recieve the data

[kvm-devel] [PATCH] Fix Build on tip.

2007-10-17 Thread Zhang, Xiantao
>From c5c9ec8d090d553b4d5d00e7ba7fc2daddfb3d00 Mon Sep 17 00:00:00 2001 From: Zhang Xiantao <[EMAIL PROTECTED]> Date: Thu, 18 Oct 2007 10:31:07 +0800 Subject: [PATCH] Fix compile error on latest commit Signed-off-by: Zhang Xiantao <[EMAIL PROTECTED]> --- drivers/kvm/x86_emulate.c |1 + 1 files

[kvm-devel] build error

2007-10-17 Thread Zhao, Yunfeng
I meet compile error when build kvm against latest kvm commits. /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071018020114360/kvm-use rspace/BUILD/kernel/ioapic.o CC [M] /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071018020114360/kvm-use rspace/BUILD/kernel/preempt.o /workspace/ia32e/nig

Re: [kvm-devel] FW: [kvm-commits] KVM: Move interrupt injection out of interruptdisabled section

2007-10-17 Thread Dong, Eddie
>>> previous irq injection, next injection will be refused with IRQ >>> window enabled. This is because current implementation will inject >>> exception earlier than irq injection and vmx_intr_assist doesn;t >>> know if previous injected event is external irq (and thus >>> overwrite) or exception.

Re: [kvm-devel] [patch] kvmctl.c: allow custom memory setup.

2007-10-17 Thread Izik Eidus
Izik Eidus wrote: > Gerd Hoffmann wrote: >> Gerd Hoffmann wrote: >> >>> I've made kvm_create() optionally skip the memory setup, so I can >>> create >>> my own later on. That doesn't work though because creating the vcpu >>> fails then. >>> >> >> Ugh, vmx grabs last 4 pages from slot 0 (lo

Re: [kvm-devel] [patch] kvmctl.c: allow custom memory setup.

2007-10-17 Thread Izik Eidus
Gerd Hoffmann wrote: > Gerd Hoffmann wrote: > >> I've made kvm_create() optionally skip the memory setup, so I can create >> my own later on. That doesn't work though because creating the vcpu >> fails then. >> > > Ugh, vmx grabs last 4 pages from slot 0 (looks like for real mode > emulati

[kvm-devel] [PATCH] Fix top level qemu config for cross compile

2007-10-17 Thread Jerone Young
Qemu is interpreting --cross-prefix & cpu as one argument. This of course yeilds an error. This fixes the error. Signed-off-by: Jerone Young <[EMAIL PROTECTED]> diff --git a/configure b/configure --- a/configure +++ b/configure @@ -124,7 +124,8 @@ fi ${disable_gcc_check:+"--disable-gcc-chec

[kvm-devel] [PATCH] KVM: Access registers for instructions with ModR/M byte and Mod = 3

2007-10-17 Thread Aurelien Jarno
On Wed, Oct 17, 2007 at 06:23:41PM +0200, Aurelien Jarno wrote: > >> The 0F 01 instruction is then correctly emulated, but another of this > > Oops s/0F 01/invlpg/ > >> group is probably not, as the patch clearly fix the problem on AMD. > > > > I confirm the problem. SVM does not virtualize smsw

Re: [kvm-devel] [Patch] (big) real mode emulation - eflags bits manipulating instruction

2007-10-17 Thread Kamble, Nitin A
> Applied, thanks. We'll have to manage the interrupt window during > emulation like we do while running native, so there's more work > here. I totally agree. So far I don't see any issue ignoring that aspect, so I think no point in holding emulation patch at my end. More can be added to the same

Re: [kvm-devel] APIC_TMCCT register read bug]

2007-10-17 Thread Kevin Pedretti
On Mon, 2007-10-15 at 11:29 +0200, Avi Kivity wrote: > Patch looks good, but I'm missing a signed-off-by: line. > > Eddie, can you also take a look? I split the patch in two. The first one fixes the host OS kernel divide by zero problem. The second cleans up apic_get_tmcct() a bit. Both now incl

Re: [kvm-devel] [PATCH 0/2] add flags for conditional compilation of qemu dependencies

2007-10-17 Thread Avi Kivity
Carlo Marcelo Arenas Belon wrote: > This series adds options to kvm's configure that match the ones used by qemu > to conditionally enable or disable options that alter its runtime dependencies > and functionality, like for example, support for alsa or TLS encrypted vnc > sessions. > > Applied

Re: [kvm-devel] KVM: Fix the invlpg instruction emulation on AMD64

2007-10-17 Thread Aurelien Jarno
Aurelien Jarno a écrit : > Aurelien Jarno a écrit : >> Avi Kivity a écrit : >>> But invlpg is defined as having reg == 7! The manual says: >>> >>> 0F 01/7 INVLPG m >>> >>> where "/7" is the notation for "reg in the mod reg r/m byte: >>> >>> " /digit — A digit between 0 and 7 indicates that the ModR

[kvm-devel] [PATCH 2/2] vnc-tls configure flag

2007-10-17 Thread Carlo Marcelo Arenas Belon
Add a --disable-vnc-tls option so that support for TLS authentication for the VNC server can be conditionally disabled. This makes the dependency to gnutls added by the new qemu conditional and explicit. Signed-off-by: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> --- configure |6 ++ 1

[kvm-devel] [PATCH 1/2] alsa configure option

2007-10-17 Thread Carlo Marcelo Arenas Belon
Add an --enable-alsa option to conditionally add support for alsa so that QEMU_AUDIO_DRV=alsa is supported. This makes the dependency to alsa conditional and explicit. Signed-off-by: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> --- configure |7 ++- 1 files changed, 6 insertions(+), 1

[kvm-devel] [PATCH 0/2] add flags for conditional compilation of qemu dependencies

2007-10-17 Thread Carlo Marcelo Arenas Belon
This series adds options to kvm's configure that match the ones used by qemu to conditionally enable or disable options that alter its runtime dependencies and functionality, like for example, support for alsa or TLS encrypted vnc sessions. Carlo --

Re: [kvm-devel] [PATCH] [v5] Add cross compile top level configure script

2007-10-17 Thread Avi Kivity
Jerone Young wrote: > This patch takes feedback from Anthony Liguouri. > - remove --cc option added in v4 of patch (keep old behavior) > - do not specify cc= everytime on the qemu configuration line, this > allows qemu to autodetect gcc 3.x > > This simplifies the patch more. While preserving behav

Re: [kvm-devel] KVM: Fix the invlpg instruction emulation on AMD64

2007-10-17 Thread Aurelien Jarno
Aurelien Jarno a écrit : > Avi Kivity a écrit : >> >> But invlpg is defined as having reg == 7! The manual says: >> >> 0F 01/7 INVLPG m >> >> where "/7" is the notation for "reg in the mod reg r/m byte: >> >> " /digit — A digit between 0 and 7 indicates that the ModR/M byte of the >> instruction us

Re: [kvm-devel] KVM: Fix the invlpg instruction emulation on AMD64

2007-10-17 Thread Aurelien Jarno
Aurelien Jarno a écrit : > Avi Kivity a écrit : >> >> But invlpg is defined as having reg == 7! The manual says: >> >> 0F 01/7 INVLPG m >> >> where "/7" is the notation for "reg in the mod reg r/m byte: >> >> " /digit — A digit between 0 and 7 indicates that the ModR/M byte of the >> instruction us

Re: [kvm-devel] KVM: Fix the invlpg instruction emulation on AMD64

2007-10-17 Thread Aurelien Jarno
Aurelien Jarno a écrit : > Avi Kivity a écrit : >> >> But invlpg is defined as having reg == 7! The manual says: >> >> 0F 01/7 INVLPG m >> >> where "/7" is the notation for "reg in the mod reg r/m byte: >> >> " /digit — A digit between 0 and 7 indicates that the ModR/M byte of the >> instruction us

Re: [kvm-devel] KVM: Fix the invlpg instruction emulation on AMD64

2007-10-17 Thread Aurelien Jarno
Aurelien Jarno a écrit : > Avi Kivity a écrit : >> >> But invlpg is defined as having reg == 7! The manual says: >> >> 0F 01/7 INVLPG m >> >> where "/7" is the notation for "reg in the mod reg r/m byte: >> >> " /digit — A digit between 0 and 7 indicates that the ModR/M byte of the >> instruction us

Re: [kvm-devel] KVM: Fix the invlpg instruction emulation on AMD64

2007-10-17 Thread Aurelien Jarno
Avi Kivity a écrit : > Aurelien Jarno wrote: diff --git a/drivers/kvm/x86_emulate.c b/drivers/kvm/x86_emulate.c index e974ace..06e183b 100644 --- a/drivers/kvm/x86_emulate.c +++ b/drivers/kvm/x86_emulate.c @@ -825,12 +825,12 @@ modrm_done: c->src.bytes = 4;

Re: [kvm-devel] FW: [kvm-commits] KVM: Move interrupt injection out of interruptdisabled section

2007-10-17 Thread Avi Kivity
Dong, Eddie wrote: > Wrong mailing list. > Resend :-( > > (and here's a copy of my reply if someone is interested) > Dong, Eddie wrote: > >> Avi: >> This patch may be questionable at least for current VMX. >> If VM_ENTRY_INTR_INFO_FIELD is already set valid by >> previous irq inje

Re: [kvm-devel] KVM: Fix the invlpg instruction emulation on AMD64

2007-10-17 Thread Avi Kivity
Aurelien Jarno wrote: > Aurelien Jarno a écrit : > >> Avi Kivity a écrit : >> >>> Aurelien Jarno wrote: >>> On Tue, Oct 16, 2007 at 12:12:18PM +0200, Avi Kivity wrote: > Aurelien Jarno wrote: > > >> I have marked the invlpg i

Re: [kvm-devel] KVM: Fix the invlpg instruction emulation on AMD64

2007-10-17 Thread Avi Kivity
Aurelien Jarno wrote: >>> diff --git a/drivers/kvm/x86_emulate.c b/drivers/kvm/x86_emulate.c >>> index e974ace..06e183b 100644 >>> --- a/drivers/kvm/x86_emulate.c >>> +++ b/drivers/kvm/x86_emulate.c >>> @@ -825,12 +825,12 @@ modrm_done: >>> c->src.bytes = 4; >>> goto srcmem_

Re: [kvm-devel] KVM: Fix the invlpg instruction emulation on AMD64

2007-10-17 Thread Aurelien Jarno
Aurelien Jarno a écrit : > Avi Kivity a écrit : >> Aurelien Jarno wrote: >>> On Tue, Oct 16, 2007 at 12:12:18PM +0200, Avi Kivity wrote: >>> Aurelien Jarno wrote: > I have marked the invlpg instruction the same way as it is done in > kvm-37 to know what happens. I get eith

Re: [kvm-devel] KVM: Fix the invlpg instruction emulation on AMD64

2007-10-17 Thread Aurelien Jarno
Avi Kivity a écrit : > Aurelien Jarno wrote: >> On Tue, Oct 16, 2007 at 12:12:18PM +0200, Avi Kivity wrote: >> >>> Aurelien Jarno wrote: >>> I have marked the invlpg instruction the same way as it is done in kvm-37 to know what happens. I get either modrm_reg = 4 or = 6 when the >

Re: [kvm-devel] KVM: Fix the invlpg instruction emulation on AMD64

2007-10-17 Thread Avi Kivity
Aurelien Jarno wrote: > On Tue, Oct 16, 2007 at 12:12:18PM +0200, Avi Kivity wrote: > >> Aurelien Jarno wrote: >> >>> I have marked the invlpg instruction the same way as it is done in >>> kvm-37 to know what happens. I get either modrm_reg = 4 or = 6 when the >>> invlpg instruction is exec

Re: [kvm-devel] [RFC] modular dependencies for kvm's qemu

2007-10-17 Thread Carlo Marcelo Arenas Belon
On Tue, Oct 16, 2007 at 10:36:03AM -0500, Carlo Marcelo Arenas Belon wrote: > On Tue, Oct 16, 2007 at 04:20:37PM +0200, Avi Kivity wrote: > > Carlo Marcelo Arenas Belon wrote: > > > > > >>It seems like rather > > >>a bad idea to suddenly switch the configure script defaults in the way > > >>you

[kvm-devel] Message from Tina

2007-10-17 Thread Miss Tina Lamina
Dear miss/Sir I am writting this letter with due respect and heartful of tears since we have not known or meet ourselves previously I am asking for your assistance after I have gone through a webpage that speaks good of you. I want to find out if it's possible for you to deal with individua

Re: [kvm-devel] KVM: Fix the invlpg instruction emulation on AMD64

2007-10-17 Thread Aurelien Jarno
On Tue, Oct 16, 2007 at 12:12:18PM +0200, Avi Kivity wrote: > Aurelien Jarno wrote: > > > >I have marked the invlpg instruction the same way as it is done in > >kvm-37 to know what happens. I get either modrm_reg = 4 or = 6 when the > >invlpg instruction is executed, but never = 7. > > > > > > T

Re: [kvm-devel] [Patch] (big) real mode emulation - eflags bits manipulating instruction

2007-10-17 Thread Avi Kivity
Nitin A Kamble wrote: > Hi Avi, > > Attached is the patch implementing these eflags manipulating > instructions: > cmc, clc, cli, sti > > opcodes: 0xf5, 0xf8, 0xfa, 0xfb > Applied, thanks. We'll have to manage the interrupt window during emulation like we do while running nativ

Re: [kvm-devel] Question about EMULATE_DO_MMIO

2007-10-17 Thread Avi Kivity
Nitin A Kamble wrote: > On Tue, 2007-10-16 at 13:12 -0700, Avi Kivity wrote: > > >> Why do you think it is better? I would have thought that vm86 is much >> faster. >> >> > I am seeing execution going to strange places in vm86 mode. That issue > is not coming in the emulation. > > That

[kvm-devel] [patch] kvmctl.c: allow custom memory setup.

2007-10-17 Thread Gerd Hoffmann
Gerd Hoffmann wrote: > I've made kvm_create() optionally skip the memory setup, so I can create > my own later on. That doesn't work though because creating the vcpu > fails then. Ugh, vmx grabs last 4 pages from slot 0 (looks like for real mode emulation). Thus memory must exist before creating

[kvm-devel] FW: [kvm-commits] KVM: Move interrupt injection out of interruptdisabled section

2007-10-17 Thread Dong, Eddie
Wrong mailing list. Resend :-( Dong, Eddie wrote: > Avi: > This patch may be questionable at least for current VMX. > If VM_ENTRY_INTR_INFO_FIELD is already set valid by > previous irq injection, next injection will be refused with IRQ window > enabled. This is because current implemen

Re: [kvm-devel] OpenBSD 4.1 failes with kvm-45

2007-10-17 Thread Oliver Kowalke
Hi, with the new kernel 2.6.23.1 OpenBSD 4.1 works. Becuase you wrote I should use the nwe modules instead - I didn't got kernel modules from kvm-46 taf file. Do I've to download another archive for the kernel modules? regards, Oliver ---

Re: [kvm-devel] [PATCH 2/2] make the injection of interrupts run atsleepable mode.

2007-10-17 Thread Izik Eidus
Dong, Eddie wrote: > Not quit understand the following code. If we just set > a vcpu request bits w/o real irq injection, we can't resume > to guest? Othrewise, the guest is in interruptable state and can > see irq pending, but it doesn't get the interrupt. > > Something missing? > thx,eddie > >