Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Alexander Graf
On 20.08.2013, at 14:57, Aneesh Kumar K.V wrote: Alexander Graf ag...@suse.de writes: On 19.08.2013, at 09:25, Aneesh Kumar K.V wrote: Alexander Graf ag...@suse.de writes: On 11.08.2013, at 20:16, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Paul Mackerras
On Mon, Aug 19, 2013 at 10:21:09AM +0200, Alexander Graf wrote: On 19.08.2013, at 09:25, Aneesh Kumar K.V wrote: I noticed this when adding support for guest memory dumping via qemu gdb server. Now the array we get would look like below slbe0 slbv0 slbe1 slbv1 0

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Alexander Graf
On 21.08.2013, at 06:11, Paul Mackerras wrote: On Mon, Aug 19, 2013 at 10:21:09AM +0200, Alexander Graf wrote: On 19.08.2013, at 09:25, Aneesh Kumar K.V wrote: I noticed this when adding support for guest memory dumping via qemu gdb server. Now the array we get would look like below

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Alexander Graf
On 21.08.2013, at 08:37, Alexander Graf wrote: On 21.08.2013, at 06:11, Paul Mackerras wrote: On Mon, Aug 19, 2013 at 10:21:09AM +0200, Alexander Graf wrote: On 19.08.2013, at 09:25, Aneesh Kumar K.V wrote: I noticed this when adding support for guest memory dumping via qemu gdb

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Aneesh Kumar K.V
Alexander Graf ag...@suse.de writes: On 20.08.2013, at 14:57, Aneesh Kumar K.V wrote: Alexander Graf ag...@suse.de writes: On 19.08.2013, at 09:25, Aneesh Kumar K.V wrote: Alexander Graf ag...@suse.de writes: On 11.08.2013, at 20:16, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V

Re: Oracle RAC in libvirt+KVM environment

2013-08-21 Thread Paolo Bonzini
Il 21/08/2013 04:11, Timon Wang ha scritto: From the fedora 19 host: [root@fedora ~]# sg_inq /dev/sdc standard INQUIRY: PQual=0 Device_type=0 RMB=0 version=0x05 [SPC-3] [AERC=0] [TrmTsk=0] NormACA=0 HiSUP=0 Resp_data_format=0 SCCS=1 ACC=0 TPGS=1 3PC=0 Protect=0 [BQue=0]

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Paul Mackerras
On Wed, Aug 21, 2013 at 08:37:47AM +0100, Alexander Graf wrote: On 21.08.2013, at 06:11, Paul Mackerras wrote: On Mon, Aug 19, 2013 at 10:21:09AM +0200, Alexander Graf wrote: On 19.08.2013, at 09:25, Aneesh Kumar K.V wrote: I noticed this when adding support for guest memory dumping

Re: Oracle RAC in libvirt+KVM environment

2013-08-21 Thread Nicholas A. Bellinger
On Wed, 2013-08-21 at 11:09 +0200, Paolo Bonzini wrote: Il 21/08/2013 04:11, Timon Wang ha scritto: From the fedora 19 host: [root@fedora ~]# sg_inq /dev/sdc standard INQUIRY: PQual=0 Device_type=0 RMB=0 version=0x05 [SPC-3] [AERC=0] [TrmTsk=0] NormACA=0 HiSUP=0

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Alexander Graf
Am 21.08.2013 um 10:25 schrieb Paul Mackerras pau...@samba.org: On Wed, Aug 21, 2013 at 08:37:47AM +0100, Alexander Graf wrote: On 21.08.2013, at 06:11, Paul Mackerras wrote: On Mon, Aug 19, 2013 at 10:21:09AM +0200, Alexander Graf wrote: On 19.08.2013, at 09:25, Aneesh Kumar K.V

KVM in HA active/active + fault-tolerant configuration

2013-08-21 Thread g . danti
Hi all, I have a question about Linux KVM HA cluster. I understand that in a HA setup I can live migrate virtual machine between host that shares the same storage (via various methods, eg: DRDB). This enable us to migrate the VMs based on hosts loads and performance. ìMy current

Re: updated: kvm PCI todo wiki

2013-08-21 Thread Hannes Reinecke
On 08/21/2013 12:48 PM, Michael S. Tsirkin wrote: Hey guys, I've put up a wiki page with a kvm PCI todo list, mainly to avoid effort duplication, but also in the hope to draw attention to what I think we should try addressing in KVM: http://www.linux-kvm.org/page/PCITodo This page could cover

Re: updated: kvm PCI todo wiki

2013-08-21 Thread Vadim Rozenfeld
On Wed, 2013-08-21 at 14:45 +0200, Hannes Reinecke wrote: On 08/21/2013 12:48 PM, Michael S. Tsirkin wrote: Hey guys, I've put up a wiki page with a kvm PCI todo list, mainly to avoid effort duplication, but also in the hope to draw attention to what I think we should try addressing in

Re: updated: kvm PCI todo wiki

2013-08-21 Thread Michael S. Tsirkin
On Wed, Aug 21, 2013 at 02:45:36PM +0200, Hannes Reinecke wrote: On 08/21/2013 12:48 PM, Michael S. Tsirkin wrote: Hey guys, I've put up a wiki page with a kvm PCI todo list, mainly to avoid effort duplication, but also in the hope to draw attention to what I think we should try addressing

Re: [Qemu-devel] [PATCH qom-cpu for-next 1/2] cpu: Use QTAILQ for CPU list

2013-08-21 Thread Andreas Färber
Am 30.07.2013 18:55, schrieb Andreas Färber: Introduce CPU_FOREACH(), CPU_FOREACH_SAFE() and CPU_NEXT() shorthand macros. Signed-off-by: Andreas Färber afaer...@suse.de Needs the following addition now: diff --git a/hw/cpu/a15mpcore.c b/hw/cpu/a15mpcore.c index af182da..9d0e27e 100644 ---

Re: [Qemu-devel] [PATCH qom-cpu for-next 1/2] cpu: Use QTAILQ for CPU list

2013-08-21 Thread Peter Maydell
On 21 August 2013 15:12, Andreas Färber afaer...@suse.de wrote: -for (i = 0, cpu = first_cpu; i s-num_cpu; i++, cpu = cpu-next_cpu) { +i = 0; +CPU_FOREACH(cpu) { DeviceState *cpudev = DEVICE(cpu); int ppibase = s-num_irq - 32 + i * 32; + +if (i

[PATCH v2] vfio-pci: Use fdget() rather than eventfd_fget()

2013-08-21 Thread Alex Williamson
eventfd_fget() tests to see whether the file is an eventfd file, which we then immediately pass to eventfd_ctx_fileget(), which again tests whether the file is an eventfd file. Simplify slightly by using fdget() so that we only test that we're looking at an eventfd once. fget() could also be

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Aneesh Kumar K.V
Alexander Graf ag...@suse.de writes: On HV KVM yes, that would be the end of the list, but PR KVM could give you entry 0 containing esid==0 and vsid==0 followed by valid entries. Perhaps the best approach is to ignore any entries with SLB_ESID_V clear. That means we don't clear

Re: [Qemu-devel] [PATCH qom-cpu for-next 1/2] cpu: Use QTAILQ for CPU list

2013-08-21 Thread Andreas Färber
Am 21.08.2013 16:36, schrieb Peter Maydell: On 21 August 2013 15:12, Andreas Färber afaer...@suse.de wrote: -for (i = 0, cpu = first_cpu; i s-num_cpu; i++, cpu = cpu-next_cpu) { +i = 0; +CPU_FOREACH(cpu) { DeviceState *cpudev = DEVICE(cpu); int ppibase =

ppc kvm-unit-tests?

2013-08-21 Thread Andrew Jones
Hi Alex, I'm looking at adding arm to kvm-unit-tests. One the first things I'd like to do is clean up the kvm-unit-tests repo a bit. There's some arch-specific files (including ppc) laying around in the root dir that I'd sweep up before adding another arch to the mix. Although, checking the git

Re: [PATCH-v3 1/4] idr: Percpu ida

2013-08-21 Thread Christoph Lameter
On Fri, 16 Aug 2013, Nicholas A. Bellinger wrote: + spinlock_t lock; Remove the spinlock. + unsignednr_free; + unsignedfreelist[]; +}; + +static inline void move_tags(unsigned *dst, unsigned *dst_nr, +

Re: [Qemu-devel] Cross-Platform KVM

2013-08-21 Thread Andreas Färber
Hi, Am 16.08.2013 09:41, schrieb Wincy Van: Hi,there: I have implemented a version of cross-platform KVM. Now, it can works on Linux and Windows(kernel version 7600-9200, amd64). Is it useful? If so, I want make it as a branch of current KVM. Here are some screenshots: Let's CC the

Re: KVM in HA active/active + fault-tolerant configuration

2013-08-21 Thread Brian Jackson
On Wednesday, August 21, 2013 6:02:31 AM CDT, g.da...@assyoma.it wrote: Hi all, I have a question about Linux KVM HA cluster. I understand that in a HA setup I can live migrate virtual machine between host that shares the same storage (via various methods, eg: DRDB). This enable us to migrate

Re: KVM in HA active/active + fault-tolerant configuration

2013-08-21 Thread g . danti
On 2013-08-21 21:40, Brian Jackson wrote: On Wednesday, August 21, 2013 6:02:31 AM CDT, g.da...@assyoma.it wrote: Hi all, I have a question about Linux KVM HA cluster. I understand that in a HA setup I can live migrate virtual machine between host that shares the same storage (via various

Re: KVM in HA active/active + fault-tolerant configuration

2013-08-21 Thread Brian Jackson
On Wednesday, August 21, 2013 3:49:09 PM CDT, g.da...@assyoma.it wrote: On 2013-08-21 21:40, Brian Jackson wrote: On Wednesday, August 21, 2013 6:02:31 AM CDT, g.da...@assyoma.it wrote: ... Hi Brian, thank you for your reply. As I googled extensively without finding anything, I was prepared

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Alexander Graf
Am 21.08.2013 um 16:59 schrieb Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com: Alexander Graf ag...@suse.de writes: On HV KVM yes, that would be the end of the list, but PR KVM could give you entry 0 containing esid==0 and vsid==0 followed by valid entries. Perhaps the

Re: ppc kvm-unit-tests?

2013-08-21 Thread Alexander Graf
Am 21.08.2013 um 18:02 schrieb Andrew Jones drjo...@redhat.com: Hi Alex, I'm looking at adding arm to kvm-unit-tests. One the first things I'd like to do is clean up the kvm-unit-tests repo a bit. There's some arch-specific files (including ppc) laying around in the root dir that I'd

[Call for participation] Bi-Weekly KVM/ARM Technical Sync-up

2013-08-21 Thread Christoffer Dall
Hi all, Linaro is going to host a bi-weekly sync-up call for technical issues on KVM/ARM development. The KVM 32-bit and 64-bit maintainers as well as the QEMU ARM maintainer will typically be on the call. The first call will be held Tuesday August 27th. If you, your organization, or any of

Re: [Call for participation] Bi-Weekly KVM/ARM Technical Sync-up

2013-08-21 Thread Russell King - ARM Linux
On Wed, Aug 21, 2013 at 05:09:39PM -0700, Christoffer Dall wrote: Linaro is going to host a bi-weekly sync-up call for technical issues on KVM/ARM development. The KVM 32-bit and 64-bit maintainers as well as the QEMU ARM maintainer will typically be on the call. The first call will be held

Re: KVM in HA active/active + fault-tolerant configuration

2013-08-21 Thread Timon Wang
On Thu, Aug 22, 2013 at 5:47 AM, Brian Jackson i...@theiggy.com wrote: On Wednesday, August 21, 2013 3:49:09 PM CDT, g.da...@assyoma.it wrote: On 2013-08-21 21:40, Brian Jackson wrote: On Wednesday, August 21, 2013 6:02:31 AM CDT, g.da...@assyoma.it wrote: ... Hi Brian, thank you for

Re: [Call for participation] Bi-Weekly KVM/ARM Technical Sync-up

2013-08-21 Thread Christian Robottom Reis
On Thu, Aug 22, 2013 at 01:15:54AM +0100, Russell King - ARM Linux wrote: On Wed, Aug 21, 2013 at 05:09:39PM -0700, Christoffer Dall wrote: Linaro is going to host a bi-weekly sync-up call for technical issues on KVM/ARM development. The KVM 32-bit and 64-bit maintainers as well as the

Re: KVM in HA active/active + fault-tolerant configuration

2013-08-21 Thread Fam Zheng
On Wed, 08/21 22:49, g.da...@assyoma.it wrote: On 2013-08-21 21:40, Brian Jackson wrote: On Wednesday, August 21, 2013 6:02:31 AM CDT, g.da...@assyoma.it wrote: Hi all, I have a question about Linux KVM HA cluster. I understand that in a HA setup I can live migrate virtual machine between

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Paul Mackerras
On Mon, Aug 19, 2013 at 10:21:09AM +0200, Alexander Graf wrote: On 19.08.2013, at 09:25, Aneesh Kumar K.V wrote: I noticed this when adding support for guest memory dumping via qemu gdb server. Now the array we get would look like below slbe0 slbv0 slbe1 slbv1 0

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Aneesh Kumar K.V
Alexander Graf ag...@suse.de writes: On 20.08.2013, at 14:57, Aneesh Kumar K.V wrote: Alexander Graf ag...@suse.de writes: On 19.08.2013, at 09:25, Aneesh Kumar K.V wrote: Alexander Graf ag...@suse.de writes: On 11.08.2013, at 20:16, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Paul Mackerras
On Wed, Aug 21, 2013 at 08:37:47AM +0100, Alexander Graf wrote: On 21.08.2013, at 06:11, Paul Mackerras wrote: On Mon, Aug 19, 2013 at 10:21:09AM +0200, Alexander Graf wrote: On 19.08.2013, at 09:25, Aneesh Kumar K.V wrote: I noticed this when adding support for guest memory dumping

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Aneesh Kumar K.V
Alexander Graf ag...@suse.de writes: On HV KVM yes, that would be the end of the list, but PR KVM could give you entry 0 containing esid==0 and vsid==0 followed by valid entries. Perhaps the best approach is to ignore any entries with SLB_ESID_V clear. That means we don't clear

ppc kvm-unit-tests?

2013-08-21 Thread Andrew Jones
Hi Alex, I'm looking at adding arm to kvm-unit-tests. One the first things I'd like to do is clean up the kvm-unit-tests repo a bit. There's some arch-specific files (including ppc) laying around in the root dir that I'd sweep up before adding another arch to the mix. Although, checking the git

Re: [PATCH] target-ppc: Update slb array with correct index values.

2013-08-21 Thread Alexander Graf
Am 21.08.2013 um 16:59 schrieb Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com: Alexander Graf ag...@suse.de writes: On HV KVM yes, that would be the end of the list, but PR KVM could give you entry 0 containing esid==0 and vsid==0 followed by valid entries. Perhaps the