Re: [Qemu-devel] [PATCH for-1.5 v2 0/5] virtio: fix bus command line compatibility.

2013-05-02 Thread Cornelia Huck
-serial0.0' not found Seems to look sane on s390-virtio and virtio-ccw. Tested-by: Cornelia Huck cornelia.h...@de.ibm.com So this sets the name of those bus before the virtio-device's init. KONRAD Frederic (5): virtio-x-bus: force bus name to virtio-bus. virtio: add

Re: [Qemu-devel] [RFC PATCH V8 06/15] virtio-s390-bus : Add virtio-s390-bus.

2012-12-19 Thread Cornelia Huck
On Wed, 19 Dec 2012 10:53:32 +0100 fred.kon...@greensocs.com wrote: From: KONRAD Frederic fred.kon...@greensocs.com Introduce virtio-s390-bus, which extends virtio-bus. It is used with s390 transport device. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com ---

[Qemu-devel] [PATCH 1/2] s390: Add a hypercall registration interface.

2013-01-16 Thread Cornelia Huck
Allow virtio machines to register for different diag500 function codes and convert s390-virtio to use it. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/s390-virtio.c | 94 hw/s390-virtio.h | 23 +++ hw

[Qemu-devel] [PATCH 0/2] s390-virtio: Some cleanups.

2013-01-16 Thread Cornelia Huck
interface. The second one factors initialization code that also can be used by other machines out into exported functions. Cornelia Huck (2): s390: Add a hypercall registration interface. s390-virtio: Factor out some initialization code. hw/s390-virtio.c | 222

[Qemu-devel] [PATCH 2/2] s390-virtio: Factor out some initialization code.

2013-01-16 Thread Cornelia Huck
Some of the machine initialization for s390-virtio will be reused by virtio-ccw. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/s390-virtio.c | 134 --- hw/s390-virtio.h | 6 +++ 2 files changed, 85 insertions(+), 55 deletions

Re: [Qemu-devel] [PATCH 1/2] s390: Add a hypercall registration interface.

2013-01-16 Thread Cornelia Huck
On Wed, 16 Jan 2013 13:17:34 +0100 Alexander Graf ag...@suse.de wrote: On 16.01.2013, at 12:57, Cornelia Huck wrote: Allow virtio machines to register for different diag500 function codes and convert s390-virtio to use it. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com

Re: [Qemu-devel] [PATCH 2/2] s390-virtio: Factor out some initialization code.

2013-01-16 Thread Cornelia Huck
On Wed, 16 Jan 2013 13:41:10 +0100 Andreas Färber afaer...@suse.de wrote: Am 16.01.2013 12:57, schrieb Cornelia Huck: diff --git a/hw/s390-virtio.h b/hw/s390-virtio.h index cd88179..acd4846 100644 --- a/hw/s390-virtio.h +++ b/hw/s390-virtio.h @@ -20,4 +20,10 @@ typedef int

[Qemu-devel] [PATCH v2] s390-virtio hcall interface.

2013-01-16 Thread Cornelia Huck
Hi, here's the second version of the diag500 hcall registration interface, with the calling convention tweaked a bit. Cornelia Huck (1): s390: Add a hypercall registration interface. hw/s390-virtio.c | 90 +++- hw/s390-virtio.h

Re: [Qemu-devel] [PATCH 8/8] s390: Add new channel I/O based virtio transport.

2013-01-16 Thread Cornelia Huck
On Wed, 16 Jan 2013 14:53:06 +0100 Alexander Graf ag...@suse.de wrote: On 16.01.2013, at 14:24, Alexander Graf wrote: On 07.12.2012, at 13:50, Cornelia Huck wrote: Add a new virtio transport that uses channel commands to perform virtio operations. Add a new machine type s390

[Qemu-devel] [PATCH v5 00/12] s390: channel I/O support in qemu.

2013-01-17 Thread Cornelia Huck
various defines for magic constants. - Introduce helpers for various mapping stuff and use them. - Adapt virtio-ccw to QOM conventions. - Move the new s390-ccw-virtio machine into an extra file (and an extra patch). - Improve cpu handling during machine init (don't pass around env). Cornelia Huck (12

[Qemu-devel] [PATCH 12/12] s390: Add s390-ccw-virtio machine.

2013-01-17 Thread Cornelia Huck
Add a new machine type, s390-ccw-virtio, making use of the virtio-ccw transport to present virtio devices as channel devices and make it the default on s390. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/s390-virtio.c | 1 - hw/s390-virtio.h | 1 + hw/s390x

[Qemu-devel] [PATCH 04/12] Update linux headers.

2013-01-17 Thread Cornelia Huck
Base is kvm-next as of 2013/01/16. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- linux-headers/asm-generic/kvm_para.h | 4 linux-headers/asm-powerpc/kvm_para.h | 2 +- linux-headers/linux/kvm.h| 21 + 3 files changed, 26 insertions(+), 1

[Qemu-devel] [PATCH 05/12] s390: Channel I/O basic defintions.

2013-01-17 Thread Cornelia Huck
Basic channel I/O structures and helper function. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- target-s390x/Makefile.objs | 2 +- target-s390x/cpu.h | 5 ++ target-s390x/ioinst.c | 36 target-s390x/ioinst.h | 207

[Qemu-devel] [PATCH 07/12] s390: Add channel I/O instructions.

2013-01-17 Thread Cornelia Huck
Provide handlers for (most) channel I/O instructions. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- target-s390x/cpu.h| 101 target-s390x/ioinst.c | 673 ++ target-s390x/ioinst.h | 16 ++ trace-events | 6 + 4

[Qemu-devel] [PATCH 01/12] s390: Add a hypercall registration interface.

2013-01-17 Thread Cornelia Huck
Allow virtio machines to register for different diag500 function codes and convert s390-virtio to use it. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/s390-virtio.c | 90 +++- hw/s390-virtio.h | 22 +++ hw

[Qemu-devel] [PATCH 11/12] s390-virtio: Factor out some initialization code.

2013-01-17 Thread Cornelia Huck
Some of the machine initialization for s390-virtio will be reused by virtio-ccw. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/s390-virtio.c | 155 ++- hw/s390-virtio.h | 5 ++ 2 files changed, 91 insertions(+), 69 deletions

[Qemu-devel] [PATCH 10/12] s390: Add new channel I/O based virtio transport.

2013-01-17 Thread Cornelia Huck
Add a new virtio transport that uses channel commands to perform virtio operations. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/s390x/Makefile.objs | 1 + hw/s390x/virtio-ccw.c | 906 + hw/s390x/virtio-ccw.h | 79 + trace

[Qemu-devel] [PATCH 08/12] s390: Virtual channel subsystem support.

2013-01-17 Thread Cornelia Huck
Provide a mechanism for qemu to provide fully virtual subchannels to the guest. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/s390x/Makefile.objs |1 + hw/s390x/css.c | 1131 hw/s390x/css.h | 92 target

[Qemu-devel] [PATCH 02/12] s390: Lowcore mapping helper.

2013-01-17 Thread Cornelia Huck
Create a lowcore mapping helper that includes a check for sufficient length. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- target-s390x/helper.c | 31 +-- 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/target-s390x/helper.c b/target-s390x

[Qemu-devel] [PATCH 03/12] s390: Add mapping helper functions.

2013-01-17 Thread Cornelia Huck
Add s390_cpu_physical_memory_{map,unmap} with special handling for the lowcore. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- target-s390x/cpu.h| 4 target-s390x/helper.c | 26 ++ 2 files changed, 30 insertions(+) diff --git a/target-s390x/cpu.h b

[Qemu-devel] [PATCH 06/12] s390: I/O interrupt and machine check injection.

2013-01-17 Thread Cornelia Huck
I/O interrupts are queued per isc. Only crw pending machine checks are supported. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- target-s390x/cpu.h| 69 +++- target-s390x/helper.c | 143 ++ 2 files changed, 211

[Qemu-devel] [PATCH 09/12] s390: Wire up channel I/O in kvm.

2013-01-17 Thread Cornelia Huck
Trigger the code for our virtual css in case of instruction intercepts for I/O instructions. Handle the tsch exit for the subchannel-related part of tsch. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- target-s390x/cpu.h | 11 +++ target-s390x/kvm.c | 252

Re: [Qemu-devel] [PATCH 04/12] Update linux headers.

2013-01-17 Thread Cornelia Huck
On Thu, 17 Jan 2013 15:05:46 + Peter Maydell peter.mayd...@linaro.org wrote: On 17 January 2013 14:23, Cornelia Huck cornelia.h...@de.ibm.com wrote: Base is kvm-next as of 2013/01/16. --- a/linux-headers/asm-powerpc/kvm_para.h +++ b/linux-headers/asm-powerpc/kvm_para.h @@ -78,7

[Qemu-devel] [PATCH 02/11] s390: Add mapping helper functions.

2013-01-24 Thread Cornelia Huck
Add s390_cpu_physical_memory_{map,unmap} with special handling for the lowcore. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- v5 - v6: - Make lowcore/0 page handling easier to read - Make len a pointer --- target-s390x/cpu.h| 4 target-s390x/helper.c | 25

[Qemu-devel] [PATCH v6 00/11] s390: channel I/O support in qemu.

2013-01-24 Thread Cornelia Huck
-virtio the default machine has been deferred until after tcg support is available. Alexander Graf (1): s390: Add default support for SCLP console Cornelia Huck (10): s390: Lowcore mapping helper. s390: Add mapping helper functions. s390: Channel I/O basic definitions. s390: I/O interrupt

[Qemu-devel] [PATCH 10/11] s390: Add default support for SCLP console

2013-01-24 Thread Cornelia Huck
console, which is a lot closer to what real hardware does. Signed-off-by: Alexander Graf ag...@suse.de Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/boards.h | 1 + vl.c| 48 2 files changed, 49 insertions(+) diff --git a/hw

[Qemu-devel] [PATCH 11/11] s390: Add s390-ccw-virtio machine.

2013-01-24 Thread Cornelia Huck
Add a new machine type, s390-ccw-virtio, making use of the virtio-ccw transport to present virtio devices as channel devices. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- v5 - v6: - Don't make virtio-ccw the default yet - Adapt to ipl device changes - Adapt to VirtioBus changes

[Qemu-devel] [PATCH 05/11] s390: Add channel I/O instructions.

2013-01-24 Thread Cornelia Huck
Provide handlers for (most) channel I/O instructions. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- v5 - v6: - Adapt to s390_cpu_physical_memory_map changes - Simplify chsc handling - Handle endianness --- target-s390x/cpu.h| 100 +++ target-s390x/ioinst.c | 716

[Qemu-devel] [PATCH 08/11] s390: Add new channel I/O based virtio transport.

2013-01-24 Thread Cornelia Huck
Add a new virtio transport that uses channel commands to perform virtio operations. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- v5 - v6: - Get rid of qemu_get_ram_ptr usage - Adapt to virtual css changes - Constify TypeInfos - Prepare for VirtioBus --- hw/s390x/Makefile.objs

[Qemu-devel] [PATCH 07/11] s390: Wire up channel I/O in kvm.

2013-01-24 Thread Cornelia Huck
Trigger the code for our virtual css in case of instruction intercepts for I/O instructions. Handle the tsch exit for the subchannel-related part of tsch. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- target-s390x/cpu.h | 11 +++ target-s390x/kvm.c | 239

[Qemu-devel] [PATCH 03/11] s390: Channel I/O basic definitions.

2013-01-24 Thread Cornelia Huck
Basic channel I/O structures and helper function. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- v5 - v6: - Move typedefs into ioinst.h and include ioinst.h in cpu.h instead --- target-s390x/Makefile.objs | 2 +- target-s390x/cpu.h | 1 + target-s390x/ioinst.c

[Qemu-devel] [PATCH 09/11] s390-virtio: Factor out some initialization code.

2013-01-24 Thread Cornelia Huck
Some of the machine initialization for s390-virtio will be reused by virtio-ccw. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- v5 - v6: - Adapt to ipl device changes --- hw/s390-virtio.c | 118 +++ hw/s390-virtio.h | 5 +++ 2

[Qemu-devel] [PATCH 06/11] s390: Virtual channel subsystem support.

2013-01-24 Thread Cornelia Huck
Provide a mechanism for qemu to provide fully virtual subchannels to the guest. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- v5 - v6: - Remove extraneous NULL pointer checks - Use helper function to build subchannel id - Endianness - Get rid of qemu_get_ram_ptr - Move kvm_enabled

[Qemu-devel] [PATCH 01/11] s390: Lowcore mapping helper.

2013-01-24 Thread Cornelia Huck
Create a lowcore mapping helper that includes a check for sufficient length. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- v5 - v6: - Check returned len of cpu_physical_memory_map - Don't pass lowcore len --- target-s390x/helper.c | 34 +- 1 file

[Qemu-devel] [PATCH 04/11] s390: I/O interrupt and machine check injection.

2013-01-24 Thread Cornelia Huck
I/O interrupts are queued per isc. Only crw pending machine checks are supported. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- v5 - v6: - Adapt to cpu_map_lowcore changes --- target-s390x/cpu.h| 69 +++- target-s390x/helper.c | 141

Re: [Qemu-devel] [PATCH 08/11] s390: Add new channel I/O based virtio transport.

2013-01-24 Thread Cornelia Huck
On Thu, 24 Jan 2013 14:18:10 +0100 Andreas Färber afaer...@suse.de wrote: Am 24.01.2013 13:28, schrieb Cornelia Huck: Add a new virtio transport that uses channel commands to perform virtio operations. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- v5 - v6: - Get

Re: [Qemu-devel] [PATCH 08/11] s390: Add new channel I/O based virtio transport.

2013-01-24 Thread Cornelia Huck
On Thu, 24 Jan 2013 14:18:10 +0100 Andreas Färber afaer...@suse.de wrote: Forgot one point :) +/* DeviceState to VirtioCcwData. Note: used on datapath, + * be careful and test performance if you change this. + */ +static inline VirtioCcwData *to_virtio_ccw_data_fast(DeviceState *d) +{

[Qemu-devel] [PATCH v7 0/2] s390: virtio-ccw transport.

2013-01-24 Thread Cornelia Huck
Hi, here's the next iteration of virtio-ccw and s390-ccw-virtio support, with comments addressed and rebased against s390-next. Cornelia Huck (2): s390: Add new channel I/O based virtio transport. s390: Add s390-ccw-virtio machine. hw/s390-virtio.h | 1 + hw/s390x/Makefile.objs

[Qemu-devel] [PATCH 2/2] s390: Add s390-ccw-virtio machine.

2013-01-24 Thread Cornelia Huck
Add a new machine type, s390-ccw-virtio, making use of the virtio-ccw transport to present virtio devices as channel devices. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- v5 - v6: - Don't make virtio-ccw the default yet - Adapt to ipl device changes - Adapt to VirtioBus changes

[Qemu-devel] [PATCH 1/2] s390: Add new channel I/O based virtio transport.

2013-01-24 Thread Cornelia Huck
Add a new virtio transport that uses channel commands to perform virtio operations. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- v6 - v7: - class reset handling - header guard - coding style v5 - v6: - Get rid of qemu_get_ram_ptr usage - Adapt to virtual css changes - Constify

[Qemu-devel] [PATCH v8 0/2] s390: virtio-ccw transport.

2013-01-24 Thread Cornelia Huck
Hi, patches against s390-next again, with coding style fixes. Cornelia Huck (2): s390: Add new channel I/O based virtio transport. s390: Add s390-ccw-virtio machine. hw/s390-virtio.h | 1 + hw/s390x/Makefile.objs | 2 + hw/s390x/s390-virtio-ccw.c | 134 +++ hw/s390x

[Qemu-devel] [PATCH 2/2] s390: Add s390-ccw-virtio machine.

2013-01-24 Thread Cornelia Huck
Add a new machine type, s390-ccw-virtio, making use of the virtio-ccw transport to present virtio devices as channel devices. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- v7 - v8: - Coding style v5 - v6: - Don't make virtio-ccw the default yet - Adapt to ipl device changes - Adapt

[Qemu-devel] [PATCH 1/2] s390: Add new channel I/O based virtio transport.

2013-01-24 Thread Cornelia Huck
Add a new virtio transport that uses channel commands to perform virtio operations. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- v7 - v8: - to_virtio_ccw_dev - VIRTIO_CCW_DEVICE v6 - v7: - class reset handling - header guard - coding style v5 - v6: - Get rid of qemu_get_ram_ptr

Re: [Qemu-devel] [PATCH v8 0/2] s390: virtio-ccw transport.

2013-01-25 Thread Cornelia Huck
On Thu, 24 Jan 2013 17:17:46 +0100 Alexander Graf ag...@suse.de wrote: On 24.01.2013, at 17:08, Cornelia Huck wrote: Hi, patches against s390-next again, with coding style fixes. Thanks, applied to s390-next. Hm, did you forget to apply 2/2? Alex

Re: [Qemu-devel] [PATCH 06/15] s390: Add channel I/O instructions.

2013-01-28 Thread Cornelia Huck
re-send? From a8064d80759e30662b0ac41643a29b41e9015a3f Mon Sep 17 00:00:00 2001 From: Cornelia Huck cornelia.h...@de.ibm.com Date: Mon, 28 Jan 2013 10:42:44 +0100 Subject: [PATCH] s390: Use s390_cpu_physical_memory_map for tpi. Map the I/O interruption code before calling into css. Signed-off

Re: [Qemu-devel] [PULL 00/15] s390 patch queue 2013-01-25

2013-01-28 Thread Cornelia Huck
s390: Make typeinfo const s390: Move hw files to hw/s390x Andreas Färber (1): s390-virtio: Check for NULL device in reset hypercall Cornelia Huck (10): s390: Lowcore mapping helper. s390: Add mapping helper functions. s390: Channel I/O basic

Re: [Qemu-devel] [PULL 00/15] s390 patch queue 2013-01-25

2013-01-28 Thread Cornelia Huck
s390: Make typeinfo const s390: Move hw files to hw/s390x Andreas Färber (1): s390-virtio: Check for NULL device in reset hypercall Cornelia Huck (10): s390: Lowcore mapping helper. s390: Add mapping helper functions. s390: Channel I/O basic

Re: [Qemu-devel] [PULL 00/15] s390 patch queue 2013-01-25

2013-01-28 Thread Cornelia Huck
On Mon, 28 Jan 2013 18:08:10 +0100 Stefan Weil s...@weilnetz.de wrote: Am 28.01.2013 17:06, schrieb Cornelia Huck: On Sat, 26 Jan 2013 14:17:36 + Blue Swirl blauwir...@gmail.com wrote: On Fri, Jan 25, 2013 at 12:48 PM, Alexander Graf ag...@suse.de wrote: Hi Blue / Aurelien

Re: [Qemu-devel] [PATCH 06/15] s390: Add channel I/O instructions.

2013-01-29 Thread Cornelia Huck
On Tue, 29 Jan 2013 16:09:38 +0100 Alexander Graf ag...@suse.de wrote: On 01/28/2013 10:59 AM, Cornelia Huck wrote: On Fri, 25 Jan 2013 20:28:31 +0100 Alexander Grafag...@suse.de wrote: However, I do agree that this duplicates logic. Cornelia, mind to instead call our map helper

Re: [Qemu-devel] [PATCH for-1.4 0/2] target-s390x: CPU cleanups preparing for 1.5

2013-01-31 Thread Cornelia Huck
: Alexander Graf ag...@suse.de Cc: Cornelia Huck cornelia.h...@de.ibm.com Cc: Christian Borntraeger borntrae...@de.ibm.com Andreas Färber (2): target-s390x: Clean up cpu_inject_*() signatures target-s390x: Pass S390CPU to s390_{add,del}_running_cpu() hw/s390x/ipl.c |6

Re: [Qemu-devel] [PATCH for 1.4] target-s390x: Fix wrong comparison in interrupt handling

2013-02-04 Thread Cornelia Huck
look at it :) Acked-by: Cornelia Huck cornelia.h...@de.ibm.com

Re: [Qemu-devel] [PATCH] s390x: silence warning from GCC on uninitialized values

2013-02-05 Thread Cornelia Huck
they never use anything else than isc 3, but we'll probably want the following patch. From 8b2f40e8eaac16b55a72ab1e36a4c5de0b016495 Mon Sep 17 00:00:00 2001 From: Cornelia Huck cornelia.h...@de.ibm.com Date: Tue, 5 Feb 2013 10:14:49 +0100 Subject: [PATCH] s390: Keep I/O interrupts enabled for all iscs

Re: [Qemu-devel] [PATCH v3 4/5] KVM: ioeventfd for virtio-ccw devices.

2013-02-26 Thread Cornelia Huck
On Tue, 26 Feb 2013 12:55:36 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Mon, Feb 25, 2013 at 04:27:49PM +0100, Cornelia Huck wrote: Enhance KVM_IOEVENTFD with a new flag that allows to attach to virtio-ccw devices on s390 via the KVM_VIRTIO_CCW_NOTIFY_BUS. Signed-off

Re: [Qemu-devel] [PATCH v3 0/5] kvm: Make ioeventfd usable on s390.

2013-02-26 Thread Cornelia Huck
On Tue, 26 Feb 2013 13:13:39 +0100 Christian Borntraeger borntrae...@de.ibm.com wrote: On 26/02/13 12:18, Michael S. Tsirkin wrote: virtio_ccw: pass a cookie value to kvm hypercall Lookups by channel/vq pair on host during virtio notifications might be expensive. Interpret hypercall

Re: [Qemu-devel] [PATCH v3 0/5] kvm: Make ioeventfd usable on s390.

2013-02-26 Thread Cornelia Huck
On Tue, 26 Feb 2013 15:56:43 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Tue, Feb 26, 2013 at 02:29:07PM +0100, Cornelia Huck wrote: On Tue, 26 Feb 2013 13:13:39 +0100 Christian Borntraeger borntrae...@de.ibm.com wrote: On 26/02/13 12:18, Michael S. Tsirkin wrote: virtio_ccw

Re: [Qemu-devel] [PATCH v3 4/5] KVM: ioeventfd for virtio-ccw devices.

2013-02-26 Thread Cornelia Huck
On Tue, 26 Feb 2013 15:20:52 +0100 Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Feb 26, 2013 at 12:55:36PM +0200, Michael S. Tsirkin wrote: On Mon, Feb 25, 2013 at 04:27:49PM +0100, Cornelia Huck wrote: diff --git a/virt/kvm/eventfd.c b/virt/kvm/eventfd.c index f0ced1a..8de3cd7

[Qemu-devel] [PATCH v4 1/6] virtio_ccw: pass a cookie value to kvm hypercall

2013-02-28 Thread Cornelia Huck
-by: Christian Borntraeger borntrae...@de.ibm.com Reviewed-by: Christian Borntraeger borntrae...@de.ibm.com Signed-off-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- drivers/s390/kvm/virtio_ccw.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions

[Qemu-devel] [PATCH v4 6/6] KVM: s390: Wire up ioeventfd.

2013-02-28 Thread Cornelia Huck
Enable ioeventfd support on s390 and hook up diagnose 500 virtio-ccw notifications. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- arch/s390/kvm/Kconfig| 1 + arch/s390/kvm/Makefile | 2 +- arch/s390/kvm/diag.c | 26 ++ arch/s390/kvm/kvm-s390.c | 1

[Qemu-devel] [PATCH v4 5/6] KVM: ioeventfd for virtio-ccw devices.

2013-02-28 Thread Cornelia Huck
Enhance KVM_IOEVENTFD with a new flag that allows to attach to virtio-ccw devices on s390 via the KVM_VIRTIO_CCW_NOTIFY_BUS. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- Documentation/virtual/kvm/api.txt | 8 include/uapi/linux/kvm.h | 3 +++ virt/kvm/eventfd.c

[Qemu-devel] [PATCH v4 3/6] KVM: Initialize irqfd from kvm_init().

2013-02-28 Thread Cornelia Huck
, it is also clearer where kvm startup may fail. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- include/linux/kvm_host.h | 13 + virt/kvm/eventfd.c | 7 ++- virt/kvm/kvm_main.c | 6 ++ 3 files changed, 21 insertions(+), 5 deletions(-) diff --git a/include

[Qemu-devel] [PATCH v4 2/6] KVM: s390: Export virtio-ccw api.

2013-02-28 Thread Cornelia Huck
Export the virtio-ccw api in a header for usage by other code. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- arch/s390/include/uapi/asm/Kbuild | 1 + arch/s390/include/uapi/asm/virtio-ccw.h | 21 + drivers/s390/kvm/virtio_ccw.c | 5 + 3 files

[Qemu-devel] [PATCH v4 4/6] KVM: Introduce KVM_VIRTIO_CCW_NOTIFY_BUS.

2013-02-28 Thread Cornelia Huck
Add a new bus type for virtio-ccw devices on s390. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- include/linux/kvm_host.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 3b768ef..206247f 100644 --- a/include/linux

[Qemu-devel] [PATCH v4 0/6] kvm: Make ioeventfd usable on s390.

2013-02-28 Thread Cornelia Huck
irqfd initialization from a module init function to kvm_init, eliminating the need for a second module for kvm/s390. - Use kvm_io_device for s390 css devices. Cornelia Huck (5): KVM: s390: Export virtio-ccw api. KVM: Initialize irqfd from kvm_init(). KVM: Introduce KVM_VIRTIO_CCW_NOTIFY_BUS

Re: [Qemu-devel] [PATCH v4 6/6] KVM: s390: Wire up ioeventfd.

2013-02-28 Thread Cornelia Huck
On Thu, 28 Feb 2013 11:50:45 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Thu, Feb 28, 2013 at 10:22:32AM +0100, Cornelia Huck wrote: Enable ioeventfd support on s390 and hook up diagnose 500 virtio-ccw notifications. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com

Re: [Qemu-devel] [PATCH v4 6/6] KVM: s390: Wire up ioeventfd.

2013-02-28 Thread Cornelia Huck
On Thu, 28 Feb 2013 12:24:19 +0200 Gleb Natapov g...@redhat.com wrote: On Thu, Feb 28, 2013 at 11:20:13AM +0100, Cornelia Huck wrote: Whoops. Doesn't seem to have hurt, though. v6 will come up shortly. Are you going to skip v5? -- Gleb. I meant v5

[Qemu-devel] [PATCH v5 2/6] KVM: s390: Export virtio-ccw api.

2013-02-28 Thread Cornelia Huck
Export the virtio-ccw api in a header for usage by other code. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- arch/s390/include/uapi/asm/Kbuild | 1 + arch/s390/include/uapi/asm/virtio-ccw.h | 21 + drivers/s390/kvm/virtio_ccw.c | 5 + 3 files

[Qemu-devel] [PATCH v5 3/6] KVM: Initialize irqfd from kvm_init().

2013-02-28 Thread Cornelia Huck
, it is also clearer where kvm startup may fail. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- include/linux/kvm_host.h | 13 + virt/kvm/eventfd.c | 7 ++- virt/kvm/kvm_main.c | 6 ++ 3 files changed, 21 insertions(+), 5 deletions(-) diff --git a/include

[Qemu-devel] [PATCH v5 1/6] virtio_ccw: pass a cookie value to kvm hypercall

2013-02-28 Thread Cornelia Huck
-by: Christian Borntraeger borntrae...@de.ibm.com Reviewed-by: Christian Borntraeger borntrae...@de.ibm.com Signed-off-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- drivers/s390/kvm/virtio_ccw.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions

[Qemu-devel] [PATCH v5 6/6] KVM: s390: Wire up ioeventfd.

2013-02-28 Thread Cornelia Huck
Enable ioeventfd support on s390 and hook up diagnose 500 virtio-ccw notifications. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- arch/s390/kvm/Kconfig| 1 + arch/s390/kvm/Makefile | 2 +- arch/s390/kvm/diag.c | 26 ++ arch/s390/kvm/kvm-s390.c | 1

[Qemu-devel] [PATCH v5 4/6] KVM: Introduce KVM_VIRTIO_CCW_NOTIFY_BUS.

2013-02-28 Thread Cornelia Huck
Add a new bus type for virtio-ccw devices on s390. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- include/linux/kvm_host.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 3b768ef..206247f 100644 --- a/include/linux

[Qemu-devel] [PATCH v5 0/6] kvm: Make ioeventfd usable on s390.

2013-02-28 Thread Cornelia Huck
. Cornelia Huck (5): KVM: s390: Export virtio-ccw api. KVM: Initialize irqfd from kvm_init(). KVM: Introduce KVM_VIRTIO_CCW_NOTIFY_BUS. KVM: ioeventfd for virtio-ccw devices. KVM: s390: Wire up ioeventfd. Michael S. Tsirkin (1): virtio_ccw: pass a cookie value to kvm hypercall

[Qemu-devel] [PATCH v5 5/6] KVM: ioeventfd for virtio-ccw devices.

2013-02-28 Thread Cornelia Huck
Enhance KVM_IOEVENTFD with a new flag that allows to attach to virtio-ccw devices on s390 via the KVM_VIRTIO_CCW_NOTIFY_BUS. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- Documentation/virtual/kvm/api.txt | 8 include/uapi/linux/kvm.h | 3 +++ virt/kvm/eventfd.c

Re: [Qemu-devel] [PATCH v5 6/6] KVM: s390: Wire up ioeventfd.

2013-03-05 Thread Cornelia Huck
On Mon, 4 Mar 2013 21:07:41 -0300 Marcelo Tosatti mtosa...@redhat.com wrote: On Thu, Feb 28, 2013 at 12:33:21PM +0100, Cornelia Huck wrote: Enable ioeventfd support on s390 and hook up diagnose 500 virtio-ccw notifications. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com

[Qemu-devel] [PATCH] Maintainership for virtio-ccw

2013-03-05 Thread Cornelia Huck
Hi, it might be time for me to take over maintainership for virtio-ccw and the s390-ccw-virtio machine, as I'm probably the person most familiar with how this code should work. I'll still be happy about reviews, of course :) Please consider applying. Cornelia Huck (1): virtio-ccw maintainer

[Qemu-devel] [PATCH] virtio-ccw maintainer

2013-03-05 Thread Cornelia Huck
Add myself as maintainer for virtio-ccw and the s390-ccw-virtio machine. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 21043e4..74e156f 100644 --- a/MAINTAINERS +++ b

Re: [Qemu-devel] [PATCH v5 6/6] KVM: s390: Wire up ioeventfd.

2013-03-05 Thread Cornelia Huck
On Tue, 5 Mar 2013 15:19:43 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Tue, Mar 05, 2013 at 09:13:08AM +0100, Cornelia Huck wrote: On Mon, 4 Mar 2013 21:07:41 -0300 Marcelo Tosatti mtosa...@redhat.com wrote: On Thu, Feb 28, 2013 at 12:33:21PM +0100, Cornelia Huck wrote

Re: [Qemu-devel] virtio-s390: document GPR4/GPR2 cookie values

2013-03-07 Thread Cornelia Huck
-by: Michael S. Tsirkin m...@redhat.com Otherwise: Reviewed-by: Cornelia Huck cornelia.h...@de.ibm.com Rusty, could you please apply? --- diff --git a/virtio-spec.lyx b/virtio-spec.lyx index 72d956c..91aed06 100644 --- a/virtio-spec.lyx +++ b/virtio-spec.lyx @@ -10627,7 +10626,252 @@ Guest-Host

Re: [Qemu-devel] [PATCH 3/9] dataplane: remove EventPoll in favor of AioContext

2013-03-08 Thread Cornelia Huck
On Fri, 08 Mar 2013 10:22:36 +0100 Paolo Bonzini pbonz...@redhat.com wrote: Il 08/03/2013 09:37, Christian Borntraeger ha scritto: +if (assign) { +int r = event_notifier_init(notifier, 0); + +if (r 0) { +return r; +} +

Re: [Qemu-devel] [PATCH 1/3] virtio-ccw: remove qdev_unparent in unplug routing

2013-03-11 Thread Cornelia Huck
On Fri, 8 Mar 2013 21:11:13 +0100 Alexander Graf ag...@suse.de wrote: On 25.02.2013, at 12:10, Christian Borntraeger wrote: On 25/02/13 11:44, Paolo Bonzini wrote: Il 25/02/2013 09:09, Christian Borntraeger ha scritto: Hmm, the old sequence was object_unparent(OBJECT(dev));

Re: [Qemu-devel] [PATCH 1/3] virtio-ccw: remove qdev_unparent in unplug routing

2013-03-11 Thread Cornelia Huck
On Mon, 11 Mar 2013 13:22:45 +0100 Alexander Graf ag...@suse.de wrote: On 03/11/2013 01:16 PM, Paolo Bonzini wrote: Il 11/03/2013 13:04, Cornelia Huck ha scritto: On Fri, 8 Mar 2013 21:11:13 +0100 Alexander Grafag...@suse.de wrote: On 25.02.2013, at 12:10, Christian Borntraeger wrote

[Qemu-devel] [PATCH 1/2] virtio-ccw: remove qdev_unparent in unplug routing

2013-03-11 Thread Cornelia Huck
...@linux.vnet.ibm.com Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/s390x/virtio-ccw.c |1 - 1 file changed, 1 deletion(-) diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c index a9cf703..06b9641 100644 --- a/hw/s390x/virtio-ccw.c +++ b/hw/s390x/virtio-ccw.c @@ -865,7 +865,6 @@ static

[Qemu-devel] [PATCH 2/2] virtio-ccw: Wire up virtio-rng.

2013-03-11 Thread Cornelia Huck
Make virtio-rng devices available for s390-ccw-virtio machines. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/s390x/virtio-ccw.c | 60 + hw/s390x/virtio-ccw.h |2 ++ 2 files changed, 62 insertions(+) diff --git a/hw/s390x

[Qemu-devel] [PATCH 0/2] Pending virtio-ccw patches.

2013-03-11 Thread Cornelia Huck
in unplug routing Cornelia Huck (1): virtio-ccw: Wire up virtio-rng. hw/s390x/virtio-ccw.c | 61 - hw/s390x/virtio-ccw.h |2 ++ 2 files changed, 62 insertions(+), 1 deletion(-) -- 1.7.9.5

[Qemu-devel] [PATCH 1/2] virtio-ccw: remove qdev_unparent in unplug routing

2013-03-12 Thread Cornelia Huck
...@linux.vnet.ibm.com Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/s390x/virtio-ccw.c |1 - 1 file changed, 1 deletion(-) diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c index a9cf703..06b9641 100644 --- a/hw/s390x/virtio-ccw.c +++ b/hw/s390x/virtio-ccw.c @@ -865,7 +865,6 @@ static

[Qemu-devel] [PATCH 2/2] virtio-ccw: Wire up virtio-rng.

2013-03-12 Thread Cornelia Huck
Make virtio-rng devices available for s390-ccw-virtio machines. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/s390x/virtio-ccw.c | 60 + hw/s390x/virtio-ccw.h |2 ++ 2 files changed, 62 insertions(+) diff --git a/hw/s390x

[Qemu-devel] [PULL 0/2] virtio-ccw patches 2012-03-12

2013-03-12 Thread Cornelia Huck
in unplug routing Cornelia Huck (1): virtio-ccw: Wire up virtio-rng. hw/s390x/virtio-ccw.c | 61 - hw/s390x/virtio-ccw.h |2 ++ 2 files changed, 62 insertions(+), 1 deletion(-) -- 1.7.9.5

Re: [Qemu-devel] [PATCH v6 2/8] virtio-blk: add the virtio-blk device.

2013-03-12 Thread Cornelia Huck
On Tue, 12 Mar 2013 16:22:22 +0100 KONRAD Frédéric fred.kon...@greensocs.com wrote: On 12/03/2013 16:12, Peter Maydell wrote: On 12 March 2013 15:08, KONRAD Frédéric fred.kon...@greensocs.com wrote: On 12/03/2013 15:42, Peter Maydell wrote: Yes, I see your problem there, but

Re: [Qemu-devel] [PATCH v6 2/8] virtio-blk: add the virtio-blk device.

2013-03-14 Thread Cornelia Huck
On Wed, 13 Mar 2013 16:32:31 +0100 KONRAD Frédéric fred.kon...@greensocs.com wrote: On 13/03/2013 09:24, KONRAD Frédéric wrote: On 12/03/2013 17:31, Cornelia Huck wrote: On Tue, 12 Mar 2013 16:22:22 +0100 KONRAD Frédéric fred.kon...@greensocs.com wrote: On 12/03/2013 16:12, Peter

Re: [Qemu-devel] [PATCH v6 2/8] virtio-blk: add the virtio-blk device.

2013-03-14 Thread Cornelia Huck
On Thu, 14 Mar 2013 09:37:54 +0100 KONRAD Frédéric fred.kon...@greensocs.com wrote: On 14/03/2013 08:25, Cornelia Huck wrote: On Wed, 13 Mar 2013 16:32:31 +0100 KONRAD Frédéric fred.kon...@greensocs.com wrote: On 13/03/2013 09:24, KONRAD Frédéric wrote: On 12/03/2013 17:31, Cornelia

Re: [Qemu-devel] [RFC PATCH v2 1/3] virtio-bus : Introduce VirtioBus.

2012-11-26 Thread Cornelia Huck
On Mon, 26 Nov 2012 14:55:56 +0100 Konrad Frederic fred.kon...@greensocs.com wrote: On 23/11/2012 13:08, Cornelia Huck wrote: On Thu, 22 Nov 2012 15:50:50 +0100 fred.kon...@greensocs.com wrote: +/* Create a virtio bus. */ +VirtioBus *virtio_bus_new(DeviceState *host, const

[Qemu-devel] [PATCH 5/8] s390: Virtual channel subsystem support.

2012-12-07 Thread Cornelia Huck
Provide a mechanism for qemu to provide fully virtual subchannels to the guest. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/s390x/Makefile.objs |1 + hw/s390x/css.c | 1195 hw/s390x/css.h | 92 target

[Qemu-devel] [PATCH 7/8] s390-virtio: Factor out some initialization code.

2012-12-07 Thread Cornelia Huck
Some of the machine initialization for s390-virtio will be reused by virtio-ccw. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/s390-virtio.c | 132 +-- 1 file changed, 79 insertions(+), 53 deletions(-) diff --git a/hw/s390

Re: [Qemu-devel] [PATCH 1/8] Update linux headers.

2012-12-07 Thread Cornelia Huck
On Fri, 7 Dec 2012 13:01:27 + Peter Maydell peter.mayd...@linaro.org wrote: On 7 December 2012 12:50, Cornelia Huck cornelia.h...@de.ibm.com wrote: Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com I think it would be good if commit messages for linux-headers updates stated

[Qemu-devel] [PATCH 8/8] s390: Add new channel I/O based virtio transport.

2012-12-07 Thread Cornelia Huck
Add a new virtio transport that uses channel commands to perform virtio operations. Add a new machine type s390-ccw that uses this virtio-ccw transport and make it the default machine for s390. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/s390-virtio.c | 149 ++-- hw

[Qemu-devel] [PATCH 3/8] s390: I/O interrupt and machine check injection.

2012-12-07 Thread Cornelia Huck
I/O interrupts are queued per isc. Only crw pending machine checks are supported. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- target-s390x/cpu.h| 67 +++ target-s390x/helper.c | 145 ++ 2 files changed, 212

[Qemu-devel] [PATCH 1/8] Update linux headers.

2012-12-07 Thread Cornelia Huck
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- linux-headers/asm-generic/kvm_para.h | 4 +++ linux-headers/asm-powerpc/kvm.h | 59 linux-headers/asm-powerpc/kvm_para.h | 7 +++-- linux-headers/linux/kvm.h| 36

[Qemu-devel] [PATCH 2/8] s390: Channel I/O basic defintions.

2012-12-07 Thread Cornelia Huck
Basic channel I/O structures and helper function. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- target-s390x/Makefile.objs | 2 +- target-s390x/ioinst.c | 46 ++ target-s390x/ioinst.h | 207 + 3 files changed, 254

[Qemu-devel] [PATCH 6/8] s390: Wire up channel I/O in kvm.

2012-12-07 Thread Cornelia Huck
Trigger the code for our virtual css in case of instruction intercepts for I/O instructions. Handle the tsch exit for the subchannel-related part of tsch. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- target-s390x/cpu.h | 11 +++ target-s390x/kvm.c | 246

[Qemu-devel] [RFC PATCH v4 0/8] s390: channel I/O support in qemu.

2012-12-07 Thread Cornelia Huck
the virtio refactoring once that has most of the infrastructure in place. Cornelia Huck (8): Update linux headers. s390: Channel I/O basic defintions. s390: I/O interrupt and machine check injection. s390: Add channel I/O instructions. s390: Virtual channel subsystem support. s390: Wire up

[Qemu-devel] [PATCH 4/8] s390: Add channel I/O instructions.

2012-12-07 Thread Cornelia Huck
Provide handlers for (most) channel I/O instructions. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- target-s390x/cpu.h| 87 +++ target-s390x/ioinst.c | 694 +- target-s390x/ioinst.h | 16 ++ trace-events | 6 + 4

<    1   2   3   4   5   6   7   8   9   10   >