Linux-next changes for module and virtio trees.

2012-10-02 Thread Rusty Russell
Hi Stephen, Please remove my quilt tree http://ozlabs.org/~rusty/kernel/rr-latest/ from linux-next, and use my git trees from now on: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git Branches: modules-next virtio-next For others: beware that these will

Re: [Qemu-devel] [PATCH] kvm: Set default accelerator to kvm if the host supports it

2012-10-02 Thread Markus Armbruster
Daniel P. Berrange berra...@redhat.com writes: On Mon, Oct 01, 2012 at 06:43:00PM +0200, Andreas Färber wrote: Hello Jan, Am 01.10.2012 16:34, schrieb Jan Kiszka: If we built a target for a host that supports KVM in principle, set the default accelerator to KVM as well. This also means

Re: qemu-kvm: remove boot=on|off drive parameter compatibility

2012-10-02 Thread Daniel P. Berrange
On Mon, Oct 01, 2012 at 08:19:29AM -0500, Anthony Liguori wrote: Jan Kiszka jan.kis...@siemens.com writes: I think at this point, none of this matters but I added the various distro maintainers to the thread. I think it's time for the distros to drop qemu-kvm and just ship qemu.git. Is

Re: [PATCH 0/2] virtio-scsi fixes for 3.6

2012-10-02 Thread James Bottomley
On Mon, 2012-10-01 at 15:11 +0200, Paolo Bonzini wrote: Il 26/07/2012 15:28, Paolo Bonzini ha scritto: James, patch 1 fixes scanning of LUNs whose number is greater than 255. QEMU passes a max_lun of 16383 (because it uses SAM numbering) but in Linux it must become 32768 (because LUNs

Re: vga passthrough // questions about pci passthrough

2012-10-02 Thread Martin Wolf
Hello, would a Memory Dump from inside the VM help solving the BSOD, or is that pointless? Thank you for your patience and help ;) Am 28.09.2012 18:29, schrieb Jan Kiszka: On 2012-09-28 17:50, Alex Williamson wrote: On Fri, 2012-09-28 at 10:12 +0200, Jan Kiszka wrote: On 2012-09-27 21:18,

Re: [Qemu-devel] Block Migration and xbzrle

2012-10-02 Thread lieven-lists
Orit Wasserman wrote: On 09/16/2012 01:39 PM, Peter Lieven wrote: Hi, I remember that this was broken some time ago and currently with qemu-kvm 1.2.0 I am still not able to use block migration plus xbzrle. The migration fails if both are used together. XBZRLE without block migration works.

Re: [PATCH 0/2] virtio-scsi fixes for 3.6

2012-10-02 Thread Paolo Bonzini
Il 02/10/2012 10:18, James Bottomley ha scritto: On Mon, 2012-10-01 at 15:11 +0200, Paolo Bonzini wrote: Il 26/07/2012 15:28, Paolo Bonzini ha scritto: James, patch 1 fixes scanning of LUNs whose number is greater than 255. QEMU passes a max_lun of 16383 (because it uses SAM numbering) but

Re: [PATCH v2 08/10] ARM: KVM: VGIC initialisation code

2012-10-02 Thread Will Deacon
On Mon, Oct 01, 2012 at 10:14:26AM +0100, Christoffer Dall wrote: From: Marc Zyngier marc.zyng...@arm.com Add the init code for the hypervisor, the virtual machine, and the virtual CPUs. An interrupt handler is also wired to allow the VGIC maintenance interrupts, used to deal with level

Re: [Qemu-devel] Block Migration and xbzrle

2012-10-02 Thread Orit Wasserman
On 10/02/2012 10:33 AM, lieven-li...@dlh.net wrote: Orit Wasserman wrote: On 09/16/2012 01:39 PM, Peter Lieven wrote: Hi, I remember that this was broken some time ago and currently with qemu-kvm 1.2.0 I am still not able to use block migration plus xbzrle. The migration fails if both are

Re: [Qemu-devel] Block Migration and xbzrle

2012-10-02 Thread Peter Lieven
Am 02.10.2012 um 11:28 schrieb Orit Wasserman: On 10/02/2012 10:33 AM, lieven-li...@dlh.net wrote: Orit Wasserman wrote: On 09/16/2012 01:39 PM, Peter Lieven wrote: Hi, I remember that this was broken some time ago and currently with qemu-kvm 1.2.0 I am still not able to use block

Re: Block Migration and xbzrle

2012-10-02 Thread Paolo Bonzini
Il 16/09/2012 12:39, Peter Lieven ha scritto: I remember that this was broken some time ago and currently with qemu-kvm 1.2.0 I am still not able to use block migration plus xbzrle. The migration fails if both are used together. XBZRLE without block migration works. Can someone please

Re: [Qemu-devel] [PATCH] kvm: Set default accelerator to kvm if the host supports it

2012-10-02 Thread Aurelien Jarno
On Tue, Oct 02, 2012 at 09:46:12AM +0200, Markus Armbruster wrote: Daniel P. Berrange berra...@redhat.com writes: On Mon, Oct 01, 2012 at 06:43:00PM +0200, Andreas Färber wrote: Hello Jan, Am 01.10.2012 16:34, schrieb Jan Kiszka: If we built a target for a host that supports KVM in

Re: Block Migration and xbzrle

2012-10-02 Thread Peter Lieven
Am 02.10.2012 um 11:38 schrieb Paolo Bonzini: Il 16/09/2012 12:39, Peter Lieven ha scritto: I remember that this was broken some time ago and currently with qemu-kvm 1.2.0 I am still not able to use block migration plus xbzrle. The migration fails if both are used together. XBZRLE without

Re: Block Migration and xbzrle

2012-10-02 Thread Paolo Bonzini
Il 02/10/2012 11:44, Peter Lieven ha scritto: Am 02.10.2012 um 11:38 schrieb Paolo Bonzini: Il 16/09/2012 12:39, Peter Lieven ha scritto: I remember that this was broken some time ago and currently with qemu-kvm 1.2.0 I am still not able to use block migration plus xbzrle. The migration

Re: [PATCH 1/2] KVM: PPC: e500: fix allocation size error on g2h_tlb1_map

2012-10-02 Thread Avi Kivity
On 10/01/2012 12:59 PM, Alexander Graf wrote: On 30.09.2012, at 13:29, Avi Kivity wrote: On 09/27/2012 09:59 PM, Alexander Graf wrote: Do you have the auto-autotest setup ready? I guess we can do it manually until it is. I do have a local autotest setup. Or what exactly are you

Re: [PATCH v2 08/10] ARM: KVM: VGIC initialisation code

2012-10-02 Thread Marc Zyngier
On Tue, 2 Oct 2012 10:24:13 +0100, Will Deacon will.dea...@arm.com wrote: On Mon, Oct 01, 2012 at 10:14:26AM +0100, Christoffer Dall wrote: From: Marc Zyngier marc.zyng...@arm.com Add the init code for the hypervisor, the virtual machine, and the virtual CPUs. An interrupt handler is also

Re: [Qemu-devel] Block Migration and xbzrle

2012-10-02 Thread Orit Wasserman
On 10/02/2012 11:30 AM, Peter Lieven wrote: Am 02.10.2012 um 11:28 schrieb Orit Wasserman: On 10/02/2012 10:33 AM, lieven-li...@dlh.net wrote: Orit Wasserman wrote: On 09/16/2012 01:39 PM, Peter Lieven wrote: Hi, I remember that this was broken some time ago and currently with qemu-kvm

Re: [PATCH 3/6] arch/powerpc/kvm/e500_tlb.c: fix error return code

2012-10-02 Thread Alexander Graf
On 05.08.2012, at 11:52, Julia Lawall wrote: From: Julia Lawall ju...@diku.dk Convert a 0 error return code to a negative one, as returned elsewhere in the function. A new label is also added to avoid freeing things that are known to not yet be allocated. A simplified version of the

KVM call minutes 2012-10-02

2012-10-02 Thread Juan Quintela
2012-10-02 -- - TODO to finish off qemu-kvm.git/master... (anthony) posibilibites: Problems of compatability (options, migration, ...) * configuration file to specify what versions are done * scripts that converts the format * documentation * look at argv[0] and start

Possible memory leak?

2012-10-02 Thread Kekio
Hi list, I have a CentOS 5.7 / kvm-88-3.el5.x86_64 and it gets at 99.9% mem used. I'm not able to explain all memory usage nor identify what is consuming all the memory. I've lost 100GB of memory that it's not being identified on procs RSS, slab structures. I really appreciate If somebody can

[PATCH 0/3] s390/kvm: misc fixes

2012-10-02 Thread Christian Borntraeger
Avi, Marcelo, here are some fixes for kvm on s390. Would be good if we could add s390/kvm: dont announce RRBM support for 3.7 since the current kvm claims a feature that we currently dont support. Everything else can be queued for the next merge window. Thanks Christian Borntraeger (1):

[PATCH 3/3] s390/kvm: dont announce RRBM support

2012-10-02 Thread Christian Borntraeger
Newer kernels (linux-next with the transparent huge page patches) use rrbm if the feature is announced via feature bit 66. RRBM will cause intercepts, so KVM does not handle it right now, causing an illegal instruction in the guest. The easy solution is to disable the feature bit for the guest.

[PATCH 1/3] s390/kvm: Interrupt injection bugfix

2012-10-02 Thread Christian Borntraeger
From: Jason J. Herne jjhe...@us.ibm.com EXTERNAL_CALL and EMERGENCY type interrupts need to preserve their interrupt code parameter when being injected from user space. Signed-off-by: Jason J. Herne jjhe...@us.ibm.com Reviewed-by: Cornelia Huck cornelia.h...@de.ibm.com Signed-off-by: Martin

[PATCH 2/3] s390/kvm: Add documentation for KVM_S390_INTERRUPT.

2012-10-02 Thread Christian Borntraeger
From: Cornelia Huck cornelia.h...@de.ibm.com Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com Signed-off-by: Martin Schwidefsky schwidef...@de.ibm.com Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com --- Documentation/virtual/kvm/api.txt | 33 + 1

Re: resize raw images

2012-10-02 Thread Stefan Hajnoczi
On Fri, Sep 28, 2012 at 6:14 PM, Lentes, Bernd bernd.len...@helmholtz-muenchen.de wrote: I also have to create some new vm's. What is when disk space is running out ? My idea is to create the new vm's in raw images. Inside the vm, filesystems will reside in logical volumes. When disk space is

Re: [PATCH] virtio-blk: Disable callback in virtblk_done()

2012-10-02 Thread Stefan Hajnoczi
On Thu, Sep 27, 2012 at 12:01 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 27/09/2012 02:10, Rusty Russell ha scritto: +do { +virtqueue_disable_cb(vq); +while ((vbr = virtqueue_get_buf(vblk-vq, len)) != NULL) { +if

Re: Linux-next changes for module and virtio trees.

2012-10-02 Thread Stephen Rothwell
Hi Rusty, On Tue, 02 Oct 2012 15:56:56 +0930 Rusty Russell ru...@rustcorp.com.au wrote: Please remove my quilt tree http://ozlabs.org/~rusty/kernel/rr-latest/ from linux-next, and use my git trees from now on: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git Branches:

Re: Block live migration without pausing VM

2012-10-02 Thread Stefan Hajnoczi
On Sun, Sep 23, 2012 at 5:03 PM, Felix Leimbach felix.leimb...@gmail.com wrote: I want to implement live-migration of a highly available VM but I cannot use shared storage. The -b option to the migrate command already allows for copying the block device (locally stored raw file) and that is

Re: [PATCH v2 08/10] ARM: KVM: VGIC initialisation code

2012-10-02 Thread Christoffer Dall
On Oct 2, 2012, at 6:25 AM, Marc Zyngier marc.zyng...@arm.com wrote: On Tue, 2 Oct 2012 10:24:13 +0100, Will Deacon will.dea...@arm.com wrote: On Mon, Oct 01, 2012 at 10:14:26AM +0100, Christoffer Dall wrote: From: Marc Zyngier marc.zyng...@arm.com Add the init code for the hypervisor,

Re: [kvmarm] [PATCH v2 08/10] ARM: KVM: VGIC initialisation code

2012-10-02 Thread Peter Maydell
On 2 October 2012 18:55, Christoffer Dall c.d...@virtualopensystems.com wrote: On Oct 2, 2012, at 6:25 AM, Marc Zyngier marc.zyng...@arm.com wrote: On Tue, 2 Oct 2012 10:24:13 +0100, Will Deacon will.dea...@arm.com We really don't want the physical memory map for the guest hardwired in the

Re: [kvmarm] [PATCH v2 08/10] ARM: KVM: VGIC initialisation code

2012-10-02 Thread Will Deacon
On Tue, Oct 02, 2012 at 07:31:43PM +0100, Peter Maydell wrote: We probably want to be passing in the base of the cpu-internal peripherals, rather than base of the GIC specifically. For the A15 these are the same thing, but that's not inherent [compare the A9 which has more devices at fixed

Re: [kvmarm] [PATCH v2 08/10] ARM: KVM: VGIC initialisation code

2012-10-02 Thread Peter Maydell
On 2 October 2012 20:28, Will Deacon will.dea...@arm.com wrote: On Tue, Oct 02, 2012 at 07:31:43PM +0100, Peter Maydell wrote: We probably want to be passing in the base of the cpu-internal peripherals, rather than base of the GIC specifically. For the A15 these are the same thing, but that's

Re: [PATCH 1/2] KVM: PPC: e500: fix allocation size error on g2h_tlb1_map

2012-10-02 Thread Avi Kivity
On 10/01/2012 12:59 PM, Alexander Graf wrote: On 30.09.2012, at 13:29, Avi Kivity wrote: On 09/27/2012 09:59 PM, Alexander Graf wrote: Do you have the auto-autotest setup ready? I guess we can do it manually until it is. I do have a local autotest setup. Or what exactly are you

Re: [PATCH 3/6] arch/powerpc/kvm/e500_tlb.c: fix error return code

2012-10-02 Thread Alexander Graf
On 05.08.2012, at 11:52, Julia Lawall wrote: From: Julia Lawall ju...@diku.dk Convert a 0 error return code to a negative one, as returned elsewhere in the function. A new label is also added to avoid freeing things that are known to not yet be allocated. A simplified version of the