Re: [PATCH V3 RFC 2/2] kvm: Handle yield_to failure return code for potential undercommit case

2012-11-26 Thread Andrew Jones
On Mon, Nov 26, 2012 at 05:38:04PM +0530, Raghavendra K T wrote: > From: Raghavendra K T > > yield_to returns -ESRCH, When source and target of yield_to > run queue length is one. When we see three successive failures of > yield_to we assume we are in potential undercommit case and abort > from P

Re: [PATCH V3 RFC 1/2] sched: Bail out of yield_to when source and target runqueue has one task

2012-11-26 Thread Andrew Jones
On Mon, Nov 26, 2012 at 05:37:54PM +0530, Raghavendra K T wrote: > From: Peter Zijlstra > > In case of undercomitted scenarios, especially in large guests > yield_to overhead is significantly high. when run queue length of > source and target is one, take an opportunity to bail out and return > -

Re: [PATCH 0/3] KVM: PPC: Fixes for PR-KVM on POWER7

2012-11-26 Thread Alexander Graf
On 05.11.2012, at 04:40, Paul Mackerras wrote: > Here are some fixes for PR-style KVM. With these I can successfully > run a pseries (PAPR) guest under PR KVM on a POWER7. (This is all > running inside a HV KVM virtual machine.) The patches are against > Alex Graf's kvm-ppc-next branch. Thank

Re: [PATCH 1/5] KVM: PPC: Book3S HV: Handle guest-caused machine checks on POWER7 without panicking

2012-11-26 Thread Alexander Graf
On 23.11.2012, at 22:42, Paul Mackerras wrote: > On Fri, Nov 23, 2012 at 03:13:09PM +0100, Alexander Graf wrote: >> >> On 22.11.2012, at 10:25, Paul Mackerras wrote: >> >>> + /* Do they have an SLB shadow buffer registered? */ >>> + slb = vcpu->arch.slb_shadow.pinned_addr; >>> + if (!slb)

[Bug 50921] kvm hangs booting Windows 2000

2012-11-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=50921 --- Comment #13 from Lucio Crusca 2012-11-26 13:13:56 --- @Alan: see comment #5, since then I've always tested with and without vbox modules. @Gleb: can't run on 3.5.0 right now, I'll take the stack trace ASAP. -- Configure bugmail: https:

Re: [PATCH 3/5] KVM: PPC: Book3S HV: Improve handling of local vs. global TLB invalidations

2012-11-26 Thread Alexander Graf
On 23.11.2012, at 23:07, Paul Mackerras wrote: > On Fri, Nov 23, 2012 at 04:43:03PM +0100, Alexander Graf wrote: >> >> On 22.11.2012, at 10:28, Paul Mackerras wrote: >> >>> - With the possibility of the host paging out guest pages, the use of >>> H_LOCAL by an SMP guest is dangerous since the g

Re: [PATCH 4/5] KVM: PPC: Book3S HV: Don't give the guest RW access to RO pages

2012-11-26 Thread Alexander Graf
On 24.11.2012, at 10:32, Paul Mackerras wrote: > On Sat, Nov 24, 2012 at 10:05:37AM +0100, Alexander Graf wrote: >> >> >> On 23.11.2012, at 23:13, Paul Mackerras wrote: >> >>> On Fri, Nov 23, 2012 at 04:47:45PM +0100, Alexander Graf wrote: On 22.11.2012, at 10:28, Paul Mackerras wr

RE: [PATCH v2 6/6] x86, apicv: Add Posted Interrupt supporting

2012-11-26 Thread Zhang, Yang Z
Gleb Natapov wrote on 2012-11-26: > On Mon, Nov 26, 2012 at 03:51:04AM +, Zhang, Yang Z wrote: >> Gleb Natapov wrote on 2012-11-25: >>> On Wed, Nov 21, 2012 at 04:09:39PM +0800, Yang Zhang wrote: Posted Interrupt allows vAPICV interrupts to inject into guest directly without any vmexi

[PATCH V3 RFC 2/2] kvm: Handle yield_to failure return code for potential undercommit case

2012-11-26 Thread Raghavendra K T
From: Raghavendra K T yield_to returns -ESRCH, When source and target of yield_to run queue length is one. When we see three successive failures of yield_to we assume we are in potential undercommit case and abort from PLE handler. The assumption is backed by low probability of wrong decision for

[PATCH V3 RFC 1/2] sched: Bail out of yield_to when source and target runqueue has one task

2012-11-26 Thread Raghavendra K T
From: Peter Zijlstra In case of undercomitted scenarios, especially in large guests yield_to overhead is significantly high. when run queue length of source and target is one, take an opportunity to bail out and return -ESRCH. This return condition can be further exploited to quickly come out of

[PATCH V3 RFC 0/2] kvm: Improving undercommit scenarios

2012-11-26 Thread Raghavendra K T
In some special scenarios like #vcpu <= #pcpu, PLE handler may prove very costly, because there is no need to iterate over vcpus and do unsuccessful yield_to burning CPU. The first patch optimizes all the yield_to by bailing out when there is no need to continue in yield_to (i.e., when there is

[Bug 50921] kvm hangs booting Windows 2000

2012-11-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=50921 Alan changed: What|Removed |Added CC||a...@lxorguk.ukuu.org.uk --- Comment #12 from

Re: Invoking guest os script, without guest having network connectivity?

2012-11-26 Thread Stefan Hajnoczi
On Sat, Nov 24, 2012 at 06:40:39PM +0200, Shlomi Tsadok wrote: > I'm looking for a way to configure the guest networking(including IP) > dynamically, using a custom script, right after VM creation. > > Is there a similar feature in KVM/Libvirt as the Invoke-VMScript in of > VMware's PowerCLI? > It

Re: Re: Re: Re: Re: [RFC PATCH 0/2] kvm/vmx: Output TSC offset

2012-11-26 Thread Yoshihiro YUNOMAE
Hi Marcelo, (2012/11/24 7:46), Marcelo Tosatti wrote: On Thu, Nov 22, 2012 at 02:21:20PM +0900, Yoshihiro YUNOMAE wrote: Hi Marcelo, (2012/11/21 7:51), Marcelo Tosatti wrote: On Tue, Nov 20, 2012 at 07:36:33PM +0900, Yoshihiro YUNOMAE wrote: Hi Marcelo, Sorry for the late reply. (2012/11/1

Re: KVM Disk i/o or VM activities causes soft lockup?

2012-11-26 Thread Stefan Hajnoczi
On Fri, Nov 23, 2012 at 10:34:16AM -0800, Vincent Li wrote: > On Thu, Nov 22, 2012 at 11:29 PM, Stefan Hajnoczi wrote: > > On Wed, Nov 21, 2012 at 03:36:50PM -0800, Vincent Li wrote: > >> We have users running on redhat based distro (Kernel > >> 2.6.32-131.21.1.el6.x86_64 ) with kvm, when customer

Re: qemu-kvm-1.2.0: double free or corruption in VNC code

2012-11-26 Thread Stefan Hajnoczi
On Fri, Nov 23, 2012 at 08:24:32PM +0100, Nikola Ciprich wrote: > > Please also post the exact package version you are using - the line > > numbers change between releases and depend on which patches have been > > applied to the source tree. The distro exact package version allows me > > to downlo

Re: [PATCH v2 6/6] x86, apicv: Add Posted Interrupt supporting

2012-11-26 Thread Gleb Natapov
On Mon, Nov 26, 2012 at 03:51:04AM +, Zhang, Yang Z wrote: > Gleb Natapov wrote on 2012-11-25: > > On Wed, Nov 21, 2012 at 04:09:39PM +0800, Yang Zhang wrote: > >> Posted Interrupt allows vAPICV interrupts to inject into guest directly > >> without any vmexit. > >> > >> - When delivering a int

KVM call agenda for 2012-11-27

2012-11-26 Thread Juan Quintela
Hi Please send in any agenda topics you are interested in. Later, Juan. -- 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 v2 5/6] x86: Enable ack interrupt on vmexit

2012-11-26 Thread Gleb Natapov
On Mon, Nov 26, 2012 at 05:44:29AM +, Zhang, Yang Z wrote: > Avi Kivity wrote on 2012-11-25: > > On 11/25/2012 03:03 PM, Gleb Natapov wrote: > >> On Sun, Nov 25, 2012 at 02:55:26PM +0200, Avi Kivity wrote: > >>> On 11/22/2012 05:22 PM, Gleb Natapov wrote: > On Wed, Nov 21, 2012 at 04:09:38

[매일경제신문사] 바이러스- 발견 경고

2012-11-26 Thread Administrator
발신자 : kvm@vger.kernel.org 수신자 : SEMIANGEL 제목 : Returned mail: Data format error 첨부 파일명 : attachment.zip(attachment.exe) 검사 결과 : attachment.zip/attachment.exe ( Win32/MyDoom.worm.M ) -> 압축 파일(압축을 푼 후 다시 검사하십시오.) attachment.zip -> 삭제 안녕하세요. 매일경제신문사 메일서버 관리자입니다. 보내주신 메일에서 바이러스가 발견되었습니다. 치료가 가능하면 치

<    1   2