[Autotest PATCH 2/2] KVM-test: subtest guest_s4: Add check of if there's enough space left for S4

2010-01-12 Thread Yolkfull Chow
If disk has no enough space left, check S4 support will fail. Also use 'TestNAError' as error type if guest really doesn't support S4. (Thanks Jason for pointing this out. :) Signed-off-by: Yolkfull Chow --- client/tests/kvm/tests/guest_s4.py | 10 +- 1 files changed, 5 insertions(+),

[Autotest PATCH 1/2] KVM-test: Move two 'remote_login' out of try block in kvm_vm.py

2010-01-12 Thread Yolkfull Chow
'self.remote_login()' should be outside of try block. And as suggested by Michael, we need fix the problem that if self.remote_login() fails, session will be None. Signed-off-by: Yolkfull Chow --- client/tests/kvm/kvm_vm.py | 49 ++- 1 files changed, 2

Re: [Autotest] [AUTOTEST PATCH 2/2] KVM-test: Move two 'remote_login' out of try block in kvm_vm.py

2010-01-12 Thread Yolkfull Chow
On Tue, Jan 12, 2010 at 08:37:25PM -0200, Lucas Meneghel Rodrigues wrote: > On Thu, Dec 31, 2009 at 8:03 AM, Michael Goldish wrote: > > > > - "Yolkfull Chow" wrote: > > > >> If vm.remote_login failed 'session.close()' can result in exception > >> in finally clause. This patch fix the problem.

Re: [AUTOTEST PATCH 2/2] KVM-test: Move two 'remote_login' out of try block in kvm_vm.py

2010-01-12 Thread Yolkfull Chow
On Thu, Dec 31, 2009 at 05:03:21AM -0500, Michael Goldish wrote: > > - "Yolkfull Chow" wrote: > > > If vm.remote_login failed 'session.close()' can result in exception > > in finally clause. This patch fix the problem. > > > > Signed-off-by: Yolkfull Chow > > --- > > client/tests/kvm/kvm_

Re: [PATCH] KVM test: Add PCI device assignment support

2010-01-12 Thread Yolkfull Chow
On Tue, Jan 12, 2010 at 04:28:13PM -0200, Lucas Meneghel Rodrigues wrote: > 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 sh

LVM Snapshots for KVM virtual machine

2010-01-12 Thread J Nb
Hi How to co-ordinate VM snapshots and disk snapshots ? Here is a sequence I am thinking of automating.. 1.Tell VM to sync (say via ssh or some special agent) * This will do "sync" and any application specific hook to make it quiescent. 2. Tell VM/Hypervisor to flush all disk bufere

[PATCH] KVM test: KSM (kernel shared memory) overcommit test

2010-01-12 Thread Lucas Meneghel Rodrigues
Functionality: KSM test start guests. They are connect to guest over ssh. Copy and run allocator.py to guests. Host can run any python command over allocator.py loop on client side. Start run_ksm_overcommit. Define host and guest reserve variables (host_reserver,guest_reserver). Calculate am

Re: [Autotest] [AUTOTEST PATCH 2/2] KVM-test: Move two 'remote_login' out of try block in kvm_vm.py

2010-01-12 Thread Lucas Meneghel Rodrigues
On Thu, Dec 31, 2009 at 8:03 AM, Michael Goldish wrote: > > - "Yolkfull Chow" wrote: > >> If vm.remote_login failed 'session.close()' can result in exception >> in finally clause. This patch fix the problem. Hi Yolkfull, please implement Michael's comments and re-submit. Cheers, -- Lucas

Re: Migration VMWare Server -> KVM

2010-01-12 Thread Jernej Simončič
On Tuesday, January 12, 2010, 17:20:19, Thomas Beinicke wrote: > Does anyone has experience in with the migration process? As soon as I try to > boot it I get a bluescreen (probably related to the block IO driver used). I successfully migrated a Windows Vista x64 VM from VMWare Server to KVM. In

Re: [PATCH 1/2] kvm: Use kvm-kmod headers if available

2010-01-12 Thread Jan Kiszka
Doug Goldstein wrote: > On Tue, Jan 12, 2010 at 12:53 PM, Jan Kiszka wrote: >> Since kvm-kmod-2.6.32.2 we have an alternative source for recent KVM >> kernel headers. Use it when available and not overruled by --kerneldir. >> > > Would it be possible to turn this into a configure option? Such tha

[PATCH 2/2] qemu-kvm: Detect availability of kvm_para.h

2010-01-12 Thread Jan Kiszka
Will be required for upstream's KVM cpuid, so qemu-kvm will probably morph towards conditional paravirt support as well, depending on CONFIG_KVM_PARA. Make it available already. Signed-off-by: Jan Kiszka --- configure | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff -

[PATCH 1/2] qemu-kvm: Use kvm-kmod headers if available

2010-01-12 Thread Jan Kiszka
Since kvm-kmod-2.6.32.2 we have an alternative source for recent KVM kernel headers. Use it when available and not overruled by --kerneldir. If there is no kvm-kmod and no --kerneldir, we continue to fall back to the qemu-kvm's kernel headers. Signed-off-by: Jan Kiszka --- configure |3 +++

Re: [Qemu-devel] [PATCH 1/2] kvm: Use kvm-kmod headers if available

2010-01-12 Thread Anthony Liguori
On 01/12/2010 12:53 PM, Jan Kiszka wrote: Since kvm-kmod-2.6.32.2 we have an alternative source for recent KVM kernel headers. Use it when available and not overruled by --kerneldir. Signed-off-by: Jan Kiszka Applied all. Thanks. Regards, Anthony Liguori --- Note: This is the upstream

Re: [PATCH 1/2] kvm: Use kvm-kmod headers if available

2010-01-12 Thread Doug Goldstein
On Tue, Jan 12, 2010 at 12:53 PM, Jan Kiszka wrote: > Since kvm-kmod-2.6.32.2 we have an alternative source for recent KVM > kernel headers. Use it when available and not overruled by --kerneldir. > Would it be possible to turn this into a configure option? Such that I could say ./configure --wit

Re: KVM: properly check max PIC pin in irq route setup

2010-01-12 Thread Juan Quintela
Marcelo Tosatti wrote: > Otherwise memory beyond irq_states[16] might be accessed. > > Noticed by Juan Quintela. > > Signed-off-by: Marcelo Tosatti > > diff --git a/virt/kvm/irq_comm.c b/virt/kvm/irq_comm.c > index 9b07734..9fd5b3e 100644 > --- a/virt/kvm/irq_comm.c > +++ b/virt/kvm/irq_comm.c >

Re: Advice for Router Guest

2010-01-12 Thread Thomas Fjellstrom
On Tue January 12 2010, Aaron Clausen wrote: > I'm looking at moving from the router I'm running currently (a Linux > box) and moving it into a KVM guest. What are the recommendations for > the networking of the external interface? Should I just pass the NIC > card through via PCI passthrough or

[PATCH 1/2] kvm: Use kvm-kmod headers if available

2010-01-12 Thread Jan Kiszka
Since kvm-kmod-2.6.32.2 we have an alternative source for recent KVM kernel headers. Use it when available and not overruled by --kerneldir. Signed-off-by: Jan Kiszka --- Note: This is the upstream version first. qemu-kvm differs in this area, I will post corresponding patches for that tree late

[PATCH 2/2] kvm: Detect availability of kvm_para.h

2010-01-12 Thread Jan Kiszka
Will be required for upcoming KVM cpuid leaf. Host kernels >= 2.6.32 as well as future kvm-kmod releases (more recent than kvm-kmod-2.6.32.3) do/will provide them. Signed-off-by: Jan Kiszka --- configure | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/configu

KVM: properly check max PIC pin in irq route setup

2010-01-12 Thread Marcelo Tosatti
Otherwise memory beyond irq_states[16] might be accessed. Noticed by Juan Quintela. Signed-off-by: Marcelo Tosatti diff --git a/virt/kvm/irq_comm.c b/virt/kvm/irq_comm.c index 9b07734..9fd5b3e 100644 --- a/virt/kvm/irq_comm.c +++ b/virt/kvm/irq_comm.c @@ -302,6 +302,7 @@ static int setup_routi

[PATCH] KVM test: Add PCI device assignment support

2010-01-12 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

Advice for Router Guest

2010-01-12 Thread Aaron Clausen
I'm looking at moving from the router I'm running currently (a Linux box) and moving it into a KVM guest. What are the recommendations for the networking of the external interface? Should I just pass the NIC card through via PCI passthrough or is there a recommended way? -- Aaron Clausen mighty

Re: Migration VMWare Server -> KVM

2010-01-12 Thread Doug Goldstein
On Tue, Jan 12, 2010 at 10:20 AM, Thomas Beinicke wrote: > Hi all, > > I am trying to migrate lots of VMWare server VMs to KVM. The linux machines > are not much of a problem but the windows machines cause me some headaches. > > Does anyone has experience in with the migration process? As soon as

[ kvm-Bugs-2930756 ] sdl window intermittently scales instead of resizing

2010-01-12 Thread SourceForge.net
Bugs item #2930756, was opened at 2010-01-12 11:20 Message generated for change (Comment added) made by jamincollins You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2930756&group_id=180599 Please note that this message will contain a full copy of the comm

[ kvm-Bugs-2930756 ] sdl window intermittently scales instead of resizing

2010-01-12 Thread SourceForge.net
Bugs item #2930756, was opened at 2010-01-12 11:20 Message generated for change (Tracker Item Submitted) made by jamincollins You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2930756&group_id=180599 Please note that this message will contain a full copy of

KVM developer call minutes (Jan 12)

2010-01-12 Thread Chris Wright
Attendees: Avi, Dor, Gleb, Michael, Chris, Juan, John, Kevin, Armbru, Amit, Anthony, Glauber, AlexW, AlexG, Luiz, Jes Minutes (please reply w/ corrections or follow-ups): - administrivia - no plan to do formal attendance - above attendance list is approximate - discussion focused on issues

Migration VMWare Server -> KVM

2010-01-12 Thread Thomas Beinicke
Hi all, I am trying to migrate lots of VMWare server VMs to KVM. The linux machines are not much of a problem but the windows machines cause me some headaches. Does anyone has experience in with the migration process? As soon as I try to boot it I get a bluescreen (probably related to the block

Re: qemu-kvm.git build problem

2010-01-12 Thread Paul E. McKenney
On Tue, Jan 12, 2010 at 09:28:15AM +0100, Jan Kiszka wrote: > Paul E. McKenney wrote: > > On Tue, Jan 12, 2010 at 01:23:15AM +0100, Jan Kiszka wrote: > >> Jan Kiszka wrote: > >>> Avi Kivity wrote: > On 01/11/2010 12:13 PM, Jan Kiszka wrote: > > BTW, does anybody know how to back-port synch

Re: KVM: fix S390/IA-64 build failures introduced by memslot changes

2010-01-12 Thread Avi Kivity
On 01/11/2010 07:23 PM, Marcelo Tosatti wrote: Fix build failures introduced by memslot changes. Thanks, applied, and folded back into relevant kvm-updates/2.6.34 commits. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsub

Re: [PATCH] KVM test: Add PCI device assignment support

2010-01-12 Thread Yolkfull Chow
On Sun, Dec 27, 2009 at 09:55:56PM -0200, Lucas Meneghel Rodrigues wrote: > 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 sh

RE: [PATCH 7/9] KVM: PPC: Emulate trap SRR1 flags properly

2010-01-12 Thread Liu Yu-B13201
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Tuesday, January 12, 2010 8:08 AM > To: Liu Yu-B13201 > Cc: Hollis Blanchard; kvm@vger.kernel.org; kvm-ppc; Benjamin > Herrenschmidt; Liu Yu > Subject: Re: [PATCH 7/9] KVM: PPC: Emulate trap SRR1 flags properly

Re: KVM call agenda for Jan 12

2010-01-12 Thread Avi Kivity
On 01/12/2010 04:33 AM, Chris Wright wrote: Please send in any agenda items you are interested in covering. 1) administrivia 2) qemu 0.13 kvm feature merge issues 3) vhost-net todo's 3.1) vhost-net dma engine integration -- error compiling committee.c: too many arguments to function -- To

Re: [Qemu-devel] [PATCHv2] Add KVM paravirt cpuid leaf

2010-01-12 Thread Avi Kivity
On 01/11/2010 09:18 PM, Anthony Liguori wrote: On 01/07/2010 10:24 AM, Gleb Natapov wrote: diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 4084503..6a841de 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -17,6 +17,7 @@ #include #include +#include This breaks the build o

Re: [Qemu-devel] [PATCHv2] Add KVM paravirt cpuid leaf

2010-01-12 Thread Avi Kivity
On 01/12/2010 09:23 AM, Gleb Natapov wrote: On Mon, Jan 11, 2010 at 01:18:32PM -0600, Anthony Liguori wrote: On 01/07/2010 10:24 AM, Gleb Natapov wrote: diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 4084503..6a841de 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@

Re: qemu-kvm.git build problem

2010-01-12 Thread Jan Kiszka
Paul E. McKenney wrote: > On Tue, Jan 12, 2010 at 01:23:15AM +0100, Jan Kiszka wrote: >> Jan Kiszka wrote: >>> Avi Kivity wrote: On 01/11/2010 12:13 PM, Jan Kiszka wrote: > BTW, does anybody know how to back-port synchronize_srcu_expedited best? > It looked like a simple mapping to syn