Re: KSM overcommit test review - 1st pass (issue183068)

2009-12-27 Thread Lucas Meneghel Rodrigues
Here is the full text of the review http://codereview.appspot.com/183068/diff/1/3 File client/tests/kvm/tests/ksm_overcommit.py (right): http://codereview.appspot.com/183068/diff/1/3#newcode5 client/tests/kvm/tests/ksm_overcommit.py:5: import random, string, math, os Here we have the import of st

Re: KSM overcommit test review - 1st pass (issue183068)

2009-12-27 Thread lookkas
Hi Jiri, thank you very much for your work! I have comments to make regarding to coding style as a first pass review. While reading them, please keep in mind autotest's coding standards: http://autotest.kernel.org/browser/trunk/CODING_STYLE Also, I have noticed lots of trailing spaces on lines.

Biweekly KVM Test report, kernel 3e0c78... qemu 17e36d...

2009-12-27 Thread Hao, Xudong
Hi, all This is KVM biweekly test result against kvm.git: 3e0c78729de88e8d82b5ce1c25b1c75d72dfbbea and qemu-kvm.git: 17e36de28675274e2533f16f19e55fe6acbeabeb. There is no new bugs during the two weeks. Live-Migration and Window7 installation issues was fixed and verified. One Fixed Issue:

[ kvm-Bugs-2902983 ] Window7 debug version installation fail on KVM

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

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

2009-12-27 Thread Amos Kong
On Sat, Dec 26, 2009 at 10:07:58AM -0500, Michael Goldish wrote: > > - "Amos Kong" wrote: > > > On Fri, Dec 25, 2009 at 08:28:18AM -0500, Michael Goldish wrote: > > > > > > - "Amos Kong" wrote: > > > > > > > If login timeout, wait_for() returned 'None' and assigned to > > > > 'session

[ kvm-Bugs-2902983 ] Window7 debug version installation fail on KVM

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

[ kvm-Bugs-2907597 ] qemu vnc server clips at 2560x1600

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

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

2009-12-27 Thread Gregory Haskins
On 12/27/09 8:49 AM, Avi Kivity wrote: > On 12/27/2009 03:39 PM, Gregory Haskins wrote: >> No, where we are is at the point where we demonstrate that your original >> statement that I did nothing to improve virtio was wrong. >> >> > > I stand by it. virtio + your patch does nothing without a

[PATCH] KVM test: Add PCI device assignment support

2009-12-27 Thread Lucas Meneghel Rodrigues
Add support to PCI device assignment on the kvm test. It supports both SR-IOV virtual functions and physical NIC card device assignment. Single Root I/O Virtualization (SR-IOV) allows a single PCI device to be shared amongst multiple virtual machines while retaining the performance benefit of assi

Re: [Autotest] [Autotest PATCH] KVM test: physical_resources_check subtest:Fixup `mem_chk_cmd' for rhel3.9

2009-12-27 Thread Lucas Meneghel Rodrigues
Applied, thanks! On Wed, Dec 23, 2009 at 6:39 AM, Yolkfull Chow wrote: > Signed-off-by: Yolkfull Chow > --- >  client/tests/kvm/tests_base.cfg.sample |    4 >  1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/client/tests/kvm/tests_base.cfg.sample > b/client/tests/kvm/test

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

2009-12-27 Thread Lucas Meneghel Rodrigues
Ok, I have changed statements in both timedrift_with_migration and timedrift_with_reboot to if session! Thanks for your comments, Michael and Amos! On Sat, Dec 26, 2009 at 1:07 PM, Michael Goldish wrote: > > - "Amos Kong" wrote: > >> On Fri, Dec 25, 2009 at 08:28:18AM -0500, Michael Goldish

Re: [Autotest] [KVM-AUTOTEST PATCH 2/2] KVM test: warn about corrupt PPM files after each test

2009-12-27 Thread Lucas Meneghel Rodrigues
Patch series applied, thanks! On Wed, Dec 23, 2009 at 2:32 PM, Michael Goldish wrote: > Signed-off-by: Michael Goldish > --- >  client/tests/kvm/kvm_preprocessing.py |    5 + >  1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/client/tests/kvm/kvm_preprocessing.py > b/clien

Re: qemu-kvm 0.12.1.1 multiple definition of mulu64 and muls64

2009-12-27 Thread Marcelo Tosatti
On Sat, Dec 26, 2009 at 11:41:51PM +, Mikolaj Kucharski wrote: > Hi, > > After adding dummy kvm_save_mpstate change from git I would compile all > softmmu targets as expected. Although I found another problem. I cannot > compile some `user' targets: Applied and queued for stable-0.12, thanks.

Re: [PATCH] KVM: Bump maximum vcpu count to 64

2009-12-27 Thread Marcelo Tosatti
On Sun, Dec 27, 2009 at 05:00:46PM +0200, Avi Kivity wrote: > With slots_lock converted to rcu, the entire kvm hotpath on modern processors > (with npt or ept) now scales beautifully. Increase the maximum vcpu count to > 64 to reflect this. > > Signed-off-by: Avi Kivity Applied, thanks. -- To

Re: Memory usage with qemu-kvm-0.12.1.1

2009-12-27 Thread Daniel Bareiro
Hi, Avi. On Sunday, 27 December 2009 19:33:31 +0200, Avi Kivity wrote: Also, qemu might be leaking memory. Please post 'pmap $pid' for all of your guests (do that before any of the other tests, on your swapped-out system). >>> --

Re: Memory usage with qemu-kvm-0.12.1.1

2009-12-27 Thread Avi Kivity
On 12/27/2009 07:20 PM, Avi Kivity wrote: On 12/27/2009 07:00 PM, Daniel Bareiro wrote: Also, qemu might be leaking memory. Please post 'pmap $pid' for all of your guests (do that before any of the other tests, on your swapped-out system).

[GIT PULL] KVM updates for 2.6.33-rc2

2009-12-27 Thread Marcelo Tosatti
Linus, please pull from git://git.kernel.org/pub/scm/virt/kvm/kvm.git kvm-updates/2.6.33 For the following KVM fixes. Alexander Graf (1): KVM: powerpc: Fix mtsrin in book3s_64 mmu Heiko Carstens (1): KVM: get rid of kvm_create_vm() unused label warning on s390 Jan Kiszka (1):

Re: Memory usage with qemu-kvm-0.12.1.1

2009-12-27 Thread Rik van Riel
On 12/27/2009 12:12 PM, Avi Kivity wrote: On 12/27/2009 06:45 PM, Rik van Riel wrote: If so, it doesn't copy sta...@kernel.org. Is it queued for -stable? I do not believe that it is queued for -stable. Do performance fixes fit with -stable policy? If it is a serious regression, I believe

Re: Memory usage with qemu-kvm-0.12.1.1

2009-12-27 Thread Avi Kivity
On 12/27/2009 07:00 PM, Daniel Bareiro wrote: Also, qemu might be leaking memory. Please post 'pmap $pid' for all of your guests (do that before any of the other tests, on your swapped-out system). - total

Re: Memory usage with qemu-kvm-0.12.1.1

2009-12-27 Thread Avi Kivity
On 12/27/2009 06:45 PM, Rik van Riel wrote: If so, it doesn't copy sta...@kernel.org. Is it queued for -stable? I do not believe that it is queued for -stable. Do performance fixes fit with -stable policy? If it is a serious regression, I believe it fits. -- error compiling committee.c:

Re: Memory usage with qemu-kvm-0.12.1.1

2009-12-27 Thread Daniel Bareiro
Hi, Avi. On Sunday, 27 December 2009 18:03:18 +0200, Avi Kivity wrote: >> I installed qemu-kvm-0.12.1.1 in one equipment of my house yesterday >> to test it with Linux 2.6.32 compiled by myself from the source code >> of kernel.org. >> [...] >> >> This is what I obtain with 'free' in the host: >

Re: Memory usage with qemu-kvm-0.12.1.1

2009-12-27 Thread Rik van Riel
On 12/27/2009 11:38 AM, Avi Kivity wrote: On 12/27/2009 06:32 PM, Rik van Riel wrote: Probably a regression in Linux swapping. Rik, Hugh, are you aware of any? Hugh posted something but it appears to be performance related, not causing early swap. Yes, it is a smal bug in the VM. A fix has be

RE: unable to assign devices with VT-d in KVM

2009-12-27 Thread Erez Shitrit
[I hope I didn't duplicate my response] I tried it, still have kernel-panic, Currently the message is: " MP-BIOS bug: 8254 timer not connected to IO-APIC Kernel panic - not syncing: IO-APIC + timer doesn't work! Try using the 'noapic' kernel parameter " Thanks, Erez -Original Message--

Re: Memory usage with qemu-kvm-0.12.1.1

2009-12-27 Thread Avi Kivity
On 12/27/2009 06:32 PM, Rik van Riel wrote: Probably a regression in Linux swapping. Rik, Hugh, are you aware of any? Hugh posted something but it appears to be performance related, not causing early swap. Yes, it is a smal bug in the VM. A fix has been committed to 2.6.33 already. Is this

Re: Memory usage with qemu-kvm-0.12.1.1

2009-12-27 Thread Rik van Riel
On 12/27/2009 11:03 AM, Avi Kivity wrote: On 12/27/2009 05:51 PM, Daniel Bareiro wrote: Hi, all! I installed qemu-kvm-0.12.1.1 in one equipment of my house yesterday to test it with Linux 2.6.32 compiled by myself from the source code of kernel.org. From the night of yesterday that I am observ

Re: Memory usage with qemu-kvm-0.12.1.1

2009-12-27 Thread Avi Kivity
On 12/27/2009 05:51 PM, Daniel Bareiro wrote: Hi, all! I installed qemu-kvm-0.12.1.1 in one equipment of my house yesterday to test it with Linux 2.6.32 compiled by myself from the source code of kernel.org. From the night of yesterday that I am observing a high use of swap. This is the Servic

Memory usage with qemu-kvm-0.12.1.1

2009-12-27 Thread Daniel Bareiro
Hi, all! I installed qemu-kvm-0.12.1.1 in one equipment of my house yesterday to test it with Linux 2.6.32 compiled by myself from the source code of kernel.org. From the night of yesterday that I am observing a high use of swap. This is the Service Log Entries from Nagios: 12-26-2009 21:57:33

[PATCH] KVM: Bump maximum vcpu count to 64

2009-12-27 Thread Avi Kivity
With slots_lock converted to rcu, the entire kvm hotpath on modern processors (with npt or ept) now scales beautifully. Increase the maximum vcpu count to 64 to reflect this. Signed-off-by: Avi Kivity --- arch/x86/include/asm/kvm_host.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-

Re: unable to assign devices with VT-d in KVM

2009-12-27 Thread Avi Kivity
On 12/27/2009 03:51 PM, Avi Kivity wrote: Can you try adding -cpu qemu64,vendorid=GenuineIntel? Sorry, the correct option is -cpu qemu64,vendor=GenuineIntel. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in t

Re: [GIT PULL] AlacrityVM guest drivers for 2.6.33

2009-12-27 Thread Gregory Haskins
On 12/27/09 8:49 AM, Avi Kivity wrote: > On 12/27/2009 03:34 PM, Gregory Haskins wrote: >> On 12/27/09 4:33 AM, Avi Kivity wrote: >> >>> On 12/24/2009 11:36 AM, Gregory Haskins wrote: >>> > As a twist on this, the VMware paravirt driver interface is so > hardware-like that they're g

Re: unable to assign devices with VT-d in KVM

2009-12-27 Thread Avi Kivity
On 12/27/2009 03:48 PM, Erez Shitrit wrote: The qemu commandline is: /usr/local/bin/qemu-system-x86_64 -m 1024 -boot c -net none -hda /sdb5/images/test2.img The guest kernel is rh5.4 The cpu type is: Intel(R) Xeon(R) CPU X5550 @ 2.67GHz With VT-d enabled. I loaded kvm

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

2009-12-27 Thread Avi Kivity
On 12/27/2009 03:39 PM, Gregory Haskins wrote: No, where we are is at the point where we demonstrate that your original statement that I did nothing to improve virtio was wrong. I stand by it. virtio + your patch does nothing without a ton more work (more or less equivalent to vhost-net)

Re: [GIT PULL] AlacrityVM guest drivers for 2.6.33

2009-12-27 Thread Avi Kivity
On 12/27/2009 03:34 PM, Gregory Haskins wrote: On 12/27/09 4:33 AM, Avi Kivity wrote: On 12/24/2009 11:36 AM, Gregory Haskins wrote: As a twist on this, the VMware paravirt driver interface is so hardware-like that they're getting hardware vendors to supply cards that implement it. T

RE: unable to assign devices with VT-d in KVM

2009-12-27 Thread Erez Shitrit
The qemu commandline is: /usr/local/bin/qemu-system-x86_64 -m 1024 -boot c -net none -hda /sdb5/images/test2.img The guest kernel is rh5.4 The cpu type is: Intel(R) Xeon(R) CPU X5550 @ 2.67GHz With VT-d enabled. I loaded kvm and kvm-intel [r...@sw379 2.6.18-179

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

2009-12-27 Thread Gregory Haskins
On 12/27/09 8:27 AM, Avi Kivity wrote: > On 12/27/2009 03:18 PM, Gregory Haskins wrote: >> On 12/27/09 4:15 AM, Avi Kivity wrote: >> >>> On 12/23/2009 11:21 PM, Gregory Haskins wrote: >>> That said, you are still incorrect. With what I proposed, the model will run as an in-kernel

Re: unable to assign devices with VT-d in KVM

2009-12-27 Thread Avi Kivity
On 12/27/2009 03:09 PM, Erez Shitrit wrote: Thanks, Now, it seams that I have a problem with the kvm, whenever I tried to create a new virtual machine and the kvm module is loaded I got kernel panic in the virtual machine. The panic: " ... Code: 0f 30 b8 76 00 13 00 89 d9 0f 30 48 c7 c6 17 41 2

Re: [GIT PULL] AlacrityVM guest drivers for 2.6.33

2009-12-27 Thread Gregory Haskins
On 12/27/09 4:33 AM, Avi Kivity wrote: > On 12/24/2009 11:36 AM, Gregory Haskins wrote: >>> As a twist on this, the VMware paravirt driver interface is so >>> hardware-like that they're getting hardware vendors to supply cards that >>> implement it. Try that with a pure software approach. >>>

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

2009-12-27 Thread Avi Kivity
On 12/27/2009 03:18 PM, Gregory Haskins wrote: On 12/27/09 4:15 AM, Avi Kivity wrote: On 12/23/2009 11:21 PM, Gregory Haskins wrote: That said, you are still incorrect. With what I proposed, the model will run as an in-kernel vbus device, and no longer run in userspace. It would ther

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

2009-12-27 Thread Gregory Haskins
On 12/27/09 4:15 AM, Avi Kivity wrote: > On 12/23/2009 11:21 PM, Gregory Haskins wrote: >> That said, you are still incorrect. With what I proposed, the model >> will run as an in-kernel vbus device, and no longer run in userspace. >> It would therefore improve virtio-net as I stated, much in the

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

2009-12-27 Thread Avi Kivity
On 12/23/2009 01:38 PM, Marcelo Tosatti wrote: Now that synchronize_srcu_expedited is in the tree, we can continue the convertion of slots_lock to SRCU. Results: up: Without this patchset, -smp 64 is simply unusable. An _idle_ Linux guest generates enough interrupts that the system is u

RE: unable to assign devices with VT-d in KVM

2009-12-27 Thread Erez Shitrit
Thanks, Now, it seams that I have a problem with the kvm, whenever I tried to create a new virtual machine and the kvm module is loaded I got kernel panic in the virtual machine. The panic: " ... Code: 0f 30 b8 76 00 13 00 89 d9 0f 30 48 c7 c6 17 41 2a 80 89 fa RIP [] setup_k7_watchdog+0x2d/0x7a

Re: unable to assign devices with VT-d in KVM

2009-12-27 Thread Avi Kivity
On 12/27/2009 12:07 PM, Erez Shitrit wrote: Hi, I am KVM newbie, trying to run and use the KVM. When I tried to assign pci device to new virtual machine I got the next error: /usr/local/bin/qemu-system-x86_64: invalid option -- '-pcidevice' I followed the instructions in the http://www.linux-kv

Re: unable to assign devices with VT-d in KVM

2009-12-27 Thread Thomas Mueller
> > > The qemu-system-x86_64 version is: > QEMU PC emulator version 0.11.91, Copyright (c) 2003-2008 > Fabrice Bellard there should be somewhere "kvm" or "qemu-kvm" in it. my version looks like that: QEMU PC emulator version 0.11.0 (qemu-kvm-0.11.0), Copyright (c) 2003-2008 Fabrice

Re: kernel memory allocation bug in 2.6.27.32-2.6.27.41 kvm section

2009-12-27 Thread Avi Kivity
On 12/17/2009 05:35 PM, Oscon wrote: Hello! I can't register new account in bugzilla.kernel.org. / my ISP's spamfilter problem (?) maybe./ -- I sent this mail to Greg KH (2.6.27.y maintainer), he sent me: "Can you get the kvm maintainers to agree that this is correct?

unable to assign devices with VT-d in KVM

2009-12-27 Thread Erez Shitrit
Hi, I am KVM newbie, trying to run and use the KVM. When I tried to assign pci device to new virtual machine I got the next error: /usr/local/bin/qemu-system-x86_64: invalid option -- '-pcidevice' I followed the instructions in the http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in

Re: [GIT PULL] AlacrityVM guest drivers for 2.6.33

2009-12-27 Thread Avi Kivity
On 12/24/2009 11:36 AM, Gregory Haskins wrote: As a twist on this, the VMware paravirt driver interface is so hardware-like that they're getting hardware vendors to supply cards that implement it. Try that with a pure software approach. Any hardware engineer (myself included) will tell yo

Re: [GIT PULL] AlacrityVM guest drivers for 2.6.33

2009-12-27 Thread Avi Kivity
On 12/24/2009 11:31 AM, Gregory Haskins wrote: 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 t

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

2009-12-27 Thread Avi Kivity
On 12/23/2009 11:21 PM, Gregory Haskins wrote: That said, you are still incorrect. With what I proposed, the model will run as an in-kernel vbus device, and no longer run in userspace. It would therefore improve virtio-net as I stated, much in the same way vhost-net or venet-tap do today.