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 synchronize_srcu was

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-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 @@ #includesys/mman.h #includelinux/kvm.h

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 --

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: [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 shared

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

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

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

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

[ 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=detailatid=893831aid=2930756group_id=180599 Please note that this message will contain a full copy of

[ 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=detailatid=893831aid=2930756group_id=180599 Please note that this message will contain a full copy of the

Re: Migration VMWare Server - KVM

2010-01-12 Thread Doug Goldstein
On Tue, Jan 12, 2010 at 10:20 AM, Thomas Beinicke thomas.beini...@fsd-web.de 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

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

[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

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 mtosa...@redhat.com 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 @@

[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 jan.kis...@siemens.com --- Note: This is the upstream version first. qemu-kvm differs in this area, I will post corresponding

[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 jan.kis...@siemens.com --- configure | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-)

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 is

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

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

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 jan.kis...@siemens.com 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

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 Kiszkajan.kis...@siemens.com Applied all. Thanks. Regards, Anthony Liguori ---

[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 jan.kis...@siemens.com --- configure | 11 +++ 1 files changed, 11 insertions(+),

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 jan.kis...@siemens.com 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

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 mgold...@redhat.com wrote: - Yolkfull Chow yz...@redhat.com 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

[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

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 buferes

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 shared

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 yz...@redhat.com 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 yz...@redhat.com ---

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 mgold...@redhat.com wrote: - Yolkfull Chow yz...@redhat.com wrote: If vm.remote_login failed 'session.close()' can result in exception in finally clause. This

[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 yz...@redhat.com --- client/tests/kvm/kvm_vm.py | 49 ++- 1

[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 yz...@redhat.com --- client/tests/kvm/tests/guest_s4.py | 10 +- 1 files changed,

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; k...@vger.kernel.org; kvm-ppc; Benjamin Herrenschmidt; Liu Yu Subject: Re: [PATCH 7/9] KVM: PPC: Emulate trap SRR1 flags properly