Re: [PATCH] kvm tools: powerpc: Implement "system-reboot" RTAS call

2013-08-12 Thread Pekka Enberg
On Tue, Aug 13, 2013 at 8:48 AM, Michael Ellerman wrote: > On some powerpc systems, reboot is implemented by an RTAS call by the > name of "system-reboot". Currently we don't implement it in kvmtool, > which means instead the guest prints an error and spins. > > This is particularly annoying becau

[PATCH] kvm tools: powerpc: Implement "system-reboot" RTAS call

2013-08-12 Thread Michael Ellerman
On some powerpc systems, reboot is implemented by an RTAS call by the name of "system-reboot". Currently we don't implement it in kvmtool, which means instead the guest prints an error and spins. This is particularly annoying because when the guest kernel panics it will try to reboot, and end up s

Re: [Qemu-devel] Are there plans to achieve ram live Snapshot feature?

2013-08-12 Thread Wenchao Xia
于 2013-8-12 19:33, Stefan Hajnoczi 写道: On Mon, Aug 12, 2013 at 12:26 PM, Alex Bligh wrote: --On 12 August 2013 11:59:03 +0200 Stefan Hajnoczi wrote: The idea that was discussed on qemu-de...@nongnu.org uses fork(2) to capture the state of guest RAM and then send it back to the parent process

[uq/master patch 2/2] kvm-all.c: max_cpus should not exceed KVM vcpu limit

2013-08-12 Thread Marcelo Tosatti
maxcpus, which specifies the maximum number of hotpluggable CPUs, should not exceed KVM's vcpu limit. Signed-off-by: Marcelo Tosatti Index: qemu/kvm-all.c === --- qemu.orig/kvm-all.c +++ qemu/kvm-all.c @@ -1391,6 +1391,13 @@ int kvm

[uq/master patch 1/2] kvm-all.c: use recommended max vcpus limit

2013-08-12 Thread Marcelo Tosatti
Commit 8c3ba334f8588e1d5099f8602cf01897720e0eca, "KVM: x86: Raise the hard VCPU count limit", upstream introduced the notion of a recommended vcpu max limit. Switch the order so the recommended vcpu max limit is used instead of the actual max vcpu limit. Signed-off-by: Marcelo Tosatti Index: qe

[uq/master patch 0/2] kvm max vcpu limit fixes

2013-08-12 Thread Marcelo Tosatti
1) Use recommended vcpu limit instead of max vcpu limit 2) Do not allow max_cpus > max_vcpus -- 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 http://vger.kernel.org/majordomo-info.html

RE: [PATCH 6/6 v3] kvm: powerpc: use caching attributes as per linux pte

2013-08-12 Thread Bhushan Bharat-R65777
> -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, August 10, 2013 6:35 AM > To: Bhushan Bharat-R65777 > Cc: b...@kernel.crashing.org; ag...@suse.de; pau...@samba.org; > kvm@vger.kernel.org; kvm-...@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > Bhushan Bharat-R65777 > Su

[PATCH v2] ARM: KVM: Simplify tracepoint text

2013-08-12 Thread Christoffer Dall
The tracepoint for kvm_guest_fault was extremely long, make it a slightly bit shorter. Cc: Sergei Shtylyov Signed-off-by: Christoffer Dall --- Changelog[v1 -> v2]: - Remove redundant 0x prefixes arch/arm/kvm/trace.h |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] tile: support KVM for tilegx

2013-08-12 Thread Jan Kiszka
On 2013-08-12 17:24, Chris Metcalf wrote: > This change provides the initial framework support for KVM on tilegx. > Basic virtual disk and networking is supported. > > Signed-off-by: Chris Metcalf > --- ... > diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h > index acccd08..d387

Corner cases of I/O bitmap

2013-08-12 Thread Arthur Chunqi Li
Hi Gleb and Paolo, There are some corner cases when testing I/O bitmaps, and I don't know the exact action of HW. 1. If we set bit of 0x4000 in bitmap and call inl(0x3) or inl(0x4000) in guest, what will get of exit information? 2. What will we get when calling inl(0x) in guest with/witho

Re: [Qemu-devel] Are there plans to achieve ram live Snapshot feature?

2013-08-12 Thread Stefan Hajnoczi
On Mon, Aug 12, 2013 at 12:26 PM, Alex Bligh wrote: > --On 12 August 2013 11:59:03 +0200 Stefan Hajnoczi > wrote: > >> The idea that was discussed on qemu-de...@nongnu.org uses fork(2) to >> capture the state of guest RAM and then send it back to the parent >> process. The guest is only paused f

Re: [Qemu-devel] Are there plans to achieve ram live Snapshot feature?

2013-08-12 Thread Alex Bligh
--On 12 August 2013 11:59:03 +0200 Stefan Hajnoczi wrote: The idea that was discussed on qemu-de...@nongnu.org uses fork(2) to capture the state of guest RAM and then send it back to the parent process. The guest is only paused for a brief instant during fork(2) and can continue to run aft

Re: Oracle RAC in libvirt+KVM environment

2013-08-12 Thread Timon Wang
Yes, SCSI bus likes pass through a shared LUN to the vm, and I am using a shared LUN for 'share' purpose. I found a post that vmware use lsilogic bus for the shared disk, but my qemu/kvm version can't support lsilogic bus. I'm tring to update qemu/kvm version for lsilogic bus support. On 8/12/1

Re: [PATCH 11/23] KVM: PPC: Book3S PR: Allocate kvm_vcpu structs from kvm_vcpu_cache

2013-08-12 Thread Aneesh Kumar K.V
Paul Mackerras writes: > This makes PR KVM allocate its kvm_vcpu structs from the kvm_vcpu_cache > rather than having them embedded in the kvmppc_vcpu_book3s struct, > which is allocated with vzalloc. The reason is to reduce the > differences between PR and HV KVM in order to make is easier to h

Re: [Qemu-devel] Are there plans to achieve ram live Snapshot feature?

2013-08-12 Thread Stefan Hajnoczi
On Fri, Aug 09, 2013 at 10:20:49AM +, Chijianchun wrote: > Now in KVM, when RAM snapshot, vcpus needs stopped, it is Unfriendly > restrictions to users. > > Are there plans to achieve ram live Snapshot feature? > > in my mind, Snapshots can not occupy additional too much memory, So when the

Re: Oracle RAC in libvirt+KVM environment

2013-08-12 Thread Stefan Hajnoczi
On Sat, Aug 10, 2013 at 11:14:39AM +0800, Timon Wang wrote: > I have tryied change the disk bus to SCSI, add a SCSI controller whose > model is virtio-scsi, still can't setup the RAC instance. > > I tried to use windows 2008 Failover Cluster feature to setup a a > Failover Cluster instead, and I c

Re: Oracle RAC in libvirt+KVM environment

2013-08-12 Thread Stefan Hajnoczi
On Fri, Aug 02, 2013 at 01:58:24PM +0800, Timon Wang wrote: > We wan't to setup two Oracle instance and make RAC work on them. > Both VM are setup based on libvirt + KVM, we use a lvm lun which > formated in qcow2 format and set the shareable properties in the disk > driver like this: > > >

RE: KVM Test report, kernel bf640876... qemu 0779caeb...

2013-08-12 Thread Ren, Yongjie
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Thursday, August 08, 2013 8:24 PM > To: Ren, Yongjie > Cc: Arthur Chunqi Li; Gleb Natapov; kvm@vger.kernel.org > Subject: Re: KVM Test report, kernel bf640876... qemu 0779caeb... > > > > I can't trace the bug,