Kernel bug (2.6.36) with vhost_net

2010-11-30 Thread Jean-Philippe Menil
Hi, recently, i was testing the vhost_net module. Already was fine during several hours, until a kernel bug? The kernel is a 2.6.36, qemu-kvm was compiled against the last git version (0.13.50) with the --enable-vhost-net option. r...@ayrshire:~# /usr/bin/qemu-system-x86_64 --version QEMU

[ kvm-Bugs-2494730 ] Guests stalling on kvm-82 / Linux 2.6.28

2010-11-30 Thread SourceForge.net
Bugs item #2494730, was opened at 2009-01-09 00:29 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2494730group_id=180599 Please note that this message will contain a full copy of the comment

[PATCH 1/3] Clean up cpu_inject_x86_mce().

2010-11-30 Thread Jin Dongming
Clean up cpu_inject_x86_mce() for later patch. Signed-off-by: Jin Dongming jin.dongm...@np.css.fujitsu.com --- target-i386/helper.c | 26 -- 1 files changed, 16 insertions(+), 10 deletions(-) diff --git a/target-i386/helper.c b/target-i386/helper.c index

[PATCH 2/3] Add broadcast option for mce command.

2010-11-30 Thread Jin Dongming
When the following test case is injected with mce command, maybe user could not get the expected result. DATA command cpu bank status mcg_status addr misc (qemu) mce 1 10xbd00 0x050x1234 0x8c Expected Result

[PATCH 3/3] Check processor version for broadcast.

2010-11-30 Thread Jin Dongming
Broadcast MCA signal is not supported by the CPUs whose version is below 06H_EH. Signed-off-by: Jin Dongming jin.dongm...@np.css.fujitsu.com --- target-i386/helper.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/target-i386/helper.c b/target-i386/helper.c

Re: [PATCH 3/3] Check processor version for broadcast.

2010-11-30 Thread Huang Ying
Hi, Dongming, On Tue, 2010-11-30 at 16:15 +0800, Jin Dongming wrote: Broadcast MCA signal is not supported by the CPUs whose version is below 06H_EH. Signed-off-by: Jin Dongming jin.dongm...@np.css.fujitsu.com --- target-i386/helper.c | 13 + 1 files changed, 13

Re: [PATCH 3/3] Check processor version for broadcast.

2010-11-30 Thread Jin Dongming
Hi, Huang-san (2010/11/30 17:22), Huang Ying wrote: Hi, Dongming, On Tue, 2010-11-30 at 16:15 +0800, Jin Dongming wrote: Broadcast MCA signal is not supported by the CPUs whose version is below 06H_EH. Signed-off-by: Jin Dongming jin.dongm...@np.css.fujitsu.com --- target-i386/helper.c

Re: [PATCH 0/9] KVM: Make the instruction emulator aware of Nested Virtualization

2010-11-30 Thread Roedel, Joerg
On Mon, Nov 29, 2010 at 03:01:10PM -0500, valdis.kletni...@vt.edu wrote: On Mon, 29 Nov 2010 19:32:12 +0100, Joerg Roedel said: On Mon, Nov 29, 2010 at 12:23:38PM -0500, valdis.kletni...@vt.edu wrote: (Sorry for late reply...) On Thu, 25 Nov 2010 17:23:13 +0100, Roedel, Joerg said:

Re: Performance test result between virtio_pci MSI-X disable and enable

2010-11-30 Thread lidong chen
sr-iov also meet this problem, MSIX mask waste a lot of cpu resource. I test kvm with sriov, which the vf driver could not disable msix. so the host os waste a lot of cpu. cpu rate of host os is 90%. then I test xen with sriov, there ara also a lot of vm exits caused by MSIX mask. but the cpu

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-30 Thread Takuya Yoshikawa
(2010/11/30 1:41), Dor Laor wrote: Is this a fair summary: any device that supports live migration workw under Kemari? It might be fair summary but practically we barely have live migration working w/o Kemari. In addition, last I checked Kemari needs additional hooks and it will be too hard

Re: buildbot for kvm.git

2010-11-30 Thread Jan Kiszka
Am 29.11.2010 20:22, Daniel Gollub wrote: On Tuesday, November 30, 2010 01:20:17 am Jan Kiszka wrote: Unfortunately we're running (in meanwhile) an old version of buildbot as buildbot-master (0.7.8, as shipped by Debian 5). Last time I checked (quite a few moons ago, though), that version

Re: Performance test result between virtio_pci MSI-X disable and enable

2010-11-30 Thread Yang, Sheng
On Tuesday 30 November 2010 17:10:11 lidong chen wrote: sr-iov also meet this problem, MSIX mask waste a lot of cpu resource. I test kvm with sriov, which the vf driver could not disable msix. so the host os waste a lot of cpu. cpu rate of host os is 90%. then I test xen with sriov, there

Re: [Qemu-devel] Re: [PATCH 09/21] Introduce event-tap.

2010-11-30 Thread Yoshiaki Tamura
2010/11/30 Marcelo Tosatti mtosa...@redhat.com: On Thu, Nov 25, 2010 at 03:06:48PM +0900, Yoshiaki Tamura wrote: event-tap controls when to start FT transaction, and provides proxy functions to called from net/block devices.  While FT transaction, it queues up net/block requests, and flush

[PATCH v3 1/3] KVM: MMU: rename 'no_apf' to 'prefault'

2010-11-30 Thread Xiao Guangrong
It's the speculative path if 'no_apf = 1' and we will specially handle this speculative path in the later patch, so 'prefault' is better to fit the sense Signed-off-by: Xiao Guangrong xiaoguangr...@cn.fujitsu.com --- arch/x86/include/asm/kvm_host.h |3 ++- arch/x86/kvm/mmu.c |

[PATCH v3 2/3] KVM: MMU: fix accessed bit set on prefault path

2010-11-30 Thread Xiao Guangrong
Retry #PF is the speculative path, so don't set the accessed bit, especially, stop prefault if shadow_accessed_mask = 0 Signed-off-by: Xiao Guangrong xiaoguangr...@cn.fujitsu.com --- arch/x86/include/asm/kvm_host.h |1 + arch/x86/kvm/mmu.c | 12 +++- arch/x86/kvm/x86.c

[PATCH v3 3/3] KVM: MMU: retry #PF for softmmu

2010-11-30 Thread Xiao Guangrong
Retry #PF for softmmu only when the current vcpu has the same root shadow page as the time when #PF occurs. it means they have same paging environment Signed-off-by: Xiao Guangrong xiaoguangr...@cn.fujitsu.com --- arch/x86/include/asm/kvm_host.h |5 + arch/x86/kvm/mmu.c |

Re: [PATCH 09/21] Introduce event-tap.

2010-11-30 Thread Yoshiaki Tamura
2010/11/29 Stefan Hajnoczi stefa...@gmail.com: On Thu, Nov 25, 2010 at 6:06 AM, Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote: event-tap controls when to start FT transaction, and provides proxy functions to called from net/block devices.  While FT transaction, it queues up net/block

Re: [PATCH 09/21] Introduce event-tap.

2010-11-30 Thread Stefan Hajnoczi
On Tue, Nov 30, 2010 at 9:50 AM, Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote: 2010/11/29 Stefan Hajnoczi stefa...@gmail.com: On Thu, Nov 25, 2010 at 6:06 AM, Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote: event-tap controls when to start FT transaction, and provides proxy

[PATCH 0/3] Series short description

2010-11-30 Thread Balbir Singh
The following series implements page cache control, this is a split out version of patch 1 of version 3 of the page cache optimization patches posted earlier at http://www.mail-archive.com/kvm@vger.kernel.org/msg43654.html Christoph Lamater recommended splitting out patch 1, which is what this

[PATCH 1/3] Move zone_reclaim() outside of CONFIG_NUMA

2010-11-30 Thread Balbir Singh
This patch moves zone_reclaim and associated helpers outside CONFIG_NUMA. This infrastructure is reused in the patches for page cache control that follow. Signed-off-by: Balbir Singh bal...@linux.vnet.ibm.com --- include/linux/mmzone.h |4 ++-- mm/vmscan.c|2 -- 2 files

[PATCH 2/3] Refactor zone_reclaim

2010-11-30 Thread Balbir Singh
Refactor zone_reclaim, move reusable functionality outside of zone_reclaim. Make zone_reclaim_unmapped_pages modular Signed-off-by: Balbir Singh bal...@linux.vnet.ibm.com --- mm/vmscan.c | 35 +++ 1 files changed, 23 insertions(+), 12 deletions(-) diff --git

[PATCH 3/3] Provide control over unmapped pages

2010-11-30 Thread Balbir Singh
Provide control using zone_reclaim() and a boot parameter. The code reuses functionality from zone_reclaim() to isolate unmapped pages and reclaim them as a priority, ahead of other mapped pages. Signed-off-by: Balbir Singh bal...@linux.vnet.ibm.com --- include/linux/swap.h |5 ++-

Re: [PATCH 09/21] Introduce event-tap.

2010-11-30 Thread Yoshiaki Tamura
2010/11/30 Stefan Hajnoczi stefa...@gmail.com: On Tue, Nov 30, 2010 at 9:50 AM, Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote: 2010/11/29 Stefan Hajnoczi stefa...@gmail.com: On Thu, Nov 25, 2010 at 6:06 AM, Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote: event-tap controls when to

Re: [Qemu-devel] Re: [PATCH 09/21] Introduce event-tap.

2010-11-30 Thread Marcelo Tosatti
On Tue, Nov 30, 2010 at 06:28:55PM +0900, Yoshiaki Tamura wrote: 2010/11/30 Marcelo Tosatti mtosa...@redhat.com: On Thu, Nov 25, 2010 at 03:06:48PM +0900, Yoshiaki Tamura wrote: event-tap controls when to start FT transaction, and provides proxy functions to called from net/block devices.  

buildbot for kvm.git is now live (was: Re: buildbot for kvm.git)

2010-11-30 Thread Daniel Gollub
On Thursday, November 11, 2010 02:31:06 am Avi Kivity wrote: Daniel, the buildbot has been fairly effective in keeping qemu-kvm.git building. I'd like to extend that to kvm.git, especially for non-x86 architectures. buildbot for kvm.git is now live and is build-testing the master and

Re: [Qemu-devel] Re: [PATCH 09/21] Introduce event-tap.

2010-11-30 Thread Yoshiaki Tamura
Marcelo Tosatti wrote: On Tue, Nov 30, 2010 at 06:28:55PM +0900, Yoshiaki Tamura wrote: 2010/11/30 Marcelo Tosattimtosa...@redhat.com: On Thu, Nov 25, 2010 at 03:06:48PM +0900, Yoshiaki Tamura wrote: event-tap controls when to start FT transaction, and provides proxy functions to called from

Re: [PATCH 1/1] KVM: Pull extra page fault information into struct x86_exception

2010-11-30 Thread Gleb Natapov
On Mon, Nov 29, 2010 at 04:12:30PM +0200, Avi Kivity wrote: Currently page fault cr2 and nesting infomation are carried outside the fault data structure. Instead they are placed in the vcpu struct, which results in confusion as global variables are manipulated instead of passing parameters.

[ kvm-Bugs-2042889 ] guest: device offline, then kernel panic

2010-11-30 Thread SourceForge.net
Bugs item #2042889, was opened at 2008-08-08 13:16 Message generated for change (Settings changed) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2042889group_id=180599 Please note that this message will contain a full copy of the

Re: linux-next: Tree for November 22 (kvm)

2010-11-30 Thread Glauber Costa
On Mon, 2010-11-29 at 08:08 -1000, Zachary Amsden wrote: On 11/29/2010 07:52 AM, Randy Dunlap wrote: On 11/29/10 09:47, Zachary Amsden wrote: On 11/29/2010 06:35 AM, Avi Kivity wrote: On 11/29/2010 06:33 PM, Randy Dunlap wrote: On Mon, 22 Nov 2010 13:26:27 -0800

Re: [Qemu-devel] [PATCH vgabios] Add 1280x768 mode

2010-11-30 Thread Marcelo Tosatti
Anthony, Can you please apply this patch and update the submodule in QEMU to use it? Its the only diff between qemu-kvm's vgabios and qemu's. Thanks On Mon, Nov 22, 2010 at 12:24:04PM +0100, Gerd Hoffmann wrote: On 11/21/10 16:33, Avi Kivity wrote: +{ 1280, 768, 16 ,

Re: [Qemu-devel] Re: [PATCH 09/21] Introduce event-tap.

2010-11-30 Thread Marcelo Tosatti
On Tue, Nov 30, 2010 at 07:35:54PM +0900, Yoshiaki Tamura wrote: Marcelo Tosatti wrote: On Tue, Nov 30, 2010 at 06:28:55PM +0900, Yoshiaki Tamura wrote: 2010/11/30 Marcelo Tosattimtosa...@redhat.com: On Thu, Nov 25, 2010 at 03:06:48PM +0900, Yoshiaki Tamura wrote: event-tap controls when to

Re: [PATCH v3 2/3] KVM: MMU: fix accessed bit set on prefault path

2010-11-30 Thread Gleb Natapov
On Tue, Nov 30, 2010 at 05:36:07PM +0800, Xiao Guangrong wrote: Retry #PF is the speculative path, so don't set the accessed bit, especially, stop prefault if shadow_accessed_mask = 0 Signed-off-by: Xiao Guangrong xiaoguangr...@cn.fujitsu.com --- arch/x86/include/asm/kvm_host.h |1 +

Re: KVM call agenda for Nov 30

2010-11-30 Thread Stefan Hajnoczi
On Tue, Nov 30, 2010 at 12:58 PM, Dor Laor dl...@redhat.com wrote: Please send in any agenda items you are interested in covering. Juan already has a thread for agenda items. It includes: As I forgot to put the call for agenda befor, Anthony already suggested: - 2011 kvm conference - 0.14.0

Re: KVM call agenda for Nov 30

2010-11-30 Thread Avi Kivity
On 11/30/2010 02:58 PM, Dor Laor wrote: Please send in any agenda items you are interested in covering. nested vmx? must pick up pace if want to merge. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line unsubscribe kvm in the body

Re: [PATCH 09/10] Exit loop if we have been there too long

2010-11-30 Thread Anthony Liguori
On 11/30/2010 01:15 AM, Paolo Bonzini wrote: On 11/30/2010 03:11 AM, Anthony Liguori wrote: BufferedFile should hit the qemu_file_rate_limit check when the socket buffer gets filled up. The problem is that the file rate limit is not hit because work is done elsewhere. The rate can limit

Re: [PATCH 09/10] Exit loop if we have been there too long

2010-11-30 Thread Avi Kivity
On 11/30/2010 03:47 PM, Anthony Liguori wrote: On 11/30/2010 01:15 AM, Paolo Bonzini wrote: On 11/30/2010 03:11 AM, Anthony Liguori wrote: BufferedFile should hit the qemu_file_rate_limit check when the socket buffer gets filled up. The problem is that the file rate limit is not hit because

Re: [PATCH 09/10] Exit loop if we have been there too long

2010-11-30 Thread Anthony Liguori
On 11/30/2010 08:12 AM, Paolo Bonzini wrote: On 11/30/2010 02:47 PM, Anthony Liguori wrote: On 11/30/2010 01:15 AM, Paolo Bonzini wrote: On 11/30/2010 03:11 AM, Anthony Liguori wrote: BufferedFile should hit the qemu_file_rate_limit check when the socket buffer gets filled up. The problem

Re: [PATCH 09/10] Exit loop if we have been there too long

2010-11-30 Thread Anthony Liguori
On 11/30/2010 07:58 AM, Avi Kivity wrote: On 11/30/2010 03:47 PM, Anthony Liguori wrote: On 11/30/2010 01:15 AM, Paolo Bonzini wrote: On 11/30/2010 03:11 AM, Anthony Liguori wrote: BufferedFile should hit the qemu_file_rate_limit check when the socket buffer gets filled up. The problem is

KVM call minutes for Nov 30

2010-11-30 Thread Chris Wright
2011 KVM Conference - together with LF event like LinuxCon Vancouver BC (Aug), KS Prague (Nov) - wider audience - include qemu (tcg) - include libvirt - include xen 0.14.0 release plan - could push things out, mainly want to keep on track for infrastructure changes (irc channel migration,

Re: KVM call minutes for Nov 30

2010-11-30 Thread Anthony Liguori
On 11/30/2010 09:53 AM, Chris Wright wrote: 2011 KVM Conference - together with LF event like LinuxCon Vancouver BC (Aug), KS Prague (Nov) - wider audience - include qemu (tcg) - include libvirt - include xen 0.14.0 release plan - could push things out, mainly want to keep on track for

Re: [PATCH 0/7] Emulator exception improvements

2010-11-30 Thread Marcelo Tosatti
On Mon, Nov 22, 2010 at 05:53:20PM +0200, Avi Kivity wrote: This boring patchset introduces a struct x86_exception to represent an exception, and uses it to communicate between the emulator and the rest of kvm. The primary benefit is that we can now pass a #GP from kvm into the emulator, not

Re: [PATCH v3 0/9] PCI capability and device assignment improvements

2010-11-30 Thread Marcelo Tosatti
On Fri, Nov 19, 2010 at 04:19:01PM -0700, Alex Williamson wrote: v3: - Rework to avoid introducing conflicts with qemu.git hw/pci - Drop capability lookup table - Add back minimal device assignment PM, EXP, X, VPD, VNDR capabilities This version should do a much better job at not

Re: [PATCH v3 2/3] KVM: MMU: fix accessed bit set on prefault path

2010-11-30 Thread Xiao Guangrong
On 11/30/2010 09:29 PM, Gleb Natapov wrote: +if (!shadow_accessed_mask) +return; + I don't get this. As far as I can see VMX inits shadow_accessed_mask to be zero if ept is enabled. This line here means that we never prefault with ept enabled. It is opposite from what it

[PATCH 4/6] KVM: SVM: Add manipulation functions for exception intercepts

2010-11-30 Thread Joerg Roedel
This patch wraps changes to the exception intercepts of SVM into seperate functions to abstract nested-svm better and prepare the implementation of the vmcb-clean-bits feature. Signed-off-by: Joerg Roedel joerg.roe...@amd.com --- arch/x86/kvm/svm.c | 58

[PATCH 1/6] KVM: SVM: Add function to recalculate intercept masks

2010-11-30 Thread Joerg Roedel
This patch adds a function to recalculate the effective intercepts masks when the vcpu is in guest-mode and either the host or the guest intercept masks change. Signed-off-by: Joerg Roedel joerg.roe...@amd.com --- arch/x86/kvm/svm.c | 43 ++- 1 files

[PATCH 2/6] KVM: SVM: Add manipulation functions for CRx intercepts

2010-11-30 Thread Joerg Roedel
This patch wraps changes to the CRx intercepts of SVM into seperate functions to abstract nested-svm better and prepare the implementation of the vmcb-clean-bits feature. Signed-off-by: Joerg Roedel joerg.roe...@amd.com --- arch/x86/include/asm/svm.h | 15 +++-- arch/x86/kvm/svm.c |

[PATCH 0/6] KVM: SVM: Wrap access to intercept masks into functions

2010-11-30 Thread Joerg Roedel
Hi Avi, Hi Marcelo, this patchset wraps the access to the intercept vectors in the VMCB into specific functions. There are two reasons for this: 1) In the nested-svm code the effective intercept masks are calculated from the host and the guest intercept masks.

[PATCH 6/6] KVM: SVM: Use get_host_vmcb function in svm_get_msr for TSC

2010-11-30 Thread Joerg Roedel
This patch replaces the open-coded vmcb-selection for the TSC calculation with the new get_host_vmcb helper function introduced in this patchset. Signed-off-by: Joerg Roedel joerg.roe...@amd.com --- arch/x86/kvm/svm.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git

[PATCH 5/6] KVM: SVM: Add manipulation functions for misc intercepts

2010-11-30 Thread Joerg Roedel
This patch wraps changes to the misc intercepts of SVM into seperate functions to abstract nested-svm better and prepare the implementation of the vmcb-clean-bits feature. Signed-off-by: Joerg Roedel joerg.roe...@amd.com --- arch/x86/kvm/svm.c | 84

Re: [PATCH 0/6] KVM: SVM: Wrap access to intercept masks into functions

2010-11-30 Thread Avi Kivity
On 11/30/2010 07:03 PM, Joerg Roedel wrote: Hi Avi, Hi Marcelo, this patchset wraps the access to the intercept vectors in the VMCB into specific functions. There are two reasons for this: 1) In the nested-svm code the effective intercept masks are calculated from the host

Re: [PATCH 09/10] Exit loop if we have been there too long

2010-11-30 Thread Juan Quintela
Avi Kivity a...@redhat.com wrote: On 11/30/2010 04:17 PM, Anthony Liguori wrote: What's the problem with burning that cpu? per guest page, compressing takes less than sending. Is it just an issue of qemu mutex hold time? If you have a 512GB guest, then you have a 16MB dirty bitmap which

Re: [PATCH v3 2/3] KVM: MMU: fix accessed bit set on prefault path

2010-11-30 Thread Gleb Natapov
On Wed, Dec 01, 2010 at 12:52:22AM +0800, Xiao Guangrong wrote: On 11/30/2010 09:29 PM, Gleb Natapov wrote: + if (!shadow_accessed_mask) + return; + I don't get this. As far as I can see VMX inits shadow_accessed_mask to be zero if ept is enabled. This line here means that

Re: [PATCH 09/10] Exit loop if we have been there too long

2010-11-30 Thread Juan Quintela
Anthony Liguori anth...@codemonkey.ws wrote: On 11/30/2010 08:12 AM, Paolo Bonzini wrote: On 11/30/2010 02:47 PM, Anthony Liguori wrote: On 11/30/2010 01:15 AM, Paolo Bonzini wrote: Juan's patch, IIUC, does the following: If you've been iterating in a tight loop, return to the main loop for

Re: [PATCH v3 2/3] KVM: MMU: fix accessed bit set on prefault path

2010-11-30 Thread Xiao Guangrong
On 12/01/2010 01:50 AM, Gleb Natapov wrote: On Wed, Dec 01, 2010 at 12:52:22AM +0800, Xiao Guangrong wrote: On 11/30/2010 09:29 PM, Gleb Natapov wrote: + if (!shadow_accessed_mask) + return; + I don't get this. As far as I can see VMX inits shadow_accessed_mask to be zero if ept

buildbot failure in qemu-kvm on default_x86_64_out_of_tree

2010-11-30 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/606 Buildbot URL: http://buildbot.b1-systems.de/qemu-kvm/ Buildslave for this Build:

buildbot failure in qemu-kvm on disable_kvm_x86_64_debian_5_0

2010-11-30 Thread qemu-kvm
The Buildbot has detected a new failure of disable_kvm_x86_64_debian_5_0 on qemu-kvm. Full details are available at: http://buildbot.b1-systems.de/qemu-kvm/builders/disable_kvm_x86_64_debian_5_0/builds/655 Buildbot URL: http://buildbot.b1-systems.de/qemu-kvm/ Buildslave for this Build:

buildbot failure in qemu-kvm on default_i386_out_of_tree

2010-11-30 Thread qemu-kvm
The Buildbot has detected a new failure of default_i386_out_of_tree on qemu-kvm. Full details are available at: http://buildbot.b1-systems.de/qemu-kvm/builders/default_i386_out_of_tree/builds/604 Buildbot URL: http://buildbot.b1-systems.de/qemu-kvm/ Buildslave for this Build: b1_qemu_kvm_2

buildbot failure in qemu-kvm on disable_kvm_i386_debian_5_0

2010-11-30 Thread qemu-kvm
The Buildbot has detected a new failure of disable_kvm_i386_debian_5_0 on qemu-kvm. Full details are available at: http://buildbot.b1-systems.de/qemu-kvm/builders/disable_kvm_i386_debian_5_0/builds/656 Buildbot URL: http://buildbot.b1-systems.de/qemu-kvm/ Buildslave for this Build:

buildbot failure in qemu-kvm on disable_kvm_i386_out_of_tree

2010-11-30 Thread qemu-kvm
The Buildbot has detected a new failure of disable_kvm_i386_out_of_tree on qemu-kvm. Full details are available at: http://buildbot.b1-systems.de/qemu-kvm/builders/disable_kvm_i386_out_of_tree/builds/604 Buildbot URL: http://buildbot.b1-systems.de/qemu-kvm/ Buildslave for this Build:

Re: [PATCH v3 2/3] KVM: MMU: fix accessed bit set on prefault path

2010-11-30 Thread Gleb Natapov
On Wed, Dec 01, 2010 at 02:15:29AM +0800, Xiao Guangrong wrote: On 12/01/2010 01:50 AM, Gleb Natapov wrote: On Wed, Dec 01, 2010 at 12:52:22AM +0800, Xiao Guangrong wrote: On 11/30/2010 09:29 PM, Gleb Natapov wrote: +if (!shadow_accessed_mask) +return; + I

Re: [PATCH v3 2/3] KVM: MMU: fix accessed bit set on prefault path

2010-11-30 Thread Xiao Guangrong
On 12/01/2010 02:38 AM, Gleb Natapov wrote: It can't avoid the page to be evicted again since the page is marked accessed only when spte is droped or updated. I still do not understand why are you disabling prefault for ept. Why do you want to distinguish between actually accessed

Re: [PATCH 1/3] Move zone_reclaim() outside of CONFIG_NUMA

2010-11-30 Thread Christoph Lameter
Reviewed-by: Christoph Lameter c...@linux.com -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 2/3] Refactor zone_reclaim

2010-11-30 Thread Christoph Lameter
Reviewed-by: Christoph Lameter c...@linux.com -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v3 2/3] KVM: MMU: fix accessed bit set on prefault path

2010-11-30 Thread Gleb Natapov
On Wed, Dec 01, 2010 at 03:11:11AM +0800, Xiao Guangrong wrote: On 12/01/2010 02:38 AM, Gleb Natapov wrote: It can't avoid the page to be evicted again since the page is marked accessed only when spte is droped or updated. I still do not understand why are you disabling prefault for

[PATCH 0/2] fixups for ivshmem unplug/migration

2010-11-30 Thread Cam Macdonell
We added qemu_ram_alloc_from_ptr, but we need its corresponding free function. With that, we can properly remove the ivshmem memory on unplug. Cam Macdonell (2): add qemu_ram_free_from_ptr Unregister shared memory on unplug. cpu-common.h |1 + exec.c | 13 +

[PATCH 1/2] add qemu_ram_free_from_ptr

2010-11-30 Thread Cam Macdonell
add function to free memory from Qemu that was added via qemu_ram_alloc_from_ptr. Name is a little weird. This is copied from qemu_ram_unmap from qemu-kvm. Signed-off-by: Cam Macdonell c...@cs.ualberta.ca --- cpu-common.h |1 + exec.c | 13 + 2 files changed, 14

[PATCH 2/2] Unregister shared memory on unplug.

2010-11-30 Thread Cam Macdonell
This allows 'peer' ivshmem guests to detach from shared memory before migration and re-attach after migration is complete. Signed-off-by: Cam Macdonell c...@cs.ualberta.ca --- hw/ivshmem.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/hw/ivshmem.c

Re: [PATCH 1/3] Move zone_reclaim() outside of CONFIG_NUMA

2010-11-30 Thread Andrew Morton
On Tue, 30 Nov 2010 15:45:12 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: This patch moves zone_reclaim and associated helpers outside CONFIG_NUMA. This infrastructure is reused in the patches for page cache control that follow. Thereby adding a nice dollop of bloat to everyone's

Re: [PATCH 3/3] Provide control over unmapped pages

2010-11-30 Thread Andrew Morton
On Tue, 30 Nov 2010 15:46:31 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: Provide control using zone_reclaim() and a boot parameter. The code reuses functionality from zone_reclaim() to isolate unmapped pages and reclaim them as a priority, ahead of other mapped pages. Signed-off-by:

Re: [Qemu-devel] Re: [PATCH v5] virtio-9p: fix build on !CONFIG_UTIMENSAT

2010-11-30 Thread Hidetoshi Seto
Ping. Maintainers, please tell me if still something is required for this patch before applying it. Thanks, H.Seto (2010/11/24 17:01), Jes Sorensen wrote: On 11/24/10 03:38, Hidetoshi Seto wrote: This patch introduce a fallback mechanism for old systems that do not support utimensat().

Re: [PATCH 09/10] Exit loop if we have been there too long

2010-11-30 Thread Takuya Yoshikawa
On Tue, 30 Nov 2010 16:27:13 +0200 Avi Kivity a...@redhat.com wrote: On 11/30/2010 04:17 PM, Anthony Liguori wrote: What's the problem with burning that cpu? per guest page, compressing takes less than sending. Is it just an issue of qemu mutex hold time? If you have a 512GB

Re: [PATCH 2/3] Refactor zone_reclaim

2010-11-30 Thread KAMEZAWA Hiroyuki
On Tue, 30 Nov 2010 15:45:55 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: Refactor zone_reclaim, move reusable functionality outside of zone_reclaim. Make zone_reclaim_unmapped_pages modular Signed-off-by: Balbir Singh bal...@linux.vnet.ibm.com Why is this min_mapped_pages based on

Re: [PATCH 3/3] Provide control over unmapped pages

2010-11-30 Thread KAMEZAWA Hiroyuki
On Tue, 30 Nov 2010 15:46:31 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: Provide control using zone_reclaim() and a boot parameter. The code reuses functionality from zone_reclaim() to isolate unmapped pages and reclaim them as a priority, ahead of other mapped pages. Signed-off-by:

Re: [PATCH 09/10] Exit loop if we have been there too long

2010-11-30 Thread Juan Quintela
Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp wrote: On Tue, 30 Nov 2010 16:27:13 +0200 Avi Kivity a...@redhat.com wrote: Does anyone is profiling these dirty bitmap things? I am. - 512GB guest is really the target? no, problems exist with smaller amounts of RAM. with 16GB guest it is

Re: [PATCH v3 2/3] KVM: MMU: fix accessed bit set on prefault path

2010-11-30 Thread Xiao Guangrong
On 12/01/2010 03:20 AM, Gleb Natapov wrote: Firs of all if guest is PV the guest process cannot be killed. Second why is it a problem that we marked pfn as accessed on speculative path? What problem it causes especially since it is very likely that the page will be accessed shortly anyway?

Re: [PATCH 09/10] Exit loop if we have been there too long

2010-11-30 Thread Takuya Yoshikawa
On Wed, 01 Dec 2010 02:52:08 +0100 Juan Quintela quint...@redhat.com wrote: Since we are planning to do some profiling for these, taking into account Kemari, can you please share these information? If you see the 0/10 email with this setup, you can see how much time are we spending on

Re: Mask bit support's API

2010-11-30 Thread Yang, Sheng
On Tuesday 30 November 2010 22:15:29 Avi Kivity wrote: On 11/26/2010 04:35 AM, Yang, Sheng wrote: Shouldn't kvm also service reads from the pending bitmask? Of course KVM should service reading from pending bitmask. For assigned device, it's kernel who would set the pending

[PATCH 1/4] KVM test: Include the preprocessing param migration_mode

2010-11-30 Thread Lucas Meneghel Rodrigues
In order to include multi-host migration, add a pre-processor parameter that will make the test start a VM in incoming migration mode: migration_mode = tcp Will make the preprocessor start the VM in tcp -incoming mode. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com ---

[PATCH 2/4] KVM test: Introduce migration_multi_host test

2010-11-30 Thread Lucas Meneghel Rodrigues
This test will carry out the migration between guests in two different hosts. Depending on the test 'role', different actions will be taken, and those actions will be synchronized through the autotest barrier mechanism. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com ---

Re: [PATCHv6 00/16] boot order specification

2010-11-30 Thread Kevin O'Connor
On Tue, Nov 30, 2010 at 04:01:00PM +0200, Gleb Natapov wrote: On Mon, Nov 29, 2010 at 08:34:03PM -0500, Kevin O'Connor wrote: On Sun, Nov 28, 2010 at 08:47:34PM +0200, Gleb Natapov wrote: If you let go to the idea of exact matching of string built by qemu in Seabios it will be easy to see

[PATCH 3/4] KVM test: Add migration server control file

2010-11-30 Thread Lucas Meneghel Rodrigues
Introduce the server migration control file, that makes possible to run the multi host migration. It parses the base config file, restricts it with appropriate parameters, generates the test dicts, modify the test_dicts so there's a distinction between the migration roles ('destination' or

[PATCH 4/4] KVM test: Modifications on the migrate utility function

2010-11-30 Thread Lucas Meneghel Rodrigues
In order to accomodate multi-host migration, make migrate accept 2 additional parameters, dest_host and mig_port. Also, handle properly the case where we are doing migration inside the same host. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/kvm_test_utils.py |

Re: KVM with hugepages generate huge load with two guests

2010-11-30 Thread Dmitry Golubev
Hi, Sorry it took so slow to reply you - there are only few moments when I can poke a production server and I need to notify people in advance about that :( Can you post kvm_stat output while slowness is happening? 'perf top' on the host?  and on the guest? I took 'perf top' and first thing

Re: [PATCH 1/3] Move zone_reclaim() outside of CONFIG_NUMA

2010-11-30 Thread Balbir Singh
* Balbir Singh bal...@linux.vnet.ibm.com [2010-12-01 10:04:08]: * Andrew Morton a...@linux-foundation.org [2010-11-30 14:23:38]: On Tue, 30 Nov 2010 15:45:12 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: This patch moves zone_reclaim and associated helpers outside

Re: [PATCH 2/3] Refactor zone_reclaim

2010-11-30 Thread Balbir Singh
* Balbir Singh bal...@linux.vnet.ibm.com [2010-12-01 10:16:34]: * KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2010-12-01 10:23:29]: On Tue, 30 Nov 2010 15:45:55 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: Refactor zone_reclaim, move reusable functionality outside of

Re: [PATCH 3/3] Provide control over unmapped pages

2010-11-30 Thread Balbir Singh
* Balbir Singh bal...@linux.vnet.ibm.com [2010-12-01 10:24:21]: * Andrew Morton a...@linux-foundation.org [2010-11-30 14:25:09]: On Tue, 30 Nov 2010 15:46:31 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: Provide control using zone_reclaim() and a boot parameter. The code

Re: [PATCH 3/3] Provide control over unmapped pages

2010-11-30 Thread Balbir Singh
* Balbir Singh bal...@linux.vnet.ibm.com [2010-12-01 10:46:32]: * KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com [2010-12-01 09:14:13]: Provide control using zone_reclaim() and a boot parameter. The code reuses functionality from zone_reclaim() to isolate unmapped pages and reclaim

Re: [PATCH 3/3] Provide control over unmapped pages

2010-11-30 Thread Balbir Singh
* Balbir Singh bal...@linux.vnet.ibm.com [2010-12-01 10:48:16]: * KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2010-12-01 10:32:54]: On Tue, 30 Nov 2010 15:46:31 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: Provide control using zone_reclaim() and a boot parameter. The

Re: [PATCH 3/3] Provide control over unmapped pages

2010-11-30 Thread KAMEZAWA Hiroyuki
On Wed, 1 Dec 2010 10:52:59 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: * Balbir Singh bal...@linux.vnet.ibm.com [2010-12-01 10:48:16]: * KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2010-12-01 10:32:54]: On Tue, 30 Nov 2010 15:46:31 +0530 Balbir Singh

Re: [PATCH 3/3] Provide control over unmapped pages

2010-11-30 Thread KAMEZAWA Hiroyuki
On Wed, 1 Dec 2010 12:10:43 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: That's a point. Then, why the guest has to do _extra_ work for host even when the host says nothing ? I think trigger this by guests themselves is not very good. I've mentioned it before, the guest

[PATCH v16 06/17]move member destructor_arg before member dataref

2010-11-30 Thread xiaohui . xin
From: Xin Xiaohui xiaohui@intel.com Then we can clear destructor_arg when __alloc_skb(). Signed-off-by: Xin Xiaohui xiaohui@intel.com Signed-off-by: Zhao Yu yzhao81...@gmail.com Reviewed-by: Jeff Dike jd...@linux.intel.com --- include/linux/skbuff.h |7 --- 1 files changed, 4

[PATCH v16 05/17] Add a function to indicate if device use external buffer.

2010-11-30 Thread xiaohui . xin
From: Xin Xiaohui xiaohui@intel.com Signed-off-by: Xin Xiaohui xiaohui@intel.com Signed-off-by: Zhao Yu yzhao81...@gmail.com Reviewed-by: Jeff Dike jd...@linux.intel.com --- include/linux/netdevice.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git

[PATCH v16 08/17]Modify netdev_free_page() to release external buffer

2010-11-30 Thread xiaohui . xin
From: Xin Xiaohui xiaohui@intel.com Currently, it can get external buffers from mp device. Signed-off-by: Xin Xiaohui xiaohui@intel.com Signed-off-by: Zhao Yu yzhao81...@gmail.com Reviewed-by: Jeff Dike jd...@linux.intel.com --- include/linux/skbuff.h |4 +++- net/core/skbuff.c

[PATCH v16 10/17] If device is in zero-copy mode first, bonding will fail.

2010-11-30 Thread xiaohui . xin
From: Xin Xiaohui xiaohui@intel.com If device is in this zero-copy mode first, we cannot handle this, so fail it. This patch is for this. If bonding is created first, and one of the device will be in zero-copy mode, this will be handled by mp device. It will first check if all the slaves

[PATCH v16 11/17]Add a hook to intercept external buffers from NIC driver.

2010-11-30 Thread xiaohui . xin
From: Xin Xiaohui xiaohui@intel.com The hook is called in __netif_receive_skb(). Signed-off-by: Xin Xiaohui xiaohui@intel.com Signed-off-by: Zhao Yu yzhao81...@gmail.com Reviewed-by: Jeff Dike jd...@linux.intel.com --- net/core/dev.c | 40 1

[PATCH v16 13/17] Add mp(mediate passthru) device.

2010-11-30 Thread xiaohui . xin
From: Xin Xiaohui xiaohui@intel.com The patch add mp(mediate passthru) device, which now based on vhost-net backend driver and provides proto_ops to send/receive guest buffers data from/to guest vitio-net driver. It also exports async functions which can be used by other drivers like macvtap

[PATCH v16 16/17]An example how to modifiy NIC driver to use napi_gro_frags() interface

2010-11-30 Thread xiaohui . xin
From: Xin Xiaohui xiaohui@intel.com This example is made on ixgbe driver. It provides API is_rx_buffer_mapped_as_page() to indicate if the driver use napi_gro_frags() interface or not. The example allocates 2 pages for DMA for one ring descriptor using netdev_alloc_page(). When packets is

[PATCH v16 17/17]An example how to alloc user buffer based on napi_gro_frags() interface.

2010-11-30 Thread xiaohui . xin
From: Xin Xiaohui xiaohui@intel.com This example is made on ixgbe driver which using napi_gro_frags(). It can get buffers from guest side directly using netdev_alloc_page() and release guest buffers using netdev_free_page(). Signed-off-by: Xin Xiaohui xiaohui@intel.com ---

[PATCH v16 00/17] Provide a zero-copy method on KVM virtio-net.

2010-11-30 Thread xiaohui . xin
We provide an zero-copy method which driver side may get external buffers to DMA. Here external means driver don't use kernel space to allocate skb buffers. Currently the external buffer can be from guest virtio-net driver. The idea is simple, just to pin the guest VM user space and then let host

[PATCH v16 15/17]Provides multiple submits and asynchronous notifications.

2010-11-30 Thread xiaohui . xin
From: Xin Xiaohui xiaohui@intel.com The vhost-net backend now only supports synchronous send/recv operations. The patch provides multiple submits and asynchronous notifications. This is needed for zero-copy case. Signed-off-by: Xin Xiaohui xiaohui@intel.com ---

  1   2   >