[PATCH v2] core, x86: Add user return notifiers

2009-09-19 Thread Avi Kivity
Add a general per-cpu notifier that is called whenever the kernel is about to return to userspace. The notifier uses a thread_info flag and existing checks, so there is no impact on user return or context switch fast paths. Signed-off-by: Avi Kivity a...@redhat.com --- v2: include new files in

Re: [PATCH 1/4] core, x86: Add user return notifiers

2009-09-19 Thread Avi Kivity
On 09/18/2009 09:14 PM, H. Peter Anvin wrote: On 09/16/2009 05:45 AM, Avi Kivity wrote: Add a general per-cpu notifier that is called whenever the kernel is about to return to userspace. The notifier uses a thread_info flag and existing checks, so there is no impact on user return or

[PATCH] x86: Pick up local arch trace header (was: kvm-kmod 88 or git not working with 2.6.31)

2009-09-19 Thread Jan Kiszka
Aidan Marks wrote: Hello I am trying to compile kvm-kmod-devel-88.tar.gz with 2.6.31. Seems there is a missing header file. vger kvm-kmod-devel-88 # make make -C /lib/modules/2.6.31-gentoo/build M=`pwd` \ LINUXINCLUDE=-I`pwd`/include -Iinclude \

Re: [PATCH 01/24] Don't disable werror unconditionally

2009-09-19 Thread Avi Kivity
On 09/18/2009 10:02 PM, Marcelo Tosatti wrote: On Fri, Sep 18, 2009 at 01:41:10PM +0200, Juan Quintela wrote: Signed-off-by: Juan Quintelaquint...@redhat.com --- configure |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/configure b/configure index

Re: [PATCH 01/24] Don't disable werror unconditionally

2009-09-19 Thread Jan Kiszka
Avi Kivity wrote: On 09/18/2009 10:02 PM, Marcelo Tosatti wrote: On Fri, Sep 18, 2009 at 01:41:10PM +0200, Juan Quintela wrote: Signed-off-by: Juan Quintelaquint...@redhat.com --- configure |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/configure

Re: eepro100.c

2009-09-19 Thread Jan Kiszka
Michal Filka wrote: Hi, I have question on i82557b emulation in kvm. I have run a proprietary operating system (Pharlap OS) in kvm. Part of the job has been porting driver for i8255x. During the job I discovered that kvm's emulation doesn't support a RNR interrupt (it is disabled in the

Re: [PATCH 01/24] Don't disable werror unconditionally

2009-09-19 Thread Juan Quintela
Jan Kiszka jan.kis...@web.de wrote: Avi Kivity wrote: On 09/18/2009 10:02 PM, Marcelo Tosatti wrote: On Fri, Sep 18, 2009 at 01:41:10PM +0200, Juan Quintela wrote: Signed-off-by: Juan Quintelaquint...@redhat.com --- configure |2 -- 1 files changed, 0 insertions(+), 2

Re: eepro100.c

2009-09-19 Thread Stefan Weil
Jan Kiszka schrieb: Michal Filka wrote: Hi, I have question on i82557b emulation in kvm. I have run a proprietary operating system (Pharlap OS) in kvm. Part of the job has been porting driver for i8255x. During the job I discovered that kvm's emulation doesn't support a RNR interrupt (it

[PATCH 0/2] make --disable-kvm to compile again

2009-09-19 Thread Juan Quintela
There were a couple of missing #ifdef KVM_* from last merge. ./configure --disable-kvm compiles and boots again. It compiles, it boot, it is perfect!!! (*) Later, Juan. *: No, that sentence is not mine :) Juan Quintela (2): apic: Variable only used when CAP_IRQCHIP is defined i8259:

[PATCH 1/2] apic: Variable only used when CAP_IRQCHIP is defined

2009-09-19 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com --- hw/apic.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/apic.c b/hw/apic.c index d92d86c..908d293 100644 --- a/hw/apic.c +++ b/hw/apic.c @@ -967,9 +967,9 @@ void qemu_kvm_load_lapic(CPUState *env) static void

[PATCH 2/2] i8259: kvm_* functions only defined when KVM_CAP_IRQCHIP devined

2009-09-19 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com --- hw/i8259.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/i8259.c b/hw/i8259.c index aaec6d8..3b98bab 100644 --- a/hw/i8259.c +++ b/hw/i8259.c @@ -464,18 +464,18 @@ static uint32_t elcr_ioport_read(void *opaque,

Re: [PATCH 0/2] make --disable-kvm to compile again

2009-09-19 Thread Jan Kiszka
Juan Quintela wrote: There were a couple of missing #ifdef KVM_* from last merge. ./configure --disable-kvm compiles and boots again. It compiles, it boot, it is perfect!!! (*) Well, almost (try to build all targets): :p You also have to move vga_dirty_log_start/stop back to vga.c where

Re: eepro100.c

2009-09-19 Thread Stefan Weil
Stefan Weil schrieb: Jan Kiszka schrieb: Michal Filka wrote: Hi, I have question on i82557b emulation in kvm. I have run a proprietary operating system (Pharlap OS) in kvm. Part of the job has been porting driver for i8255x. During the job I discovered that kvm's emulation doesn't support

Re: [PATCH] x86: Pick up local arch trace header

2009-09-19 Thread Aidan Marks
Hi Jan thanks, applied your patch, getting further, but now missing mmutrace.h... vger kvm-kmod-devel-88 # make make -C /lib/modules/2.6.31-gentoo/build M=`pwd` \ LINUXINCLUDE=-I`pwd`/include -Iinclude \ -Iarch/x86/include -I`pwd`/include-compat \

buildbot failure in qemu-kvm on default_x86_64_out_of_tree

2009-09-19 Thread qemu-kvm
The Buildbot has detected a new failure of default_x86_64_out_of_tree on qemu-kvm. Full details are available at: http://buildbot.b1-systems.de/qemu-kvm/builders/default_x86_64_out_of_tree/builds/12 Buildbot URL: http://buildbot.b1-systems.de/qemu-kvm/ Buildslave for this Build: b1_qemu_kvm_1