Got bash 'Resource temporarily unavailable' when testing linux_s3 (kvm)

2009-10-02 Thread Amos Kong
Anybody can help on linux_s3 (kvm autotest)? When running the testcase linux_s3 to test kvm, we constantly got 'bash: echo: write error: Resource temporarily unavailable'. This testcase can be found at autotest/client/tests/kvm/tests/linux_s3.py (or autotest/client/tests/kvm/kvm_tests.py in the

avoid soft lockups

2009-10-02 Thread James Brackinshaw
Hello, If I suspend and resume a guest under kvm, or I migrate it from one host to another, I sometimes get a soft lockup. Is there a timer mode to prevent or reduce the likelihood of these? Thanks JB -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to

Re: avoid soft lockups

2009-10-02 Thread Marcelo Tosatti
On Fri, Oct 02, 2009 at 01:54:22PM +0200, James Brackinshaw wrote: > Hello, > > If I suspend and resume a guest under kvm, or I migrate it from one > host to another, I sometimes get a soft lockup. > > Is there a timer mode to prevent or reduce the likelihood of these? Not yet. For now you can e

Re: Got bash 'Resource temporarily unavailable' when testing linux_s3 (kvm)

2009-10-02 Thread Marcelo Tosatti
On Fri, Oct 02, 2009 at 05:44:35PM +0800, Amos Kong wrote: > > Anybody can help on linux_s3 (kvm autotest)? > > When running the testcase linux_s3 to test kvm, we constantly got > 'bash: echo: write error: Resource temporarily unavailable'. > > This testcase can be found at > autotest/client/tes

Re: [PATCH] [RESEND] KVM:VMX: Add support for Pause-Loop Exiting

2009-10-02 Thread Marcelo Tosatti
On Wed, Sep 30, 2009 at 01:22:49PM -0300, Marcelo Tosatti wrote: > On Wed, Sep 30, 2009 at 09:01:51AM +0800, Zhai, Edwin wrote: > > Avi, > > I modify it according your comments. The only thing I want to keep is > > the module param ple_gap/window. Although they are not per-guest, they > > can

Re: INFO: task journal:337 blocked for more than 120 seconds

2009-10-02 Thread Jeremy Fitzhardinge
On 09/30/09 14:11, Shirley Ma wrote: > Anybody found this problem before? I kept hitting this issue for 2.6.31 > guest kernel even with a simple network test. > > INFO: task kjournal:337 blocked for more than 120 seconds. > "echo 0 > /proc/sys/kernel/hung_task_timeout_sec" disables this message. >

Re: INFO: task journal:337 blocked for more than 120 seconds

2009-10-02 Thread Jeremy Fitzhardinge
On 10/02/09 12:06, Shirley Ma wrote: > On Fri, 2009-10-02 at 11:30 -0700, Jeremy Fitzhardinge wrote: > >> I'm assuming from the lists you've posted to that this is under KVM? >> What disk drivers are you using (virtio or emulated)? >> >> Can you get a full stack backtrace of kjournald? >>

[PATCH][retry 2] Support Pause Filter in AMD processors

2009-10-02 Thread Mark Langsdorf
>From 66741f741da741e58e8162ef7809dd7d6f8e01cf Mon Sep 17 00:00:00 2001 From: Mark Langsdorf Date: Fri, 2 Oct 2009 10:32:33 -0500 Subject: [PATCH] Support Pause Filter in AMD processors New AMD processors (Family 0x10 models 8+) support the Pause Filter Feature. This feature creates a new field

docs on storage pools?

2009-10-02 Thread Richard Wurman
So far I've been using files and/or LVM partitions for my VMs -- basically by using virt-manager and modifying existing XML configs and just copying my VM files to be reused. I'm wondering how KVM storage pools work -- at first I thought it was something like KVM's version of LVM where you can jus

[PATCH v2 0/4] KVM: xinterface

2009-10-02 Thread Gregory Haskins
(Applies to kvm.git/master:083e9e10) For details, please read the patch headers. [ Changelog: v2: *) We now re-use the vmfd as the binding token, instead of creating a new separate namespace *) Added support for switch_to(mm), which is much faster *) Added

[PATCH v2 1/4] mm: export use_mm() and unuse_mm() to modules

2009-10-02 Thread Gregory Haskins
We want to use these functions from withing KVM, which may be built as a module. Signed-off-by: Gregory Haskins --- mm/mmu_context.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/mm/mmu_context.c b/mm/mmu_context.c index ded9081..f31ba20 100644 --- a/mm/mmu_context.

[PATCH v2 2/4] KVM: introduce "xinterface" API for external interaction with guests

2009-10-02 Thread Gregory Haskins
What: xinterface is a mechanism that allows kernel modules external to the kvm.ko proper to interface with a running guest. It accomplishes this by creating an abstracted interface which does not expose any private details of the guest or its related KVM structures, and provides a mechanism to fin

[PATCH v2 3/4] KVM: add io services to xinterface

2009-10-02 Thread Gregory Haskins
We want to add a more efficient way to get PIO signals out of the guest, so we add an "xioevent" interface. This allows a client to register for notifications when a specific MMIO/PIO address is touched by the guest. This is an alternative interface to ioeventfd, which is performance limited by i

[PATCH v2 4/4] KVM: add scatterlist support to xinterface

2009-10-02 Thread Gregory Haskins
This allows a scatter-gather approach to IO, which will be useful for building high performance interfaces, like zero-copy and low-latency copy (avoiding multiple calls to copy_to/from). The interface is based on the existing scatterlist infrastructure. The caller is expected to pass in a scatter

Re: KVM: VMX: flush TLB with INVEPT on cpu migration

2009-10-02 Thread Ram Pai
On Thu, 2009-10-01 at 19:16 -0300, Marcelo Tosatti wrote: > It is possible that stale EPTP-tagged mappings are used, if a > vcpu migrates to a different pcpu. > > Set KVM_REQ_TLB_FLUSH in vmx_vcpu_load, when switching pcpus, which > will invalidate both VPID and EPT mappings on the next vm-entry

[PATCH 1/2] KVM: x86: Refactor guest debug IOCTL handling

2009-10-02 Thread Jan Kiszka
Much of so far vendor-specific code for setting up guest debug can actually be handled by the generic code. This also fixes a minor deficit in the SVM part /wrt processing KVM_GUESTDBG_ENABLE. Signed-off-by: Jan Kiszka --- arch/x86/include/asm/kvm_host.h |4 ++-- arch/x86/kvm/svm.c

[PATCH 2/2] KVM: x86: Preserve guest single-stepping on register

2009-10-02 Thread Jan Kiszka
Give user space more flexibility /wrt its IOCTL order. So far updating the rflags via KVM_SET_REGS ignored potentially set single-step flags. Now they will be kept. Signed-off-by: Jan Kiszka --- arch/x86/kvm/x86.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ar

Re: [PATCH][retry 2] Support Pause Filter in AMD processors

2009-10-02 Thread Joerg Roedel
On Fri, Oct 02, 2009 at 02:49:59PM -0500, Mark Langsdorf wrote: > +static int pause_interception(struct vcpu_svm *svm) > +{ > + static int pause_count = 0; > + > + kvm_vcpu_on_spin(&(svm->vcpu)); > +printk(KERN_ERR "MJLL pause intercepted %d\n", ++pause_count); Debugging leftover? > +

Re: [Qemu-devel] Release plan for 0.12.0

2009-10-02 Thread TAKEDA, toshiya
Anthony Liguori さんは書きました: >Hi, > >Now that 0.11.0 is behind us, it's time to start thinking about 0.12.0. > >I'd like to do a few things different this time around. I don't think >the -rc process went very well as I don't think we got more testing out >of it. I'd like to shorten the timeline fo

(no subject)

2009-10-02 Thread debmail_5f63g
subscribe kvm -- 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