On Wed, 10 Oct 2012 13:27:09 -0300
Marcelo Tosatti mtosa...@redhat.com wrote:
+Archtectures: s390
typo.
+Note that the vcpu ioctl is asynchronous to vpcu execution.
typo
Would you like a respin with the typos fixed?
--
To unsubscribe from this list: send the line unsubscribe kvm
On Wed, 10 Oct 2012 18:32:14 +0200
Alexander Graf ag...@suse.de wrote:
On 10.10.2012, at 18:27, Marcelo Tosatti wrote:
On Tue, Oct 02, 2012 at 04:25:37PM +0200, Christian Borntraeger wrote:
From: Cornelia Huck cornelia.h...@de.ibm.com
Signed-off-by: Cornelia Huck cornelia.h
On Fri, 12 Oct 2012 09:07:46 +1030
Rusty Russell ru...@rustcorp.com.au wrote:
Michael S. Tsirkin m...@redhat.com writes:
On Thu, Oct 11, 2012 at 10:33:31AM +1030, Rusty Russell wrote:
OK. Well, Anthony wants qemu to be robust in this regard, so I am
tempted to rework all the qemu drivers
There's no need to keep __MAX_SUBCHANNEL and __MAX_SSID private to the
common I/O layer when __MAX_CSSID is usable by everybody.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/include/asm/cio.h | 2 ++
drivers/s390/cio/css.h | 3 ---
2 files changed, 2 insertions(+), 3
if it does not exist.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
drivers/s390/kvm/kvm_virtio.c | 39 +++
1 file changed, 31 insertions(+), 8 deletions(-)
diff --git a/drivers/s390/kvm/kvm_virtio.c b/drivers/s390/kvm/kvm_virtio.c
index 47cccd5
.
Cornelia Huck (5):
KVM: s390: Handle hosts not supporting s390-virtio.
s390: Move css limits from drivers/s390/cio/ to include/asm/.
s390: Add a mechanism to get the subchannel id.
KVM: s390: Add a channel I/O based virtio transport driver.
KVM: s390: Split out early console code.
arch
Add a driver for kvm guests that matches virtual ccw devices provided
by the host as virtio bridge devices.
These virtio-ccw devices use a special set of channel commands in order
to perform virtio functions.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/include/asm/irq.h
This will be needed by the new virtio-ccw transport.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/include/asm/ccwdev.h | 5 +
drivers/s390/cio/device_ops.c | 12
2 files changed, 17 insertions(+)
diff --git a/arch/s390/include/asm/ccwdev.h b/arch/s390
This code is transport agnostic and can be used by both the legacy
virtio code and virtio_ccw.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
drivers/s390/kvm/Makefile | 2 +-
drivers/s390/kvm/early_printk.c | 42 +
drivers/s390/kvm
On Mon, 29 Oct 2012 18:55:21 +0100
Alexander Graf ag...@suse.de wrote:
On 29.10.2012, at 14:07, Cornelia Huck wrote:
Avi, Marcelo,
I'd like to propose inclusion of the guest support patches for
virtio-ccw into 3.8.
I'm confident that the host - guest interface for virtio-ccw
On Mon, 29 Oct 2012 19:12:54 +0100
Alexander Graf ag...@suse.de wrote:
On 29.10.2012, at 14:07, Cornelia Huck wrote:
+static void virtio_ccw_kvm_notify(struct virtqueue *vq)
+{
+ struct virtio_ccw_vq_info *info = vq-priv;
+ struct virtio_ccw_device *vcdev;
+ struct
On Mon, 29 Oct 2012 19:14:19 +0100
Alexander Graf ag...@suse.de wrote:
On 29.10.2012, at 14:07, Cornelia Huck wrote:
This code is transport agnostic and can be used by both the legacy
virtio code and virtio_ccw.
Would it be possible to actually send real virtio or sclp console
On Mon, 29 Oct 2012 19:37:10 +0100
Alexander Graf ag...@suse.de wrote:
On 29.10.2012, at 19:34, Cornelia Huck wrote:
On Mon, 29 Oct 2012 19:12:54 +0100
Alexander Graf ag...@suse.de wrote:
On 29.10.2012, at 14:07, Cornelia Huck wrote:
+static void virtio_ccw_kvm_notify(struct
On Mon, 29 Oct 2012 19:33:14 +0100
Alexander Graf ag...@suse.de wrote:
On 29.10.2012, at 19:15, Cornelia Huck wrote:
On Mon, 29 Oct 2012 18:55:21 +0100
Alexander Graf ag...@suse.de wrote:
On 29.10.2012, at 14:07, Cornelia Huck wrote:
Avi, Marcelo,
I'd like to propose
On Tue, 30 Oct 2012 14:41:46 +0100
Alexander Graf ag...@suse.de wrote:
On 10/30/2012 02:03 PM, Cornelia Huck wrote:
On Mon, 29 Oct 2012 19:37:10 +0100
Alexander Grafag...@suse.de wrote:
On 29.10.2012, at 19:34, Cornelia Huck wrote:
On Mon, 29 Oct 2012 19:12:54 +0100
Alexander
On Tue, 30 Oct 2012 14:43:10 +0100
Alexander Graf ag...@suse.de wrote:
On 10/30/2012 01:59 PM, Cornelia Huck wrote:
On Mon, 29 Oct 2012 19:14:19 +0100
Alexander Grafag...@suse.de wrote:
On 29.10.2012, at 14:07, Cornelia Huck wrote:
This code is transport agnostic and can be used
On Tue, 30 Oct 2012 15:05:23 +0100
Alexander Graf ag...@suse.de wrote:
On 30.10.2012, at 15:00, Cornelia Huck cornelia.h...@de.ibm.com wrote:
On Tue, 30 Oct 2012 14:41:46 +0100
Alexander Graf ag...@suse.de wrote:
On 10/30/2012 02:03 PM, Cornelia Huck wrote:
On Mon, 29 Oct 2012
On Tue, 30 Oct 2012 16:12:47 +0100
Alexander Graf ag...@suse.de wrote:
On 30.10.2012, at 15:29, Cornelia Huck cornelia.h...@de.ibm.com wrote:
On Tue, 30 Oct 2012 14:43:10 +0100
Alexander Graf ag...@suse.de wrote:
On 10/30/2012 01:59 PM, Cornelia Huck wrote:
On Mon, 29 Oct 2012
if it does not exist.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
Cc: sta...@vger.kernel.org
---
drivers/s390/kvm/kvm_virtio.c | 39 +++
1 file changed, 31 insertions(+), 8 deletions(-)
diff --git a/drivers/s390/kvm/kvm_virtio.c b/drivers/s390/kvm
This will be needed by the new virtio-ccw transport.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/include/asm/ccwdev.h | 5 +
drivers/s390/cio/device_ops.c | 12
2 files changed, 17 insertions(+)
diff --git a/arch/s390/include/asm/ccwdev.h b/arch/s390
Add a driver for kvm guests that matches virtual ccw devices provided
by the host as virtio bridge devices.
These virtio-ccw devices use a special set of channel commands in order
to perform virtio functions.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/include/asm/irq.h
There's no need to keep __MAX_SUBCHANNEL and __MAX_SSID private to the
common I/O layer when __MAX_CSSID is usable by everybody.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/include/asm/cio.h | 2 ++
drivers/s390/cio/css.h | 3 ---
2 files changed, 2 insertions(+), 3
This code is transport agnostic and can be used by both the legacy
virtio code and virtio_ccw.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
drivers/s390/kvm/Makefile | 2 +-
drivers/s390/kvm/early_printk.c | 42 +
drivers/s390/kvm
Hi,
here's the respin of the virtio-ccw guest support patches
(from http://marc.info/?l=kvmm=135151606921361w=2).
Changes to the last version:
- cc'ed stable for patch 1
- coding style fixes in patches 4 and 5
Cornelia Huck (5):
KVM: s390: Handle hosts not supporting s390-virtio.
s390
channel I/O instructions that can dequeue pending I/O
interrupts: tpi and tsch (not the part actually interacting with
the subchannel). This makes the interface less complex (only one
new exit for tsch handling) and avoids duplicating code from qemu.
Cornelia Huck (5):
KVM: s390: Support for I/O
Add support for handling I/O interrupts (standard, subchannel-related
ones and rudimentary adapter interrupts).
The subchannel-identifying parameters are encoded into the interrupt
type.
I/O interrupts are floating, so they can't be injected on a specific
vcpu.
Signed-off-by: Cornelia Huck
thing to do for some
of these instructions. For Linux guests, however, it still has the
intended effect of stopping css probing.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/kvm/intercept.c | 19 +---
arch/s390/kvm/kvm-s390.h | 1 +
arch/s390/kvm/priv.c
.
- TEST SUBCHANNEL (tsch) dequeues pending interrupts in-kernel
and exits via KVM_EXIT_S390_TSCH to userspace for subchannel-
related processing.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
Documentation/virtual/kvm/api.txt | 30
arch/s390/include/asm/kvm_host.h | 1
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
Documentation/virtual/kvm/api.txt | 2 +-
arch/s390/kvm/kvm-s390.c | 26 ++
2 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/Documentation/virtual/kvm/api.txt
b/Documentation/virtual/kvm
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
linux-headers/asm-generic/kvm_para.h | 5 +++
linux-headers/asm-powerpc/kvm.h | 59 ++
linux-headers/asm-powerpc/kvm_para.h | 7 +++--
linux-headers/asm-x86/kvm.h | 17 ++
linux
with trapping PSW changing instructions and
watching for opened machine checks.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
Documentation/virtual/kvm/api.txt | 4 ++
arch/s390/include/asm/kvm_host.h | 8 +++
arch/s390/kvm/intercept.c | 2 +
arch/s390/kvm/interrupt.c
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 | 282
, for one), but I'd like some feedback about the new
interface first.
Cornelia Huck (3):
Update linux headers.
s390: Virtual channel subsystem support.
s390: Add new channel I/O based virtio transport.
hw/s390-virtio.c | 282 ++--
hw/s390x/Makefile.objs
On Mon, 05 Nov 2012 11:13:42 -0500
Jeff Mahoney je...@suse.com wrote:
It's a different build issue with -rc3 (and now -rc4).
linux-3.7-rc4/include/linux/kvm_para.h:9:2: error: implicit declaration of
function 'kvm_arch_para_features' [-Werror=implicit-function-declaration]
Config
On Mon, 12 Nov 2012 23:17:55 -0200
Marcelo Tosatti mtosa...@redhat.com wrote:
Hi Cornelia,
On Wed, Oct 31, 2012 at 05:24:47PM +0100, Cornelia Huck wrote:
Provide a mechanism for qemu to provide fully virtual subchannels to
the guest. In the KVM case, this relies on the kernel's css
On Mon, 19 Nov 2012 14:30:00 +0100
Alexander Graf ag...@suse.de wrote:
On 31.10.2012, at 17:24, Cornelia Huck wrote:
Provide a mechanism for qemu to provide fully virtual subchannels to
the guest. In the KVM case, this relies on the kernel's css support
for I/O and machine check
Hi,
here are the guest support patches for virtio-ccw, rebased
against kvm/next.
Changes from v2:
- Adapted patch 4 to virtqueue interface changes.
- Added Marcelo's Reviewed-by:
I'd like to get these patches into kvm/next; patches 2 and 3 might
also show up in the s390 patches.
Cornelia Huck
There's no need to keep __MAX_SUBCHANNEL and __MAX_SSID private to the
common I/O layer when __MAX_CSSID is usable by everybody.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/include/asm/cio.h | 2 ++
drivers/s390/cio/css.h | 3 ---
2 files changed, 2 insertions(+), 3
if it does not exist.
Reviewed-by: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
cc: sta...@vger.kernel.org
---
drivers/s390/kvm/kvm_virtio.c | 39 +++
1 file changed, 31 insertions(+), 8 deletions(-)
diff --git
This will be needed by the new virtio-ccw transport.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/include/asm/ccwdev.h | 5 +
drivers/s390/cio/device_ops.c | 12
2 files changed, 17 insertions(+)
diff --git a/arch/s390/include/asm/ccwdev.h b/arch/s390
This code is transport agnostic and can be used by both the legacy
virtio code and virtio_ccw.
Reviewed-by: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
drivers/s390/kvm/Makefile | 2 +-
drivers/s390/kvm/early_printk.c | 42
Add a driver for kvm guests that matches virtual ccw devices provided
by the host as virtio bridge devices.
These virtio-ccw devices use a special set of channel commands in order
to perform virtio functions.
Reviewed-by: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Cornelia Huck
is not the correct thing to do for some
of these instructions. For Linux guests, however, it still has the
intended effect of stopping css probing.
Reviewed-by: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/kvm/intercept.c | 19 +---
arch/s390
Hi,
here are the host support patches for virtual channel I/O,
rebased against kvm/next.
Changes from v3:
- Corrected a wrong bitmask in machine check handling.
- Added Marcelo's Reviewed-by:
Please consider these patches for kvm/next.
Cornelia Huck (5):
KVM: s390: Support for I/O interrupts
.
- TEST SUBCHANNEL (tsch) dequeues pending interrupts in-kernel
and exits via KVM_EXIT_S390_TSCH to userspace for subchannel-
related processing.
Reviewed-by: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
Documentation/virtual/kvm/api.txt | 30
Reviewed-by: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
Documentation/virtual/kvm/api.txt | 2 +-
arch/s390/kvm/kvm-s390.c | 26 ++
2 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/Documentation
mtosa...@redhat.com
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
Documentation/virtual/kvm/api.txt | 4 ++
arch/s390/include/asm/kvm_host.h | 2 +
arch/s390/kvm/interrupt.c | 115 --
include/uapi/linux/kvm.h | 6 ++
4 files
with trapping PSW changing instructions and
watching for opened machine checks.
Reviewed-by: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
Documentation/virtual/kvm/api.txt | 4 ++
arch/s390/include/asm/kvm_host.h | 8 +++
arch/s390/kvm
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
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
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
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
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
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
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
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
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
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
On Sun, 9 Dec 2012 13:45:47 +0100
Alexander Graf ag...@suse.de wrote:
On 07.12.2012, at 13:29, Cornelia Huck wrote:
This code is transport agnostic and can be used by both the legacy
virtio code and virtio_ccw.
This code should die. It's a nightmare to implement in QEMU, because
On Mon, 10 Dec 2012 10:00:16 +0100
Alexander Graf ag...@suse.de wrote:
On 07.12.2012, at 13:50, Cornelia Huck cornelia.h...@de.ibm.com wrote:
Provide handlers for (most) channel I/O instructions.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
target-s390x/cpu.h
On Mon, 10 Dec 2012 08:33:10 +0100
Alexander Graf ag...@suse.de wrote:
On 07.12.2012, at 13:30, Cornelia Huck wrote:
Add support for handling I/O interrupts (standard, subchannel-related
ones and rudimentary adapter interrupts).
The subchannel-identifying parameters are encoded
On Mon, 10 Dec 2012 08:51:11 +0100
Alexander Graf ag...@suse.de wrote:
On 07.12.2012, at 13:30, Cornelia Huck wrote:
Add support for injecting machine checks (only repressible
conditions for now).
This is a bit more involved than I/O interrupts, for these reasons:
- Machine
On Mon, 10 Dec 2012 08:54:45 +0100
Alexander Graf ag...@suse.de wrote:
Missing patch description. Otherwise:
Add base infrastructure for enabling capabilities would be redundant,
no?
Acked-by: Alexander Graf ag...@suse.de
Alex
On 07.12.2012, at 13:30, Cornelia Huck wrote
On Mon, 10 Dec 2012 09:07:57 +0100
Alexander Graf ag...@suse.de wrote:
On 07.12.2012, at 13:50, Cornelia Huck wrote:
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
On Mon, 10 Dec 2012 09:20:57 +0100
Alexander Graf ag...@suse.de wrote:
On 07.12.2012, at 13:50, Cornelia Huck wrote:
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
On Mon, 10 Dec 2012 10:40:15 +0100
Alexander Graf ag...@suse.de wrote:
On 07.12.2012, at 13:50, Cornelia Huck cornelia.h...@de.ibm.com wrote:
Trigger the code for our virtual css in case of instruction
intercepts for I/O instructions.
Handle the tsch exit for the subchannel
On Mon, 10 Dec 2012 09:02:51 +0100
Alexander Graf ag...@suse.de wrote:
On 07.12.2012, at 13:50, Cornelia Huck wrote:
Hi,
just a quick dump of my qemu patch series for channel I/O.
I've managed to chop the virtual css patch into some smaller
chunks (patches 2-6), which
On Mon, 10 Dec 2012 18:26:28 -0600
Rob Landley r...@landley.net wrote:
What do you actually use to run Linux under this target? There are some
leads at
http://virtuallyfun.superglobalmegacorp.com/?p=1206 which more or less
leads to
On Tue, 11 Dec 2012 11:09:55 +0100
Alexander Graf ag...@suse.de wrote:
On 10.12.2012, at 10:03, Cornelia Huck wrote:
On Sun, 9 Dec 2012 13:12:37 +0100
Alexander Graf ag...@suse.de wrote:
On 07.12.2012, at 13:29, Cornelia Huck wrote:
This will be needed by the new virtio-ccw
On Tue, 11 Dec 2012 11:27:05 +0100
Alexander Graf ag...@suse.de wrote:
On 10.12.2012, at 11:18, Cornelia Huck wrote:
On Mon, 10 Dec 2012 09:07:57 +0100
Alexander Graf ag...@suse.de wrote:
On 07.12.2012, at 13:50, Cornelia Huck wrote:
Basic channel I/O structures and helper
On Tue, 11 Dec 2012 11:29:16 +0100
Alexander Graf ag...@suse.de wrote:
On 10.12.2012, at 11:27, Cornelia Huck wrote:
On Mon, 10 Dec 2012 09:20:57 +0100
Alexander Graf ag...@suse.de wrote:
On 07.12.2012, at 13:50, Cornelia Huck wrote:
+/* CRW machine checks disabled
On Tue, 11 Dec 2012 11:18:44 +0100
Alexander Graf ag...@suse.de wrote:
On 10.12.2012, at 10:18, Cornelia Huck wrote:
On Mon, 10 Dec 2012 10:00:16 +0100
Alexander Graf ag...@suse.de wrote:
On 07.12.2012, at 13:50, Cornelia Huck cornelia.h...@de.ibm.com wrote:
+/* Special
On Tue, 11 Dec 2012 11:53:18 +0100
Alexander Graf ag...@suse.de 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-ccw that uses this virtio-ccw transport
and make
On Wed, 12 Dec 2012 01:33:46 +0100
Alexander Graf ag...@suse.de wrote:
On 11.12.2012, at 13:34, Cornelia Huck wrote:
On Tue, 11 Dec 2012 11:09:55 +0100
Alexander Graf ag...@suse.de wrote:
On 10.12.2012, at 10:03, Cornelia Huck wrote:
On Sun, 9 Dec 2012 13:12:37 +0100
of casting.
Cornelia Huck (4):
KVM: s390: Handle hosts not supporting s390-virtio.
s390: Move css limits from drivers/s390/cio/ to include/asm/.
s390: Add a mechanism to get the subchannel id.
KVM: s390: Add a channel I/O based virtio transport driver.
arch/s390/include/asm/ccwdev.h | 5
There's no need to keep __MAX_SUBCHANNEL and __MAX_SSID private to the
common I/O layer when __MAX_CSSID is usable by everybody.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/include/asm/cio.h | 2 ++
drivers/s390/cio/css.h | 3 ---
2 files changed, 2 insertions(+), 3
Add a driver for kvm guests that matches virtual ccw devices provided
by the host as virtio bridge devices.
These virtio-ccw devices use a special set of channel commands in order
to perform virtio functions.
Reviewed-by: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Cornelia Huck
if it does not exist.
Reviewed-by: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
cc: sta...@vger.kernel.org
---
drivers/s390/kvm/kvm_virtio.c | 38 ++
1 file changed, 30 insertions(+), 8 deletions(-)
diff --git
This will be needed by the new virtio-ccw transport.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/include/asm/ccwdev.h | 5 +
drivers/s390/cio/device_ops.c | 12
2 files changed, 17 insertions(+)
diff --git a/arch/s390/include/asm/ccwdev.h b/arch/s390
Get the definition of struct subchannel_id.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/include/asm/ccwdev.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/s390/include/asm/ccwdev.h b/arch/s390/include/asm/ccwdev.h
index 6d1f357..e606161
Hi,
here's the virtio-ccw guest support for kvm/next again.
The not-kvm specific patches have made their way upstream via the
s390 tree in the meantime. Patch 2 fixes an inconsistency there.
Patch 3 lost the now unneeded schid.h include; otherwise, the patches
are unchanged from v4.
Cornelia
Add a driver for kvm guests that matches virtual ccw devices provided
by the host as virtio bridge devices.
These virtio-ccw devices use a special set of channel commands in order
to perform virtio functions.
Reviewed-by: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Cornelia Huck
if it does not exist.
Reviewed-by: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
cc: sta...@vger.kernel.org
---
drivers/s390/kvm/kvm_virtio.c | 38 ++
1 file changed, 30 insertions(+), 8 deletions(-)
diff --git
On Tue, 18 Dec 2012 09:45:27 +0100
Paolo Bonzini pbonz...@redhat.com wrote:
Il 04/09/2012 17:13, Cornelia Huck ha scritto:
+VirtioCcwBus *virtio_ccw_bus_init(void)
+{
+VirtioCcwBus *cbus;
+BusState *bus;
+DeviceState *dev;
+
+/* Create bridge device */
+dev
of the
channel I/O patches); some things Alex pointed out in the patches
apply to existing code as well.
Please consider for kvm/next.
Cornelia Huck (7):
KVM: s390: Constify intercept handler tables.
KVM: s390: Decoding helper functions.
KVM: s390: Support for I/O interrupts.
KVM: s390: Add
Introduce helper functions for decoding the various base/displacement
instruction formats.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/kvm/intercept.c | 21 ++---
arch/s390/kvm/kvm-s390.h | 37 +
arch/s390/kvm/priv.c
mtosa...@redhat.com
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
Documentation/virtual/kvm/api.txt | 4 ++
arch/s390/include/asm/kvm_host.h | 2 +
arch/s390/kvm/interrupt.c | 103 +-
include/uapi/linux/kvm.h | 9
4 files
is not the correct thing to do for some
of these instructions. For Linux guests, however, it still has the
intended effect of stopping css probing.
Reviewed-by: Marcelo Tosatti mtosa...@redhat.com
Reviewed-by: Alexander Graf ag...@suse.de
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/kvm
These tables are never modified.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/kvm/intercept.c | 2 +-
arch/s390/kvm/priv.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/s390/kvm/intercept.c b/arch/s390/kvm/intercept.c
index 22798ec
.
- TEST SUBCHANNEL (tsch) dequeues pending interrupts in-kernel
and exits via KVM_EXIT_S390_TSCH to userspace for subchannel-
related processing.
Reviewed-by: Marcelo Tosatti mtosa...@redhat.com
Reviewed-by: Alexander Graf ag...@suse.de
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
Make s390 support KVM_ENABLE_CAP.
Reviewed-by: Marcelo Tosatti mtosa...@redhat.com
Acked-by: Alexander Graf ag...@suse.de
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
Documentation/virtual/kvm/api.txt | 2 +-
arch/s390/kvm/kvm-s390.c | 26 ++
2
with trapping PSW changing instructions and
watching for opened machine checks.
Reviewed-by: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
Documentation/virtual/kvm/api.txt | 4 ++
arch/s390/include/asm/kvm_host.h | 8 +++
arch/s390/kvm
From: Christian Borntraeger borntrae...@de.ibm.com
In rare cases a virtio command might try to issue a ccw before a former
ccw was answered with a tsch. This will cause CC=2 (busy). Lets just
retry in that case.
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
Signed-off-by: Cornelia
Dynamically allocate any data structures like ccw used when
doing channel I/O. Otherwise, we'd need to add extra serialization
for the different callbacks using the same data structures.
Reported-by: Christian Borntraeger borntrae...@de.ibm.com
Signed-off-by: Cornelia Huck cornelia.h
conditions on ccw_device_start
Cornelia Huck (1):
KVM: s390: Dynamic allocation of virtio-ccw I/O data.
drivers/s390/kvm/virtio_ccw.c | 291 ++
1 file changed, 181 insertions(+), 110 deletions(-)
--
1.7.12.4
--
To unsubscribe from this list: send the line
Hi,
I've been working on a new virtio transport for s390 replacing the
existing s390-virtio transport. Patches to Linux, qemu and the virtio
spec will follow.
Why?
s390-virtio is quite limited in the number of supported devices (all
related structures need to fit into a single specially mapped
) are outsourced to user space. This in-kernel
channel subsystem support can be enabled by user space via a new
capability.
Cornelia Huck (7):
s390/kvm: Support for I/O interrupts.
s390/kvm: Add support for machine checks.
s390/kvm: In-kernel handling of I/O instructions.
s390: Move css limits
Add support for handling I/O interrupts (standard, subchannel-related
ones and rudimentary adapter interrupts).
The subchannel-identifying parameters are encoded into the interrupt
type.
I/O interrupts are floating, so they can't be injected on a specific
vcpu.
Signed-off-by: Cornelia Huck
with trapping PSW changing instructions and
watching for opened machine checks.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/include/asm/kvm_host.h | 8 +++
arch/s390/kvm/intercept.c| 2 +
arch/s390/kvm/interrupt.c| 111
kvm will need to use some css-related structures (pmcw, schib, orb),
so let's move the definitions from drivers/s390/cio/ to include/asm/.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/include/asm/orb.h | 69 +++
arch/s390/include
1 - 100 of 670 matches
Mail list logo