Audio starts working several hours after starting Windows Vista guest

2012-09-30 Thread Dirk Heinrichs
Hello, since a week or two, I have a very strange problem with audio output on a Windows Vista guest. Right after booting the guest, audio does not work. If I leave the guest running for some hours (don't know how many, I usually try again next day), audio output works fine. I'm using es1370 e

Re: [PATCH RFC 1/2] kvm: Handle undercommitted guest case in PLE handler

2012-09-30 Thread Avi Kivity
On 09/28/2012 08:18 PM, Konrad Rzeszutek Wilk wrote: >> >> PLE: >> >> - works for unmodified / non-Linux guests >> >> - works for all types of spins (e.g. smp_call_function*()) >> >> - utilizes an existing hardware interface (PAUSE instruction) so likely >> >> more robust compared to a software int

Re: [PATCH RFC 1/2] kvm: Handle undercommitted guest case in PLE handler

2012-09-30 Thread Avi Kivity
On 09/28/2012 08:16 AM, Raghavendra K T wrote: > >> >> +struct pv_sched_info { >> + unsigned long sched_bitmap; > > Thinking, whether we need something similar to cpumask here? > Only thing is we are representing guest (v)cpumask. > DECLARE_BITMAP(sched_bitmap, KVM_MAX_VCPUS) c

Re: [PATCH RFC 0/2] kvm: Improving undercommit,overcommit scenarios in PLE handler

2012-09-30 Thread Avi Kivity
On 09/28/2012 01:40 PM, Andrew Theurer wrote: >> >> >> >> >> IIRC, with defer preemption : >> >> we will have hook in spinlock/unlock path to measure depth of lock held, >> >> and shared with host scheduler (may be via MSRs now). >> >> Host scheduler 'prefers' not to preempt lock holding vcpu. (or

Re: [kvmarm] [PATCH 10/15] KVM: ARM: World-switch implementation

2012-09-30 Thread Peter Maydell
On 30 September 2012 01:33, Christoffer Dall wrote: > On Tue, Sep 25, 2012 at 1:42 PM, Marc Zyngier wrote: >> Well, we're still in HYP mode when performing the pop, so the VMID is >> pretty much irrelevant. Same for the initial push, actually. As long as >> we're sure VTTBR has been updated when

Re: [PATCH RFC 1/2] kvm: Handle undercommitted guest case in PLE handler

2012-09-30 Thread Gleb Natapov
On Sun, Sep 30, 2012 at 10:18:17AM +0200, Avi Kivity wrote: > On 09/28/2012 08:16 AM, Raghavendra K T wrote: > > > >> > >> +struct pv_sched_info { > >> + unsigned long sched_bitmap; > > > > Thinking, whether we need something similar to cpumask here? > > Only thing is we are repre

Re: INFO: rcu_preempt detected stalls on CPUs/tasks: { 1} (detected by 0, t=10002 jiffies)

2012-09-30 Thread Avi Kivity
On 09/28/2012 05:35 AM, Paul E. McKenney wrote: > On Thu, Sep 27, 2012 at 12:40:44PM +0800, Fengguang Wu wrote: >> On Wed, Sep 26, 2012 at 09:28:50PM -0700, Paul E. McKenney wrote: >> > On Thu, Sep 27, 2012 at 10:54:00AM +0800, Fengguang Wu wrote: >> > > On Wed, Sep 26, 2012 at 09:45:43AM -0700, Pa

Re: [PATCH RFC 1/2] kvm: Handle undercommitted guest case in PLE handler

2012-09-30 Thread Avi Kivity
On 09/30/2012 01:07 PM, Gleb Natapov wrote: > On Sun, Sep 30, 2012 at 10:18:17AM +0200, Avi Kivity wrote: >> On 09/28/2012 08:16 AM, Raghavendra K T wrote: >> > >> >> >> >> +struct pv_sched_info { >> >> + unsigned long sched_bitmap; >> > >> > Thinking, whether we need something si

Re: INFO: rcu_preempt detected stalls on CPUs/tasks: { 1} (detected by 0, t=10002 jiffies)

2012-09-30 Thread Fengguang Wu
On Sun, Sep 30, 2012 at 01:10:55PM +0200, Avi Kivity wrote: > On 09/28/2012 05:35 AM, Paul E. McKenney wrote: > > On Thu, Sep 27, 2012 at 12:40:44PM +0800, Fengguang Wu wrote: > >> On Wed, Sep 26, 2012 at 09:28:50PM -0700, Paul E. McKenney wrote: > >> > On Thu, Sep 27, 2012 at 10:54:00AM +0800, Fen

Re: [PATCH 1/2] KVM: PPC: e500: fix allocation size error on g2h_tlb1_map

2012-09-30 Thread Avi Kivity
On 09/27/2012 09:59 PM, Alexander Graf wrote: > >> Do you have the auto-autotest setup ready? I guess we can do it >> manually until it is. > > I do have a local autotest setup. Or what exactly are you referring to? Getting autotest to run automatically and produce readable reports, and auto-bi

Re: INFO: rcu_preempt detected stalls on CPUs/tasks: { 1} (detected by 0, t=10002 jiffies)

2012-09-30 Thread Avi Kivity
On 09/30/2012 01:18 PM, Fengguang Wu wrote: > On Sun, Sep 30, 2012 at 01:10:55PM +0200, Avi Kivity wrote: >> On 09/28/2012 05:35 AM, Paul E. McKenney wrote: >> > On Thu, Sep 27, 2012 at 12:40:44PM +0800, Fengguang Wu wrote: >> >> On Wed, Sep 26, 2012 at 09:28:50PM -0700, Paul E. McKenney wrote: >>

Re: INFO: rcu_preempt detected stalls on CPUs/tasks: { 1} (detected by 0, t=10002 jiffies)

2012-09-30 Thread Avi Kivity
On 09/30/2012 01:23 PM, Fengguang Wu wrote: > On Sun, Sep 30, 2012 at 01:10:55PM +0200, Avi Kivity wrote: >> On 09/28/2012 05:35 AM, Paul E. McKenney wrote: >> > On Thu, Sep 27, 2012 at 12:40:44PM +0800, Fengguang Wu wrote: >> >> On Wed, Sep 26, 2012 at 09:28:50PM -0700, Paul E. McKenney wrote: >>

Re: INFO: rcu_preempt detected stalls on CPUs/tasks: { 1} (detected by 0, t=10002 jiffies)

2012-09-30 Thread Fengguang Wu
On Sun, Sep 30, 2012 at 01:32:46PM +0200, Avi Kivity wrote: > On 09/30/2012 01:23 PM, Fengguang Wu wrote: > > On Sun, Sep 30, 2012 at 01:10:55PM +0200, Avi Kivity wrote: > >> On 09/28/2012 05:35 AM, Paul E. McKenney wrote: > >> > On Thu, Sep 27, 2012 at 12:40:44PM +0800, Fengguang Wu wrote: > >> >>

Re: [PATCH 09/15] KVM: ARM: Inject IRQs and FIQs from userspace

2012-09-30 Thread Will Deacon
Hi Christoffer, On Sat, Sep 29, 2012 at 04:50:25PM +0100, Christoffer Dall wrote: > On Tue, Sep 25, 2012 at 11:55 AM, Will Deacon wrote: > > On Sat, Sep 15, 2012 at 04:35:27PM +0100, Christoffer Dall wrote: > >> diff --git a/arch/arm/include/asm/kvm.h b/arch/arm/include/asm/kvm.h > >> index a13b5

Re: [kvmarm] [PATCH 10/15] KVM: ARM: World-switch implementation

2012-09-30 Thread Christoffer Dall
On Sun, Sep 30, 2012 at 5:48 AM, Peter Maydell wrote: > On 30 September 2012 01:33, Christoffer Dall > wrote: >> On Tue, Sep 25, 2012 at 1:42 PM, Marc Zyngier wrote: >>> Well, we're still in HYP mode when performing the pop, so the VMID is >>> pretty much irrelevant. Same for the initial push, a

Re: [PATCH 09/15] KVM: ARM: Inject IRQs and FIQs from userspace

2012-09-30 Thread Christoffer Dall
On Sun, Sep 30, 2012 at 8:48 AM, Will Deacon wrote: > Hi Christoffer, > > On Sat, Sep 29, 2012 at 04:50:25PM +0100, Christoffer Dall wrote: >> On Tue, Sep 25, 2012 at 11:55 AM, Will Deacon wrote: >> > On Sat, Sep 15, 2012 at 04:35:27PM +0100, Christoffer Dall wrote: >> >> diff --git a/arch/arm/in

Re: [PATCH 10/15] KVM: ARM: World-switch implementation

2012-09-30 Thread Christoffer Dall
On Tue, Sep 25, 2012 at 1:00 PM, Will Deacon wrote: > On Sat, Sep 15, 2012 at 04:35:33PM +0100, Christoffer Dall wrote: >> diff --git a/arch/arm/kernel/asm-offsets.c b/arch/arm/kernel/asm-offsets.c >> index 1429d89..cd8fc86 100644 >> --- a/arch/arm/kernel/asm-offsets.c >> +++ b/arch/arm/kernel/asm

Re: [PATCH 06/15] KVM: ARM: Initial skeleton to compile KVM support

2012-09-30 Thread Christoffer Dall
On Thu, Sep 27, 2012 at 10:13 AM, Will Deacon wrote: > On Wed, Sep 26, 2012 at 02:43:14AM +0100, Christoffer Dall wrote: >> On 09/25/2012 11:20 AM, Will Deacon wrote: >> >> +/* Multiprocessor Affinity Register */ >> >> +#define MPIDR_CPUID(0x3 << 0) >> > >> > I'm fairly sure we already have co

qemu-kvm: remove "boot=on|off" drive parameter compatibility

2012-09-30 Thread Marcelo Tosatti
Option is deprecated and warning has been in place for one year. Signed-off-by: Marcelo Tosatti diff --git a/blockdev.c b/blockdev.c index 4a5266e..7c83baa 100644 --- a/blockdev.c +++ b/blockdev.c @@ -432,12 +432,6 @@ DriveInfo *drive_init(QemuOpts *opts, int default_to_scsi) return NU

Re: [PATCH 14/15] KVM: ARM: Handle I/O aborts

2012-09-30 Thread Christoffer Dall
On Thu, Sep 27, 2012 at 11:11 AM, Will Deacon wrote: > On Sat, Sep 15, 2012 at 04:35:59PM +0100, Christoffer Dall wrote: >> When the guest accesses I/O memory this will create data abort >> exceptions and they are handled by decoding the HSR information >> (physical address, read/write, length, re

Re: [PATCH 1/1] kvmclock: fix guest stop notification

2012-09-30 Thread Marcelo Tosatti
On Thu, Sep 20, 2012 at 09:46:41AM -0300, Marcelo Tosatti wrote: > On Thu, Sep 20, 2012 at 01:55:20PM +0530, Amit Shah wrote: > > Commit f349c12c0434e29c79ecde89029320c4002f7253 added the guest stop > > notification, but it did it in a way that the stop notification would > > never reach the kernel

Re: qemu-kvm: remove "boot=on|off" drive parameter compatibility

2012-09-30 Thread Amos Kong
- Original Message - > > Option is deprecated and warning has been in place for one year. > > Signed-off-by: Marcelo Tosatti > > diff --git a/blockdev.c b/blockdev.c > index 4a5266e..7c83baa 100644 > --- a/blockdev.c > +++ b/blockdev.c > @@ -432,12 +432,6 @@ DriveInfo *drive_init(QemuOp

Re: [PATCH 1/1] kvmclock: fix guest stop notification

2012-09-30 Thread Amos Kong
- Original Message - > On Thu, Sep 20, 2012 at 09:46:41AM -0300, Marcelo Tosatti wrote: > > On Thu, Sep 20, 2012 at 01:55:20PM +0530, Amit Shah wrote: > > > Commit f349c12c0434e29c79ecde89029320c4002f7253 added the guest > > > stop In commitlog of f349c12c0434e29c79ecde89029320c4002f7253:

Re: [PATCH 03/15] ARM: Section based HYP idmap

2012-09-30 Thread Christoffer Dall
[snip] >> + >> +static int __init hyp_init_static_idmap(void) >> +{ >> + hyp_pgd = kzalloc(PTRS_PER_PGD * sizeof(pgd_t), GFP_KERNEL); >> + if (!hyp_pgd) >> + return -ENOMEM; >> + >> + hyp_idmap_setup(); >> + >> + return 0; >> +} >> +early_initcall(hyp_init_static_idmap)

Re: resize raw images

2012-09-30 Thread Kazuo Moriwaka
From: "Lentes, Bernd" Subject: resize raw images Date: Fri, 28 Sep 2012 18:14:45 +0200 > I also have to create some new vm's. What is when disk space is running out ? > My idea is to create the new vm's in raw images. Inside the vm, filesystems > will reside in logical volumes. When disk space i

RE: Audio starts working several hours after starting Windows Vista guest

2012-09-30 Thread Veruca Salt
Dirk, sometimes when windows detects new hardware on a write-protected image, it needs to reinstall it on boot. For USB controllers this is usually on a 10-15 minute cycle. It may use a similar service startup cycle for audio hardware. Is your Vista image in 'snapshot=off' mode? Simon -