[PATCH] Merge branch 'qemu-cvs'

2009-03-15 Thread Avi Kivity
From: Avi Kivity a...@redhat.com * qemu-cvs: (29 commits) Make the ELF loader aware of backwards compatibility temporarily disable logging around pci config writes (Avi Kivity) stop dirty logging while updating cirrus bank memory (Glauber Costa) Add missing file Update changelog

Re: Build breakage between kvm-userspace.git HEAD and 2.6.29-rc8

2009-03-15 Thread Avi Kivity
Gregory Haskins wrote: Hi kvm-devs, Been away from the kvm scene for a while...hope everyone is well. FYI: There are a few build breakages between kvm-userspace.git HEAD (f29d402ab885d30bfa7350378cff911c9c17a226) when you compile against Linus' linux-2.6.git HEAD

[BUG] kvm-84 SIGFPE qemu/hw/cirrus_vga.c:734

2009-03-15 Thread Sukadev Bhattiprolu
Arithmetic exception in qemu/hw/cirrus_vga.c:734 Built the kvm-84 locally on Ubuntu 8.04, 2.6.24-19-generic kernel. My kernel prints a lot of debug (WARN_ON(1)) messages on boot up. The arithmetic exception seems to occur when this output goes to the newly created pty. If I add console=ttyS0

Re: [PATCH] kvm: external module: support building against Windriver 2.0 (kernel 2.6.21)

2009-03-15 Thread Avi Kivity
Jan Kiszka wrote: Bernhard Kohl wrote: This is needed to compile kvm in a Windriver 2.0 distribution (kernel 2.6.21). This kernel has an include file marker.h, but trace_mark is not defined there. So the compat code in kernel/include-compat/linux/marker.h is not included. I bet this

Re: missing kvm smp tlb flush in invlpg

2009-03-15 Thread Avi Kivity
Andrea Arcangeli wrote: From: Andrea Arcangeli aarca...@redhat.com While looking at invlpg out of sync code with Izik I think I noticed a missing smp tlb flush here. Without this the other cpu can still write to a freed host physical page. tlb smp flush must happen if rmap_remove is called

Re: [PATCH] KVM: IOAPIC: Do not check polarity

2009-03-15 Thread Avi Kivity
Bernhard Kohl wrote: NSN's proprietary OS DMX heavily depends on a correct BIOS MP table. From there it also gets the information for initialization of PCI devices. We defined the polarity and trigger mode as for standard PCI devices low level. The OS programs the ioapic the same way. Nothing

Re: Setting disk parameters in a VM

2009-03-15 Thread Avi Kivity
Bill Davidsen wrote: Based on a discussion in another list on ioschedulers, I added a few lines to my rc.local to set the scheduler to noop for disks with model QEMU*, to the scheduling in the VM will not be computing with the scheduling in the host. I wonder if the same thinking applies to

Re: Build breakage between kvm-userspace.git HEAD and 2.6.29-rc8

2009-03-15 Thread Gleb Natapov
On Sun, Mar 15, 2009 at 12:43:13PM +0200, Avi Kivity wrote: Gleb Natapov wrote: diff --git a/libkvm/libkvm.c b/libkvm/libkvm.c index 0ac1c28..3e6bef1 100644 --- a/libkvm/libkvm.c +++ b/libkvm/libkvm.c @@ -667,9 +667,14 @@ int kvm_set_irq_level(kvm_context_t kvm, int irq, int level, int

[ kvm-Bugs-2653899 ] seg fault with two nics

2009-03-15 Thread SourceForge.net
Bugs item #2653899, was opened at 2009-03-02 10:09 Message generated for change (Comment added) made by avik You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2653899group_id=180599 Please note that this message will contain a full copy of the comment

Re: Build breakage between kvm-userspace.git HEAD and 2.6.29-rc8

2009-03-15 Thread Gleb Natapov
On Sun, Mar 15, 2009 at 11:23:32AM +0200, Avi Kivity wrote: Gregory Haskins wrote: Hi kvm-devs, Been away from the kvm scene for a while...hope everyone is well. FYI: There are a few build breakages between kvm-userspace.git HEAD (f29d402ab885d30bfa7350378cff911c9c17a226) when you compile

Re: Build breakage between kvm-userspace.git HEAD and 2.6.29-rc8

2009-03-15 Thread Avi Kivity
Gleb Natapov wrote: diff --git a/libkvm/libkvm.c b/libkvm/libkvm.c index 0ac1c28..3e6bef1 100644 --- a/libkvm/libkvm.c +++ b/libkvm/libkvm.c @@ -667,9 +667,14 @@ int kvm_set_irq_level(kvm_context_t kvm, int irq, int level, int *status) if (r == -1)

Re: Build breakage between kvm-userspace.git HEAD and 2.6.29-rc8

2009-03-15 Thread Avi Kivity
Gleb Natapov wrote: Isn't #ifdef KVM_CAP_... sufficient? If it is defined it should imply everything needed for injection status is defined and works. It should be sufficient. Just extra care. Remove? I removed it locally and applied. -- error compiling committee.c: too many

[ kvm-Bugs-2687641 ] EXPLOITABLE failure to validate cr3 after KVM_SET_SREGS

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

Re: make rpm question...

2009-03-15 Thread Avi Kivity
Matt Vliet wrote: Hi, just a quick question about running make rpm on kvm-84. The build succeeds with no problems, but the two rpms is creates are: rpmtop/RPMS/i386/kvm-0.0-devel.i386.rpm rpmtop/RPMS/i386/kvm-debuginfo-0.0-devel.i386.rpm Is this just weird naming, or should I not be using

Re: why guests show Clocksource tsc unstable on bootup?

2009-03-15 Thread Avi Kivity
Tomasz Chmielewski wrote: Why do my guests show Clocksource tsc unstable on bootup? Linux expects the tsc to be monotonic and to have a 1:1 correspondence with real time, which isn't easy to achieve with virtualization. dmesg shows that kvm-clock was set as the primary cpu clock. Yet a

[ kvm-Bugs-2681442 ] Task Switch causes reboot

2009-03-15 Thread SourceForge.net
Bugs item #2681442, was opened at 2009-03-11 07:08 Message generated for change (Comment added) made by avik You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2681442group_id=180599 Please note that this message will contain a full copy of the comment

Re: [PATCH] do not free active mmu pages in free_mmu_pages()

2009-03-15 Thread Avi Kivity
Gleb Natapov wrote: free_mmu_pages() should only undo what alloc_mmu_pages() does. Signed-off-by: Gleb Natapov g...@redhat.com diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 2a36f7f..b625ed4 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -2638,14 +2638,6 @@

Re: why guests show Clocksource tsc unstable on bootup?

2009-03-15 Thread Tomasz Chmielewski
Avi Kivity schrieb: Tomasz Chmielewski wrote: Why do my guests show Clocksource tsc unstable on bootup? Linux expects the tsc to be monotonic and to have a 1:1 correspondence with real time, which isn't easy to achieve with virtualization. But the clocksource is kvm-clock, so why does the

Re: [PATCH] compile fix - avoid raw string literal

2009-03-15 Thread Avi Kivity
Jochen Roth wrote: This patch fixes compilation problems of kvm-userspace on current gcc 4.4 compilers which implement the following standard: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2442.htm Applied, thanks. Something's fishy with your mailer though - it wouldn't apply

Re: Setting disk parameters in a VM

2009-03-15 Thread Bill Davidsen
Avi Kivity wrote: Bill Davidsen wrote: Based on a discussion in another list on ioschedulers, I added a few lines to my rc.local to set the scheduler to noop for disks with model QEMU*, to the scheduling in the VM will not be computing with the scheduling in the host. I wonder if the same

[PATCH 0/2] kvm/e500: fix bugs

2009-03-15 Thread Liu Yu
Hollis, Finally I found the reason for unstable kvm in SMP. do you think the modification is OK? -- To unsubscribe from this list: send the line unsubscribe kvm-ppc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html