Re: [patch 00/11] convert slotslock to SRCU v2

2009-12-24 Thread Sheng Yang
On Thursday 24 December 2009 22:56:38 Gleb Natapov wrote: > On Thu, Dec 24, 2009 at 10:30:24AM +0200, Avi Kivity wrote: > > On 12/23/2009 06:35 PM, Marcelo Tosatti wrote: > > >Addressing comments. > > > > Looks good. > > Looks good to me too. One small comment on the naming: kvm->memslots->memsl

[Autotest PATCH] KVM test: No need close session when login timeout

2009-12-24 Thread Amos Kong
If login timeout, wait_for() returned 'None' and assigned to 'session'. When call session.close(), this prlblem was caused: "AttributeError: 'NoneType' object has no attribute 'close'" Signed-off-by: Amos Kong --- client/tests/kvm/tests/timedrift_with_migration.py |3 ++- 1 files changed, 2

[Autotest PATCH] KVM test: Fixup memory size shown in 'GB' in get_memory_size

2009-12-24 Thread Yolkfull Chow
In guest RHEL-3.9 $mem_chk_cmd will catch memory size in GB which will be computed wrongly in get_memory_size. This patch fix the problem. Thanks akong for pointing this out. Signed-off-by: Yolkfull Chow --- client/tests/kvm/kvm_vm.py |6 +- 1 files changed, 5 insertions(+), 1 deletions

[ kvm-Bugs-2873263 ] Segfaults after resize window in monitor virtual console

2009-12-24 Thread SourceForge.net
Bugs item #2873263, was opened at 2009-10-06 10:30 Message generated for change (Comment added) made by kolobrod You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2873263&group_id=180599 Please note that this message will contain a full copy of the comment

[ kvm-Bugs-2899788 ] Guest has no response after migration

2009-12-24 Thread SourceForge.net
Bugs item #2899788, was opened at 2009-11-18 21:27 Message generated for change (Settings changed) made by haoxudong You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2899788&group_id=180599 Please note that this message will contain a full copy of the comm

Re: [Alacrityvm-devel] [GIT PULL] AlacrityVM guest drivers for 2.6.33

2009-12-24 Thread Ira W. Snyder
On Thu, Dec 24, 2009 at 11:09:39AM -0600, Anthony Liguori wrote: > On 12/23/2009 05:42 PM, Ira W. Snyder wrote: > > > > I've got a single PCI Host (master) with ~20 PCI slots. Physically, it > > is a backplane in a cPCI chassis, but the form factor is irrelevant. It > > is regular PCI from a softwa

Re: [GIT PULL] AlacrityVM guest drivers for 2.6.33

2009-12-24 Thread Roland Dreier
> > This is Linux virtualization, where _both_ the host and the guest source > > code > > is fully known, and bugs (if any) can be found with a high degree of > It may sound strange but Windows is very popular guest and last I > checked my HW there was no Windows sources there, but the an

Re: [ANNOUNCE] kvm-kmod-2.6.32.2

2009-12-24 Thread Daniel Bareiro
Hi, Jan. On Thursday, 24 December 2009 12:48:00 +0100, Jan Kiszka wrote: > Before continuing to pimp up the tree, let's quickly update kvm-kmod: > > This release follows latest KVM updates in stable 2.6.32 and also > includes the requested kvm kernel header installation. The latter is > specific

Re: [Alacrityvm-devel] [GIT PULL] AlacrityVM guest drivers for 2.6.33

2009-12-24 Thread Anthony Liguori
On 12/23/2009 05:42 PM, Ira W. Snyder wrote: I've got a single PCI Host (master) with ~20 PCI slots. Physically, it is a backplane in a cPCI chassis, but the form factor is irrelevant. It is regular PCI from a software perspective. Into this backplane, I plug up to 20 PCI Agents (slaves). They

Re: qemu-kvm-0.12 bug?

2009-12-24 Thread Thomas Treutner
On Thursday 24 December 2009 15:26:59 Avi Kivity wrote: > On 12/24/2009 12:50 AM, Bernhard Held wrote: > >> Which solves this problem, but introduces the next. My VMs are stuck at > >> boot, after "SeaBIOS...gPXE" nothing happens. > > > > Similar problem here with 0.12.1.1. > > > > I prefer to star

Re: [Alacrityvm-devel] [GIT PULL] AlacrityVM guest drivers for 2.6.33

2009-12-24 Thread Anthony Liguori
On 12/23/2009 10:52 PM, Kyle Moffett wrote: On Wed, Dec 23, 2009 at 17:58, Anthony Liguori wrote: Of course, the key feature of virtio is that it makes it possible for you to create your own enumeration mechanism if you're so inclined. See... the thing is... a lot of us random embedded board

Re: Soft lockups and cpu frequency scaling

2009-12-24 Thread Marcelo Tosatti
On Tue, Dec 22, 2009 at 02:16:49PM +0100, Martin Schmitt wrote: > All, > > I'm running a manually compiled KVM on CentOS 5.4. The KVM installation > has been carried over from CentOS 5.3, when KVM wasn't distributed with > the OS. (I tried to migrate to CentOS 5.4 native KVM support, but wasn't >

Re: [PATCHv2] provide correct pci routing information in mptable

2009-12-24 Thread Kevin O'Connor
On Thu, Dec 24, 2009 at 02:29:43PM +0200, Gleb Natapov wrote: > OpenBSD uses irq routing from mptable, but doesn't create it correctly > for PCI bus. This patch adds PCI routing info into mptable. Thanks - commit 928d4dff. -Kevin -- To unsubscribe from this list: send the line "unsubscribe kvm" i

Re: [PATCH] KVM: trivial document fixes

2009-12-24 Thread Marcelo Tosatti
On Thu, Dec 24, 2009 at 09:04:16AM +0800, Wu Fengguang wrote: > Signed-off-by: Wu Fengguang > --- > Documentation/kvm/api.txt | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of

Re: [patch 00/11] convert slotslock to SRCU v2

2009-12-24 Thread Gleb Natapov
On Thu, Dec 24, 2009 at 10:30:24AM +0200, Avi Kivity wrote: > On 12/23/2009 06:35 PM, Marcelo Tosatti wrote: > >Addressing comments. > > Looks good. > > Looks good to me too. -- Gleb. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a mess

Re: qemu-kvm-0.12 bug?

2009-12-24 Thread Avi Kivity
On 12/24/2009 12:50 AM, Bernhard Held wrote: I've switched from -0.11.0 to -0.12 and from 2.6.31.6 to 2.6.32.2 to try the new virtio-memory-API introduced in latest libvirt from git. I can start VMs f.e. by kvm -cdrom $someiso --enable-kvm but my domain configs to not work anymore. Jus

Re: [PATCH master, stable-0.12] linuxboot: fix gdt address calculation

2009-12-24 Thread Paolo Bonzini
On 12/24/2009 02:38 PM, Avi Kivity wrote: The gdt address calculation in linuxboot.bin is broken in two ways: first it loads %cs into %eax, but that instruction leaves the high bits of %eax undefined and we did not clear them. Secondly, we completely ignore the incorrect %eax, and use the undefi

Re: [Qemu-devel] [PATCH] Add definitions for current cpu models..

2009-12-24 Thread Avi Kivity
On 12/21/2009 08:46 AM, john cooper wrote: This adds definitions for contemporary processors which may be selected via -cpu, as an alternative to the existing use of -cpu qemu64 augmented with a series of feature flags. The primary motivation was determination of a least common denominator withi

[PATCH master, stable-0.12] linuxboot: fix gdt address calculation

2009-12-24 Thread Avi Kivity
The gdt address calculation in linuxboot.bin is broken in two ways: first it loads %cs into %eax, but that instruction leaves the high bits of %eax undefined and we did not clear them. Secondly, we completely ignore the incorrect %eax, and use the undefined %ebx instead. With these issues fixed,

Re: [PATCH 2/2] virtio_net: Defer skb allocation in receive path

2009-12-24 Thread Amit Shah
On (Thu) Dec 17 2009 [23:44:49], Shirley Ma wrote: > virtio_net receives packets from its pre-allocated vring buffers, then it > delivers these packets to upper layer protocols as skb buffs. So it's not > necessary to pre-allocate skb for each mergable buffer, then frees extra > skbs when buffers

Re: [PATCH 1/2] virtio: Add detach unused buffer from vring

2009-12-24 Thread Amit Shah
On (Thu) Dec 17 2009 [23:43:50], Shirley Ma wrote: > There's currently no way for a virtio driver to ask for unused > buffers, so it has to keep a list itself to reclaim them at shutdown. > This is redundant, since virtio_ring stores that information. So > add a new hook to do this: virtio_net wil

Re: [PATCH] Add definitions for current cpu models..

2009-12-24 Thread Marcelo Tosatti
On Mon, Dec 21, 2009 at 01:46:36AM -0500, john cooper wrote: > This adds definitions for contemporary processors > which may be selected via -cpu , as an > alternative to the existing use of -cpu qemu64 > augmented with a series of feature flags. > > The primary motivation was determination of a >

[PATCH] prevent acpi from rerouting SCI interrupt

2009-12-24 Thread Gleb Natapov
SCI interrupt in piix4 chipset is hardwired to gsi 9, but we allow it to be reconfigured by acpi. Fix this by providing fixed gsi for PCI device 1 pin 0. Signed-off-by: Gleb Natapov diff --git a/src/acpi-dsdt.dsl b/src/acpi-dsdt.dsl index cee038a..2bede25 100644 --- a/src/acpi-dsdt.dsl +++ b/s

[PATCHv2] provide correct pci routing information in mptable

2009-12-24 Thread Gleb Natapov
OpenBSD uses irq routing from mptable, but doesn't create it correctly for PCI bus. This patch adds PCI routing info into mptable. --- v1->v2: Don't create duplicate interrupt entries if more then 1 function use the same pin on one device. Signed-off-by: Gleb Natapov diff --git a/src/mptab

Re: qemu-kvm 0.12.1 undefined reference to `kvm_save_mpstate'

2009-12-24 Thread Avi Kivity
On 12/24/2009 01:00 PM, Mikolaj Kucharski wrote: Hi, I have the same issue with 0.12.1.1. You can try to reproduce the problem by running: ./configure --target-list=i386-softmmu --disable-kvm make V=1 Well, --disable-kvm is an unnatural state for qemu-kvm (should still work, though, so p

Re: kvm troubles

2009-12-24 Thread Avi Kivity
On 12/24/2009 01:03 PM, Divick Kishore wrote: I have even tried building from qemu-0.12.1 from source but I see the following errors : Use qemu-kvm-0.12.1.1 (may need --disable-xen). Upstream qemu-0.12.1 lacks smp support for kvm. -- error compiling committee.c: too many arguments to f

[ANNOUNCE] kvm-kmod-2.6.32.2

2009-12-24 Thread Jan Kiszka
Before continuing to pimp up the tree, let's quickly update kvm-kmod: This release follows latest KVM updates in stable 2.6.32 and also includes the requested kvm kernel header installation. The latter is specifically targeting at QEMU as, in contrast to KVM's QEMU tree, upstream does not carry th

Re: [PATCH qemu-kvm] device assignment: default requires IOMMU

2009-12-24 Thread Marcelo Tosatti
On Wed, Dec 23, 2009 at 02:40:20PM -0800, Chris Wright wrote: > [ resend, fixing email header, sorry for duplicate ] > > The default mode for device assignment is to rely on an IOMMU for > proper translations and a functioning device in the guest. The current > logic makes this requirement adviso

Re: kvm troubles

2009-12-24 Thread Thomas Mueller
Am Thu, 24 Dec 2009 16:33:38 +0530 schrieb Divick Kishore: > Hi, > I am trying to run qemu with kvm on my machine but with no > success. My system configuration is: > > Debian: 5.0.3 (lenny) > uname -a reports the following: > > Linux divkis01-pc 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2

kvm troubles

2009-12-24 Thread Divick Kishore
Hi, I am trying to run qemu with kvm on my machine but with no success. My system configuration is: Debian: 5.0.3 (lenny) uname -a reports the following: Linux divkis01-pc 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686 GNU/Linux The mother bios has virtualization enabled and my proces

Re: qemu-kvm 0.12.1 undefined reference to `kvm_save_mpstate'

2009-12-24 Thread Mikolaj Kucharski
Hi, I have the same issue with 0.12.1.1. You can try to reproduce the problem by running: ./configure --target-list=i386-softmmu --disable-kvm make V=1 Only i386-softmmu and x86_64-softmmu are affected by --disable-kvm: Target i386-softmmu: failure Target x86_64-softmmu: failure Target arm-sof

Re: [GIT PULL] AlacrityVM guest drivers for 2.6.33

2009-12-24 Thread Michael S. Tsirkin
On Wed, Dec 23, 2009 at 11:28:08AM -0800, Ira W. Snyder wrote: > On Wed, Dec 23, 2009 at 12:34:44PM -0500, Gregory Haskins wrote: > > On 12/23/09 1:15 AM, Kyle Moffett wrote: > > > On Tue, Dec 22, 2009 at 12:36, Gregory Haskins > > > wrote: > > >> On 12/22/09 2:57 AM, Ingo Molnar wrote: > > >>> *

Re: [GIT PULL] AlacrityVM guest drivers for 2.6.33

2009-12-24 Thread Gregory Haskins
On 12/23/09 4:01 PM, Avi Kivity wrote: > On 12/23/2009 10:36 PM, Avi Kivity wrote: >> On 12/23/2009 06:44 PM, Gregory Haskins wrote: >>> - Are a pure software concept >>> By design. In fact, I would describe it as "software to software >>> optimized" as opposed to trying to shoehorn into so

Re: [GIT PULL] AlacrityVM guest drivers for 2.6.33

2009-12-24 Thread Gregory Haskins
On 12/23/09 3:36 PM, Avi Kivity wrote: > On 12/23/2009 06:44 PM, Gregory Haskins wrote: >> >>> - Are a pure software concept >>> >> By design. In fact, I would describe it as "software to software >> optimized" as opposed to trying to shoehorn into something that was >> designed as a softw

[trivial patch] Add missing newline at the end of options list

2009-12-24 Thread Michael Tokarev
In qemu-kvm this place looks even more "interesting": -runas user Change to user id user just before starting the VM. -readconfig -writeconfig read/write config file-no-kvm disable KVM hardware virtualization -no-kvm-irqchip disable KVM kernel mode PIC/IOAPIC/LAP

Re: [patch 00/11] convert slotslock to SRCU v2

2009-12-24 Thread Avi Kivity
On 12/23/2009 06:35 PM, Marcelo Tosatti wrote: Addressing comments. Looks good. -- error compiling committee.c: too many arguments to function -- 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 h