if it does not exist.
Reviewed-by: Marcelo Tosatti
Signed-off-by: Cornelia Huck
cc: sta...@vger.kernel.org
---
drivers/s390/kvm/kvm_virtio.c | 38 ++
1 file changed, 30 insertions(+), 8 deletions(-)
diff --git a/drivers/s390/kvm/kvm_virtio.c b/drivers/s390/kvm
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
Signed-off-by: Cornelia Huck
---
arch/s390/include/asm
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
---
arch/s390/include/asm/cio.h | 2 ++
drivers/s390/cio/css.h | 3 ---
2 files changed, 2 insertions(+), 3 deletions(-)
diff
ad 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
On Wed, 12 Dec 2012 01:33:46 +0100
Alexander Graf wrote:
>
> On 11.12.2012, at 13:34, Cornelia Huck wrote:
>
> > On Tue, 11 Dec 2012 11:09:55 +0100
> > Alexander Graf wrote:
> >
> >>
> >> On 10.12.2012, at 10:03, Cornelia Huck wrote:
On Tue, 11 Dec 2012 11:53:18 +0100
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-ccw that uses this vir
On Tue, 11 Dec 2012 11:18:44 +0100
Alexander Graf wrote:
>
> On 10.12.2012, at 10:18, Cornelia Huck wrote:
>
> > On Mon, 10 Dec 2012 10:00:16 +0100
> > Alexander Graf wrote:
> >
> >>
> >>
> >> On 07.12.2012, at 13:50, Cornelia Huck
On Tue, 11 Dec 2012 11:29:16 +0100
Alexander Graf wrote:
>
> On 10.12.2012, at 11:27, Cornelia Huck wrote:
>
> > On Mon, 10 Dec 2012 09:20:57 +0100
> > Alexander Graf wrote:
> >
> >>
> >> On 07.12.2012, at 13:50, Cornelia Huck wrote:
On Tue, 11 Dec 2012 11:27:05 +0100
Alexander Graf wrote:
>
> On 10.12.2012, at 11:18, Cornelia Huck wrote:
>
> > On Mon, 10 Dec 2012 09:07:57 +0100
> > Alexander Graf wrote:
> >
> >>
> >> On 07.12.2012, at 13:50, Cornelia Huck wrote:
> &
On Tue, 11 Dec 2012 11:22:04 +0100
Alexander Graf wrote:
>
> On 10.12.2012, at 11:09, Cornelia Huck wrote:
>
> > On Mon, 10 Dec 2012 08:33:10 +0100
> > Alexander Graf wrote:
> >
> >>
> >> On 07.12.2012, at 13:30, Cornelia Huck wrote:
> &
On Tue, 11 Dec 2012 11:10:39 +0100
Alexander Graf wrote:
>
> On 10.12.2012, at 10:06, Cornelia Huck wrote:
>
> > On Sun, 9 Dec 2012 13:45:47 +0100
> > Alexander Graf wrote:
> >
> >>
> >> On 07.12.2012, at 13:29, Cornelia Huck wrote:
> >
On Tue, 11 Dec 2012 11:09:55 +0100
Alexander Graf wrote:
>
> On 10.12.2012, at 10:03, Cornelia Huck wrote:
>
> > On Sun, 9 Dec 2012 13:12:37 +0100
> > Alexander Graf wrote:
> >
> >>
> >> On 07.12.2012, at 13:29, Cornelia Huck wrote:
> >
On Mon, 10 Dec 2012 18:26:28 -0600
Rob Landley 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
> http://ftp.nl.debian.org/debian/dists/Debian6.0.6/main/installer-s39
On Mon, 10 Dec 2012 09:02:51 +0100
Alexander Graf 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
On Mon, 10 Dec 2012 10:40:15 +0100
Alexander Graf wrote:
>
>
> On 07.12.2012, at 13:50, Cornelia Huck wrote:
>
> > Trigger the code for our virtual css in case of instruction
> > intercepts for I/O instructions.
> >
> > Handle the tsch exit for
On Mon, 10 Dec 2012 09:20:57 +0100
Alexander Graf 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
> &
On Mon, 10 Dec 2012 09:07:57 +0100
Alexander Graf wrote:
>
> On 07.12.2012, at 13:50, Cornelia Huck wrote:
>
> > Basic channel I/O structures and helper function.
> >
> > Signed-off-by: Cornelia Huck
> > ---
> > target-s390x/Makefile.objs | 2
On Mon, 10 Dec 2012 08:54:45 +0100
Alexander Graf wrote:
> Missing patch description. Otherwise:
"Add base infrastructure for enabling capabilities" would be redundant,
no?
>
> Acked-by: Alexander Graf
>
>
> Alex
>
> On 07.12.2012, at 13:30, Corne
On Mon, 10 Dec 2012 08:53:41 +0100
Alexander Graf wrote:
>
> On 07.12.2012, at 13:30, Cornelia Huck wrote:
>
> > Explicitely catch all channel I/O related instructions intercepts
> > in the kernel and set condition code 3 for them.
> >
> > This paves th
On Mon, 10 Dec 2012 08:51:11 +0100
Alexander Graf 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
On Mon, 10 Dec 2012 08:33:10 +0100
Alexander Graf 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-identi
On Mon, 10 Dec 2012 10:00:16 +0100
Alexander Graf wrote:
>
>
> On 07.12.2012, at 13:50, Cornelia Huck wrote:
>
> > Provide handlers for (most) channel I/O instructions.
> >
> > Signed-off-by: Cornelia Huck
> > ---
> > target-s390x/cpu.h|
On Sun, 9 Dec 2012 13:45:47 +0100
Alexander Graf 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 im
On Sun, 9 Dec 2012 13:12:37 +0100
Alexander Graf wrote:
>
> On 07.12.2012, at 13:29, Cornelia Huck wrote:
>
> > This will be needed by the new virtio-ccw transport.
> >
> > Signed-off-by: Cornelia Huck
> > ---
> > arch/s390/include/asm/ccwdev.h | 5
On Fri, 7 Dec 2012 13:01:27 +
Peter Maydell wrote:
> On 7 December 2012 12:50, Cornelia Huck wrote:
> > Signed-off-by: Cornelia Huck
>
> I think it would be good if commit messages for linux-headers
> updates stated the kernel tree and commit that the updated headers
Basic channel I/O structures and helper function.
Signed-off-by: Cornelia Huck
---
target-s390x/Makefile.objs | 2 +-
target-s390x/ioinst.c | 46 ++
target-s390x/ioinst.h | 207 +
3 files changed, 254 insertions(+), 1 deletion
I/O interrupts are queued per isc. Only crw pending machine checks
are supported.
Signed-off-by: Cornelia Huck
---
target-s390x/cpu.h| 67 +++
target-s390x/helper.c | 145 ++
2 files changed, 212 insertions(+)
diff --git
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
---
target-s390x/cpu.h | 11 +++
target-s390x/kvm.c | 246
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
---
hw/s390-virtio.c | 149 ++--
hw/s390x/Makefile.objs | 1
Provide a mechanism for qemu to provide fully virtual subchannels to
the guest.
Signed-off-by: Cornelia Huck
---
hw/s390x/Makefile.objs |1 +
hw/s390x/css.c | 1195
hw/s390x/css.h | 92
target-s390x/cpu.h | 65
Provide handlers for (most) channel I/O instructions.
Signed-off-by: Cornelia Huck
---
target-s390x/cpu.h| 87 +++
target-s390x/ioinst.c | 694 +-
target-s390x/ioinst.h | 16 ++
trace-events | 6 +
4 files changed, 796
Some of the machine initialization for s390-virtio will be reused
by virtio-ccw.
Signed-off-by: Cornelia Huck
---
hw/s390-virtio.c | 132 +--
1 file changed, 79 insertions(+), 53 deletions(-)
diff --git a/hw/s390-virtio.c b/hw/s390-virtio.c
t upon 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.
s39
Signed-off-by: Cornelia Huck
---
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 +++---
4 files changed, 98
roach with trapping PSW changing instructions and
watching for opened machine checks.
Reviewed-by: Marcelo Tosatti
Signed-off-by: Cornelia Huck
---
Documentation/virtual/kvm/api.txt | 4 ++
arch/s390/include/asm/kvm_host.h | 8 +++
arch/s390/kvm/intercept.c | 2 +
arch/s39
Reviewed-by: Marcelo Tosatti
Signed-off-by: Cornelia Huck
---
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
satti
Signed-off-by: Cornelia Huck
---
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 changed, 122 insertions(+), 5 deletions(-)
.
- 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
Signed-off-by: Cornelia Huck
---
Documentation/virtual/kvm/api.txt | 30
arch/s390/include/asm/kvm_host.h
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 inter
t 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
Signed-off-by: Cornelia Huck
---
arch/s390/kvm/intercept.c | 19 +---
arch/s390/kvm/kvm-s390.h | 1 +
arch/s390/kvm/p
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
Signed-off-by: Cornelia Huck
---
arch/s390/include/asm
This code is transport agnostic and can be used by both the legacy
virtio code and virtio_ccw.
Reviewed-by: Marcelo Tosatti
Signed-off-by: Cornelia Huck
---
drivers/s390/kvm/Makefile | 2 +-
drivers/s390/kvm/early_printk.c | 42 +
drivers/s390/kvm
This will be needed by the new virtio-ccw transport.
Signed-off-by: Cornelia Huck
---
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/include/asm/ccwdev.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
---
arch/s390/include/asm/cio.h | 2 ++
drivers/s390/cio/css.h | 3 ---
2 files changed, 2 insertions(+), 3 deletions(-)
diff
if it does not exist.
Reviewed-by: Marcelo Tosatti
Signed-off-by: Cornelia Huck
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
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.
Cor
On Mon, 19 Nov 2012 14:30:00 +0100
Alexander Graf 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
On Mon, 12 Nov 2012 23:17:55 -0200
Marcelo Tosatti 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
On Mon, 05 Nov 2012 11:13:42 -0500
Jeff Mahoney 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 attached.
>
y
accesses, 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/s390
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
---
hw/s390-virtio.c | 282 +++
hw/s390x
roach with trapping PSW changing instructions and
watching for opened machine checks.
Signed-off-by: Cornelia Huck
---
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
Signed-off-by: Cornelia Huck
---
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-headers/linux/kvm.h
Signed-off-by: Cornelia Huck
---
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/api.txt
index 5d09948
.
- 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
---
Documentation/virtual/kvm/api.txt | 30
arch/s390/include/asm/kvm_host.h | 1 +
arch/s390/kvm
rrect 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
---
arch/s390/kvm/intercept.c | 19 +---
arch/s390/kvm/kvm-s390.h | 1 +
arch/s390/kvm/priv.c
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
ncludes two 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: Supp
Hi,
here's the respin of the virtio-ccw guest support patches
(from http://marc.info/?l=kvm&m=135151606921361&w=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 s
This code is transport agnostic and can be used by both the legacy
virtio code and virtio_ccw.
Signed-off-by: Cornelia Huck
---
drivers/s390/kvm/Makefile | 2 +-
drivers/s390/kvm/early_printk.c | 42 +
drivers/s390/kvm/kvm_virtio.c | 29
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
---
arch/s390/include/asm/cio.h | 2 ++
drivers/s390/cio/css.h | 3 ---
2 files changed, 2 insertions(+), 3 deletions(-)
diff
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
---
arch/s390/include/asm/irq.h | 1 +
arch/s390
This will be needed by the new virtio-ccw transport.
Signed-off-by: Cornelia Huck
---
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/include/asm/ccwdev.h
if it does not exist.
Signed-off-by: Cornelia Huck
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/kvm_virtio.c
index 47cccd5
On Tue, 30 Oct 2012 16:12:47 +0100
Alexander Graf wrote:
>
>
> On 30.10.2012, at 15:29, Cornelia Huck wrote:
>
> > On Tue, 30 Oct 2012 14:43:10 +0100
> > Alexander Graf wrote:
> >
> >> On 10/30/2012 01:59 PM, Cornelia Huck wrote:
> >>>
On Tue, 30 Oct 2012 15:05:23 +0100
Alexander Graf wrote:
>
>
> On 30.10.2012, at 15:00, Cornelia Huck wrote:
>
> > On Tue, 30 Oct 2012 14:41:46 +0100
> > Alexander Graf wrote:
> >
> >> On 10/30/2012 02:03 PM, Cornelia Huck wrote:
> >>>
On Tue, 30 Oct 2012 14:43:10 +0100
Alexander Graf wrote:
> On 10/30/2012 01:59 PM, Cornelia Huck wrote:
> > On Mon, 29 Oct 2012 19:14:19 +0100
> > Alexander Graf wrote:
> >
> >> On 29.10.2012, at 14:07, Cornelia Huck wrote:
> >>
> >>> This cod
On Tue, 30 Oct 2012 14:41:46 +0100
Alexander Graf wrote:
> On 10/30/2012 02:03 PM, Cornelia Huck wrote:
> > On Mon, 29 Oct 2012 19:37:10 +0100
> > Alexander Graf wrote:
> >
> >> On 29.10.2012, at 19:34, Cornelia Huck wrote:
> >>
> >>> On M
On Mon, 29 Oct 2012 19:33:14 +0100
Alexander Graf wrote:
>
> On 29.10.2012, at 19:15, Cornelia Huck wrote:
>
> > On Mon, 29 Oct 2012 18:55:21 +0100
> > Alexander Graf wrote:
> >
> >>
> >> On 29.10.2012, at 14:07, Cornelia Huck wrote:
>
On Mon, 29 Oct 2012 19:37:10 +0100
Alexander Graf wrote:
>
> On 29.10.2012, at 19:34, Cornelia Huck wrote:
>
> > On Mon, 29 Oct 2012 19:12:54 +0100
> > Alexander Graf wrote:
> >
> >>
> >> On 29.10.2012, at 14:07, Cornelia Huck wrote:
> &g
On Mon, 29 Oct 2012 19:14:19 +0100
Alexander Graf 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 virt
On Mon, 29 Oct 2012 19:12:54 +0100
Alexander Graf 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_
On Mon, 29 Oct 2012 18:55:21 +0100
Alexander Graf 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
This code is transport agnostic and can be used by both the legacy
virtio code and virtio_ccw.
Signed-off-by: Cornelia Huck
---
drivers/s390/kvm/Makefile | 2 +-
drivers/s390/kvm/early_printk.c | 42 +
drivers/s390/kvm/kvm_virtio.c | 29
This will be needed by the new virtio-ccw transport.
Signed-off-by: Cornelia Huck
---
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/include/asm/ccwdev.h
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
---
arch/s390/include/asm/irq.h | 1 +
arch/s390
internal environment.
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
if it does not exist.
Signed-off-by: Cornelia Huck
---
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..76b95f3 100644
--- a
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
---
arch/s390/include/asm/cio.h | 2 ++
drivers/s390/cio/css.h | 3 ---
2 files changed, 2 insertions(+), 3 deletions(-)
diff
On Fri, 12 Oct 2012 09:07:46 +1030
Rusty Russell wrote:
> "Michael S. Tsirkin" 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 to handle arbitrary layout
On Wed, 10 Oct 2012 18:32:14 +0200
Alexander Graf 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
> >>
> >> Signed-off-by: Cornelia Hu
On Wed, 10 Oct 2012 13:27:09 -0300
Marcelo Tosatti 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" in
the b
On Thu, 20 Sep 2012 09:27:00 -0500
Anthony Liguori wrote:
> Cornelia Huck writes:
>
> > This patch enables using both virtio-xxx-s390 and virtio-xxx-ccw
> > by making the alias lookup code verify that a driver is actually
> > registered.
> >
> > (Only i
On Wed, 19 Sep 2012 18:38:38 +0200
Alexander Graf wrote:
>
> On 04.09.2012, at 17:13, Cornelia Huck wrote:
> > +static u32 virtio_ccw_get_features(struct virtio_device *vdev)
> > +{
> > + struct virtio_ccw_device *vcdev = to_vc_device(vdev);
> > + struc
On Thu, 27 Sep 2012 09:59:33 +0930
Rusty Russell wrote:
> Hi all,
>
> I've had several requests for a more formal approach to the
> virtio draft spec, and (after some soul-searching) I'd like to try that.
>
> The proposal is to use OASIS as the standards body, as it's
> fairly light
On Thu, 06 Sep 2012 11:56:31 +0930
Rusty Russell wrote:
> Cornelia Huck writes:
>
> > Add specifications for the new s390 specific virtio-ccw transport.
> >
> > Signed-off-by: Cornelia Huck
>
> Excellent. I have applied and pushed this revision.
Cool.
Unf
On Wed, 5 Sep 2012 09:22:32 +0200
Heiko Carstens wrote:
> On Tue, Sep 04, 2012 at 05:13:25PM +0200, Cornelia Huck wrote:
>
> Just some quick comments:
>
> [...]
>
> > int kvm_s390_inject_program_int(struct kvm_vcpu *vcpu, u16 code)
> > {
> > struct
On Wed, 05 Sep 2012 10:28:53 +0300
Avi Kivity wrote:
> On 09/04/2012 06:13 PM, Cornelia Huck wrote:
> > Add support for handling I/O interrupts (standard, subchannel-related
> > ones and rudimentary adapter interrupts).
> >
> > The subchannel-identifying para
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
---
arch/s390/include/asm/orb.h | 69 +++
arch/s390/include/asm/schib.h
if it does not exist.
Signed-off-by: Cornelia Huck
---
Changes v1->v2:
- check for the presence of the patch with lura
- reorder init sequence
- comments
---
drivers/s390/kvm/kvm_virtio.c | 39 +++
1 file changed, 31 insertions(+), 8 deletions(-)
diff --
irtio-ccw
primitives.
Cornelia Huck (5):
Update headers for upcoming s390 changes.
s390: Virtual channel subsystem support.
s390: Add new channel I/O based virtio transport.
s390: Virtual channel subsystem support for !KVM.
[HACK] Handle multiple virtio aliases.
block
Signed-off-by: Cornelia Huck
---
Changes v1->v2:
- update to latest kvm interface changes
---
linux-headers/asm-generic/kvm_para.h | 5 +++
linux-headers/asm-x86/kvm.h | 1 +
linux-headers/linux/kvm.h| 80 ++--
3 files changed,
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.
The !KVM case is not yet supported.
Signed-off-by: Cornelia Huck
---
Changes v1 -> v2:
- coding style
- re-organization of hardware structures
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
---
Changes v1->v2:
- update to virtio-ccw interface changes
---
Add specifications for the new s390 specific virtio-ccw transport.
Signed-off-by: Cornelia Huck
---
Changes v1->v2:
- support more than 32 feature bits
- allow to allocate less than requested queue size
- allow to transfer alignment
---
virtio-spec.lyx |
This patch enables using both virtio-xxx-s390 and virtio-xxx-ccw
by making the alias lookup code verify that a driver is actually
registered.
(Only included in order to allow testing of virtio-ccw; should be
replaced by cleaning up the virtio bus model.)
Not-signed-off-by: Cornelia Huck
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
---
Changes v1->v2:
- adapt to improved virtio-
:)
Cornelia Huck (1):
virtio-spec: Add virtio-ccw spec.
virtio-spec.lyx | 534 +++
1 files changed, 534 insertions(+), 0 deletions(-)
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a
Hi,
I have incorporated the feedback I received to my first RFC for
virtio-ccw (http://marc.info/?l=kvm&m=134435141402140&w=2) and will
post the updates shortly.
Patches will again be sorted into kernel host and guest, qemu, and
virtio spec.
Feedback is still welcome.
Cornelia
--
To unsubscrib
roach with trapping PSW changing instructions and
watching for opened machine checks.
Signed-off-by: Cornelia Huck
---
arch/s390/include/asm/kvm_host.h | 8 +++
arch/s390/kvm/intercept.c| 2 +
arch/s390/kvm/interrupt.c| 111
arch/s390/kvm/kvm
501 - 600 of 671 matches
Mail list logo