Re: [kvm-devel] [ofa-general] Re: [patch 5/6] mmu_notifier: Support for drivers with revers maps (f.e. for XPmem)

2008-02-26 Thread Nick Piggin
On Tuesday 26 February 2008 18:21, Gleb Natapov wrote: On Tue, Feb 26, 2008 at 05:11:32PM +1100, Nick Piggin wrote: You are missing one point here. The MPI specifications that have been out there for decades do not require the process use a library for allocating the buffer. I realize

Re: [kvm-devel] still seeing network freezes with rtl8139 nic

2008-02-26 Thread Avi Kivity
david ahern wrote: Almost 7 hours and the uniprocessor case is still chugging along. How long does it usually take to hang? How do I go about reproducing this? apachebench (host) against httpd (guest) doesn't seem to trigger it. -- error compiling committee.c: too many arguments to

Re: [kvm-devel] Windows XP activation regression in KVM-60

2008-02-26 Thread Pelle
I THINK this is due to the fact that kvm-60+ uses a realtek nic as default and not the old ne2000. You could try specifying -nic,model=ne2k_pci I expected this bug to happen on my virtual windows too but it never happened. Adam Majer wrote: Hi, Original bug was submitted at

[kvm-devel] KVM Test result, KVM62-RC2

2008-02-26 Thread Zhao, Yunfeng
Hi, all, This is today's KVM test result against KVM62-RC2. Two old issues fixed: 1. fc5/fc6/rhel5u1 no-acpi up guests can't boot on pae host https://sourceforge.net/tracker/index.php?func=detailaid=1901208group_ id=180599atid=893831 2. Cannot boot 32bit smp RHEL5.1 guest with nic on 64bit host

Re: [kvm-devel] [ofa-general] Re: [patch 5/6] mmu_notifier: Support for drivers with revers maps (f.e. for XPmem)

2008-02-26 Thread Gleb Natapov
On Tue, Feb 26, 2008 at 07:52:41PM +1100, Nick Piggin wrote: On Tuesday 26 February 2008 18:21, Gleb Natapov wrote: On Tue, Feb 26, 2008 at 05:11:32PM +1100, Nick Piggin wrote: You are missing one point here. The MPI specifications that have been out there for decades do not require

Re: [kvm-devel] KVM Test result, KVM62-RC2

2008-02-26 Thread Yang, Sheng
On Tuesday 26 February 2008 17:20:02 Zhao, Yunfeng wrote: Hi, all, This is today's KVM test result against KVM62-RC2. Two old issues fixed: 1. fc5/fc6/rhel5u1 no-acpi up guests can't boot on pae host https://sourceforge.net/tracker/index.php?func=detailaid=1901208group_

Re: [kvm-devel] KVM Test result, KVM62-RC2

2008-02-26 Thread Avi Kivity
Yang, Sheng wrote: One new issue: 1. qcow based smp linux guests likely hang https://sourceforge.net/tracker/index.php?func=detailaid=1901980group_ id=180599atid=893831 We found the issue while booting qcow based rhel5.1 smp guest. It likely hangs at the first booting. If using raw disk

Re: [kvm-devel] [ofa-general] Re: [patch 5/6] mmu_notifier: Support for drivers with revers maps (f.e. for XPmem)

2008-02-26 Thread KOSAKI Motohiro
Can you change the spec? Not really. It will break all existing codes. I meant as in eg. submit changes to MPI-3 MPI spec tries to be backward compatible. And MPI-2 spec is 10 years old, but MPI-1 is still in a wider use. HPC is moving fast in terms of HW technology, but slow in

[kvm-devel] Performance benefits of kqemu?

2008-02-26 Thread Colin Adams
This weekend I was doing some compiling and silimar work on FreeBDS 6.3 running under Fedora 8 using KVM. The performance overhead compared with running native on the same machine was very high - from at least 15x to maybe as much as 25x. I understtod that near-native performance was possible.

Re: [kvm-devel] The SMP RHEL 5.1 PAE guest can't boot up issue

2008-02-26 Thread Avi Kivity
Dong, Eddie wrote: I don't know if the patch was still needed now, since it was posted long ago(I don't know which issue it solved). I'd like to post a revert patch if necessary. I believe the patch is still necessary, since we still need to guarantee that a vcpu's tsc is

[kvm-devel] [PATCH] KVM: detect if VCPU triple faults

2008-02-26 Thread Joerg Roedel
In the current inject_page_fault path KVM only checks if there is another PF pending and injects a DF then. But it has to check for a pendig DF too to detect a shutdown condition in the VCPU. If this is not detected the VCPU goes to a PF - DF - PF loop when it should triple fault. This patch

Re: [kvm-devel] KVM Test result, KVM62-RC2

2008-02-26 Thread Farkas Levente
Zhao, Yunfeng wrote: Hi, all, This is today's KVM test result against KVM62-RC2. Two old issues fixed: 1. fc5/fc6/rhel5u1 no-acpi up guests can't boot on pae host https://sourceforge.net/tracker/index.php?func=detailaid=1901208group_ id=180599atid=893831 2. Cannot boot 32bit smp

Re: [kvm-devel] KVM Test result, KVM62-RC2

2008-02-26 Thread Izik Eidus
On Tue, 2008-02-26 at 12:58 +0100, Farkas Levente wrote: Zhao, Yunfeng wrote: Hi, all, This is today's KVM test result against KVM62-RC2. Two old issues fixed: 1. fc5/fc6/rhel5u1 no-acpi up guests can't boot on pae host

Re: [kvm-devel] [ofa-general] Re: [patch 5/6] mmu_notifier: Support for drivers with revers maps (f.e. for XPmem)

2008-02-26 Thread Robin Holt
On Tue, Feb 26, 2008 at 07:52:41PM +1100, Nick Piggin wrote: On Tuesday 26 February 2008 18:21, Gleb Natapov wrote: On Tue, Feb 26, 2008 at 05:11:32PM +1100, Nick Piggin wrote: You are missing one point here. The MPI specifications that have been out there for decades do not require

Re: [kvm-devel] [patch 5/6] mmu_notifier: Support for drivers with revers maps (f.e. for XPmem)

2008-02-26 Thread Robin Holt
That is it. That is all our allowed interaction with the users process. OK, when you said something along the lines of the MPT library has control of the comm buffer, then I assumed it was an area of virtual memory which is set up as part of initialization, rather than during runtime. I

Re: [kvm-devel] [PATCH] KVM: detect if VCPU triple faults

2008-02-26 Thread Avi Kivity
Joerg Roedel wrote: In the current inject_page_fault path KVM only checks if there is another PF pending and injects a DF then. But it has to check for a pendig DF too to detect a shutdown condition in the VCPU. If this is not detected the VCPU goes to a PF - DF - PF loop when it should triple

Re: [kvm-devel] KVM Test result, KVM62-RC2

2008-02-26 Thread Farkas Levente
Izik Eidus wrote: On Tue, 2008-02-26 at 12:58 +0100, Farkas Levente wrote: Zhao, Yunfeng wrote: Hi, all, This is today's KVM test result against KVM62-RC2. Two old issues fixed: 1. fc5/fc6/rhel5u1 no-acpi up guests can't boot on pae host

Re: [kvm-devel] KVM Test result, KVM62-RC2

2008-02-26 Thread Farkas Levente
Farkas Levente wrote: Izik Eidus wrote: On Tue, 2008-02-26 at 12:58 +0100, Farkas Levente wrote: Zhao, Yunfeng wrote: Hi, all, This is today's KVM test result against KVM62-RC2. Two old issues fixed: 1. fc5/fc6/rhel5u1 no-acpi up guests can't boot on pae host

Re: [kvm-devel] still seeing network freezes with rtl8139 nic

2008-02-26 Thread david ahern
Usually within a few hours, sometimes within 30 minutes. Load averages as computed by sysstat in the nightly sar files: rxpck/s txpck/s rxbyt/s txbyt/s eth0975.18 1188.34 82044.06 171655.38 Interrupts come in at 1830/sec for eth0, 250/sec for the timer and 20/sec or ide0.

Re: [kvm-devel] still seeing network freezes with rtl8139 nic

2008-02-26 Thread Avi Kivity
Avi Kivity wrote: david ahern wrote: Almost 7 hours and the uniprocessor case is still chugging along. How long does it usually take to hang? How do I go about reproducing this? apachebench (host) against httpd (guest) doesn't seem to trigger it. ab (on host) against httpd (on

Re: [kvm-devel] still seeing network freezes with rtl8139 nic

2008-02-26 Thread david ahern
I noted in my original post that if I increase the weight parameter in the driver to have it pull more packets on each poll before taking it break then it takes longer to freeze. I have looked at a newer version of the 8139cp driver. Very few changes to the poll function; most of them seem to be

[kvm-devel] [ANNOUNCE] kvm-62 release

2008-02-26 Thread Avi Kivity
Fixes the longstanding RHEL 5 i386 smp boot problem as well as the recent Intel Core regression. Large page support improves performance for dedicated virtualization hosts, while vmware vga and more std-vga resolutions should improve the home user experience. Changes from kvm-61: - fix oops

Re: [kvm-devel] still seeing network freezes with rtl8139 nic

2008-02-26 Thread Avi Kivity
david ahern wrote: Usually within a few hours, sometimes within 30 minutes. Load averages as computed by sysstat in the nightly sar files: rxpck/s txpck/s rxbyt/s txbyt/s eth0975.18 1188.34 82044.06 171655.38 Interrupts come in at 1830/sec for eth0, 250/sec for the

Re: [kvm-devel] [ANNOUNCE] kvm-62 release

2008-02-26 Thread Haydn Solomon
Love the new high screen resolution as can now run in full screen mode with good experience. Great work! On Tue, Feb 26, 2008 at 7:02 AM, Avi Kivity [EMAIL PROTECTED] wrote: Fixes the longstanding RHEL 5 i386 smp boot problem as well as the recent Intel Core regression. Large page support

Re: [kvm-devel] [PATCH] KVM: detect if VCPU triple faults

2008-02-26 Thread Joerg Roedel
On Tue, Feb 26, 2008 at 03:02:31PM +0200, Avi Kivity wrote: Joerg Roedel wrote: In the current inject_page_fault path KVM only checks if there is another PF pending and injects a DF then. But it has to check for a pendig DF too to detect a shutdown condition in the VCPU. If this is not

[kvm-devel] [PATCH] KVM: detect if VCPU triple faults

2008-02-26 Thread Joerg Roedel
In the current inject_page_fault path KVM only checks if there is another PF pending and injects a DF then. But it has to check for a pendig DF too to detect a shutdown condition in the VCPU. If this is not detected the VCPU goes to a PF - DF - PF loop when it should triple fault. This patch

Re: [kvm-devel] [PATCH] KVM: detect if VCPU triple faults

2008-02-26 Thread Avi Kivity
Joerg Roedel wrote: In the current inject_page_fault path KVM only checks if there is another PF pending and injects a DF then. But it has to check for a pendig DF too to detect a shutdown condition in the VCPU. If this is not detected the VCPU goes to a PF - DF - PF loop when it should triple

[kvm-devel] [PATCH] Fix PowerPC Qemu CPU initilization when using target-ppc/fake-exec.c

2008-02-26 Thread Jerone Young
# HG changeset patch # User Jerone Young [EMAIL PROTECTED] # Date 1204046245 21600 # Branch merge # Node ID 1980deb2bddff30c2f798d33937759a7ce91c242 # Parent e1260182b60d6d6716870c3bff82f503fad868fb Fix PowerPC Qemu CPU initilization when using target-ppc/fake-exec.c Signed-off-by: Jerone Young

Re: [kvm-devel] Top level kvm-userspace directory getting crowded ... need new dir for qemu dependencies

2008-02-26 Thread Jerone Young
On Mon, 2008-02-25 at 11:00 +0200, Avi Kivity wrote: Jerone Young wrote: The top level directory of kvm-userspace is starting to get a little crowded as we start to bring in more external dependencies. Perhaps we can create a folder tools and move directories: bios extboot vgabios

Re: [kvm-devel] Windows XP activation regression in KVM-60

2008-02-26 Thread Adam Majer
Pelle wrote: I THINK this is due to the fact that kvm-60+ uses a realtek nic as default and not the old ne2000. You could try specifying -nic,model=ne2k_pci Yes, this is *part* of the solution. A clean install that was activated on some old KVM, had some software installed on more recent one

[kvm-devel] [ kvm-Bugs-1902416 ] After upgrade to kvm 60 release 2.fc8 problem with XP image

2008-02-26 Thread SourceForge.net
Bugs item #1902416, was opened at 2008-02-26 10:40 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=1902416group_id=180599 Please note that this message will contain a full copy of

Re: [kvm-devel] [kvm-ppc-devel] [PATCH] Fix PowerPC Qemu CPU initilization when using target-ppc/fake-exec.c

2008-02-26 Thread Hollis Blanchard
Acked-by: Hollis Blanchard [EMAIL PROTECTED] Avi, please apply. -- Hollis Blanchard IBM Linux Technology Center - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.

[kvm-devel] [PATCH 0/15] acpi processor hotplug

2008-02-26 Thread Glauber Costa
Hi, I'm resending the series with avi's few comments merged, and a couple of others on my own: * _STA returns 0xF instead of 0x1. According to the specification, it means that the device, besides present, is also functional, enabled, and a couple of other cool things. * gpe_base and

[kvm-devel] [PATCH 2/15] mark extra cpus as present

2008-02-26 Thread Glauber Costa
Mark cpus over smp_cpus as present, but disable. The OS can then recognize it and make room for future hotplug Signed-off-by: Glauber Costa [EMAIL PROTECTED] --- bios/rombios.h |2 ++ bios/rombios32.c | 21 + 2 files changed, 15 insertions(+), 8 deletions(-) diff

[kvm-devel] [PATCH 1/15] Make a GPE register block be acessible.

2008-02-26 Thread Glauber Costa
gpe is acessible when its address listed by BIOS is !0. This patch makes gpe blk 0 available, and 4 bytes in length Signed-off-by: Glauber Costa [EMAIL PROTECTED] --- bios/rombios32.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/bios/rombios32.c b/bios/rombios32.c

[kvm-devel] [PATCH 4/15] mark processors as presents

2008-02-26 Thread Glauber Costa
mark processors as present through the _STA method Signed-off-by: Glauber Costa [EMAIL PROTECTED] --- bios/acpi-dsdt.dsl | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/bios/acpi-dsdt.dsl b/bios/acpi-dsdt.dsl index e900795..244e906 100755 ---

[kvm-devel] [PATCH 3/15] introduce cpu_set to qemu monitor

2008-02-26 Thread Glauber Costa
in this patch, cpu_set is introduced to qemu monitor semantics is : cpu_set x online|offline. it will then tell the acpi backend to signal cpu x. Signed-off-by: Glauber Costa [EMAIL PROTECTED] --- qemu/hw/acpi.c |4 qemu/monitor.c | 16 qemu/sysemu.h |3 +++ 3

[kvm-devel] [PATCH 6/15] provide operation region for pio to the gpes

2008-02-26 Thread Glauber Costa
Signed-off-by: Glauber Costa [EMAIL PROTECTED] --- bios/acpi-dsdt.dsl |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/bios/acpi-dsdt.dsl b/bios/acpi-dsdt.dsl index 392d402..1dba157 100755 --- a/bios/acpi-dsdt.dsl +++ b/bios/acpi-dsdt.dsl @@ -27,6 +27,13 @@

[kvm-devel] [PATCH 5/15] provide gpe _L0x methods

2008-02-26 Thread Glauber Costa
provide methods for gpe blk 0, even though they do nothing atm Signed-off-by: Glauber Costa [EMAIL PROTECTED] --- bios/acpi-dsdt.dsl | 51 +++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/bios/acpi-dsdt.dsl b/bios/acpi-dsdt.dsl

[kvm-devel] [PATCH 8/15] isolate cpu initialization function in hw/pc.c

2008-02-26 Thread Glauber Costa
This patch wraps up the piece of code in hw/pc.c that actually allocates and initializates a cpu. After that, plan is to be able to start it later on. Signed-off-by: Glauber Costa [EMAIL PROTECTED] --- qemu/hw/pc.c | 40 +++- qemu/hw/pc.h |1 + 2 files

[kvm-devel] [PATCH 7/15] implement method _L00 for GPE0

2008-02-26 Thread Glauber Costa
This corresponds to the cpu hotplug functionality Signed-off-by: Glauber Costa [EMAIL PROTECTED] --- bios/acpi-dsdt.dsl | 114 1 files changed, 114 insertions(+), 0 deletions(-) diff --git a/bios/acpi-dsdt.dsl b/bios/acpi-dsdt.dsl index

[kvm-devel] [PATCH 9/15] initialize hot add system.

2008-02-26 Thread Glauber Costa
Register the pios, and grab cpu_model for future usage. Signed-off-by: Glauber Costa [EMAIL PROTECTED] --- qemu/hw/acpi.c | 34 ++ qemu/hw/pc.c |1 + qemu/sysemu.h |1 + 3 files changed, 36 insertions(+), 0 deletions(-) diff --git a/qemu/hw/acpi.c

[kvm-devel] [PATCH 11/15] manipulate the gpe bits and send sci up the os.

2008-02-26 Thread Glauber Costa
Signed-off-by: Glauber Costa [EMAIL PROTECTED] --- qemu/hw/acpi.c | 42 ++ 1 files changed, 42 insertions(+), 0 deletions(-) diff --git a/qemu/hw/acpi.c b/qemu/hw/acpi.c index 7340f15..5a6d1a8 100644 --- a/qemu/hw/acpi.c +++ b/qemu/hw/acpi.c @@ -534,10

[kvm-devel] [PATCH 12/15] isolate cpu thread creation in qemu-kvm.c

2008-02-26 Thread Glauber Costa
Signed-off-by: Glauber Costa [EMAIL PROTECTED] --- qemu/qemu-kvm.c |9 +++-- qemu/qemu-kvm.h |1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/qemu/qemu-kvm.c b/qemu/qemu-kvm.c index ffc59d5..59fe9df 100644 --- a/qemu/qemu-kvm.c +++ b/qemu/qemu-kvm.c @@ -351,6

[kvm-devel] [PATCH 13/15] provide _MAT to acpi processor

2008-02-26 Thread Glauber Costa
Signed-off-by: Glauber Costa [EMAIL PROTECTED] --- bios/acpi-dsdt.dsl | 154 +++- 1 files changed, 140 insertions(+), 14 deletions(-) diff --git a/bios/acpi-dsdt.dsl b/bios/acpi-dsdt.dsl index 194a051..7dffb6d 100755 --- a/bios/acpi-dsdt.dsl +++

[kvm-devel] [PATCH 14/15] start a new cpu thread

2008-02-26 Thread Glauber Costa
spin up a new cpu thread if not yet running. Signed-off-by: Glauber Costa [EMAIL PROTECTED] --- qemu/hw/acpi.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/qemu/hw/acpi.c b/qemu/hw/acpi.c index 5a6d1a8..e44c8b5 100644 --- a/qemu/hw/acpi.c +++

[kvm-devel] [PATCH 10/15] handle gpe data for pio

2008-02-26 Thread Glauber Costa
actually grab and return data, instead of just being two bogus functions. Signed-off-by: Glauber Costa [EMAIL PROTECTED] --- qemu/hw/acpi.c | 36 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/qemu/hw/acpi.c b/qemu/hw/acpi.c index

[kvm-devel] [PATCH 15/15] remove acpi_build_processor_ssdt

2008-02-26 Thread Glauber Costa
Signed-off-by: Glauber Costa [EMAIL PROTECTED] --- bios/rombios32.c | 55 -- 1 files changed, 0 insertions(+), 55 deletions(-) diff --git a/bios/rombios32.c b/bios/rombios32.c index f2db740..77e71ac 100755 --- a/bios/rombios32.c +++

Re: [kvm-devel] boot stops after console handover?

2008-02-26 Thread Antoine Martin
Antoine Martin wrote: Carlo Marcelo Arenas Belon wrote: On Sat, Jan 12, 2008 at 06:07:19PM +, Antoine Martin wrote: If that doesn't work, maybe you can upload an image for me to debug. http://194.145.196.85/kvm/vmlinuz-2.6.24-rc7.bz2 Any luck? Any other ideas for me to try? see if the

Re: [kvm-devel] [ANNOUNCE] kvm-62 release

2008-02-26 Thread Jim Paris
Hi, - add file:// migration protocol (Uri Lublin) commit 70d2a9dc3594446f3ad66b32abc94c08b74118d4 Author: Uri Lublin [EMAIL PROTECTED] Date: Thu Feb 21 15:00:50 2008 +0200 kvm: qemu: migration: added file:// migration protocol Instead of writing into a file with fork+exec, just

Re: [kvm-devel] [PATCH 4/15] mark processors as presents

2008-02-26 Thread Alexander Graf
On Feb 26, 2008, at 8:56 PM, Glauber Costa wrote: mark processors as present through the _STA method Signed-off-by: Glauber Costa [EMAIL PROTECTED] --- bios/acpi-dsdt.dsl | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/bios/acpi-dsdt.dsl

Re: [kvm-devel] [PATCH 4/15] mark processors as presents

2008-02-26 Thread Alexander Graf
On Feb 27, 2008, at 12:05 AM, Alexander Graf wrote: On Feb 26, 2008, at 8:56 PM, Glauber Costa wrote: mark processors as present through the _STA method Signed-off-by: Glauber Costa [EMAIL PROTECTED] --- bios/acpi-dsdt.dsl | 18 ++ 1 files changed, 18 insertions(+), 0

Re: [kvm-devel] KVM Test result, KVM62-RC2

2008-02-26 Thread Marcelo Tosatti
On Tue, Feb 26, 2008 at 02:38:59PM +0100, Farkas Levente wrote: Farkas Levente wrote: Izik Eidus wrote: On Tue, 2008-02-26 at 12:58 +0100, Farkas Levente wrote: Zhao, Yunfeng wrote: Hi, all, This is today's KVM test result against KVM62-RC2. Two old issues fixed: 1.

[kvm-devel] Fedora 8 + kvm61 + Neutrino 6.3.2 == Exception 14 (0)

2008-02-26 Thread Anoosh Hosseini
I am trying to follow qemu + QNX instructions below, but using qemu-kvm. I get exception 14 (0) during boot (while printing dots, and has not got to the banner messages yet. I am using Fedora 8 + kvm61. If I disable kvm (-no-kvm) things run fine just as in standard qemu. However other Linux