Guest and host notifiers are needed by vhost. We use ioeventfds for
the guest notifiers, but need to fall back on qemu injecting interrupts
for the host notifiers.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
hw/s390x/virtio-ccw.c | 88
, host notifiers falling
back to qemu injecting interrupts as we don't have irqfd for s390 yet.
(I plan to implement that on top of adapter interrupts, which is the next
thing I'll takle.)
I'd like to get this into 1.6, so feedback is welcome.
Cornelia Huck (2):
virtio-ccw: Wire up ioeventfd
On hosts that support ioeventfd, make use of it for host-to-guest
notifications via diagnose 500.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
hw/s390x/css.c|2 +-
hw/s390x/css.h|1 +
hw/s390x/virtio-ccw.c | 117
Two bugfixes for problems that lurked in the virtual css and virtio-ccw
code since the beginning: Concurrent sense data was indicated by the
wrong bit, and un-setting indicators never worked due to a thinko.
Cornelia Huck (2):
s390x/css: Fix concurrent sense.
virtio-ccw: Fix unsetting
Fix an off-by-one error when indicating availablity of concurrent
sense data.
Cc: qemu-sta...@nongnu.org
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
hw/s390x/css.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/s390x/css.c b/hw/s390x/css.c
index e526a1c
Interpretation of the ccws to register (configuration) indicators contained
a thinko: We want to disallow reading from 0, but setting the indicator
pointer to 0 is fine.
Let's fix the handling for CCW_CMD_SET{,_CONF}_IND.
Cc: qemu-sta...@nongnu.org
Signed-off-by: Cornelia Huck cornelia.h
virtio-ccw-upstr
for you to fetch changes up to d1db1fa8dfcea9c62643f624f2a07d2fd375ce45:
virtio-ccw: Fix unsetting of indicators. (2013-06-06 10:25:59 +0200)
Cornelia Huck (2):
s390x/css: Fix concurrent sense.
virtio
Interpretation of the ccws to register (configuration) indicators contained
a thinko: We want to disallow reading from 0, but setting the indicator
pointer to 0 is fine.
Let's fix the handling for CCW_CMD_SET{,_CONF}_IND.
Cc: qemu-sta...@nongnu.org
Signed-off-by: Cornelia Huck cornelia.h
Fix an off-by-one error when indicating availablity of concurrent
sense data.
Cc: qemu-sta...@nongnu.org
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
hw/s390x/css.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/s390x/css.c b/hw/s390x/css.c
index e526a1c
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
virtio-spec.lyx | 147 +--
1 file changed, 144 insertions(+), 3 deletions(-)
diff --git a/virtio-spec.lyx b/virtio-spec.lyx
index 6e188d0..697351e 100644
--- a/virtio-spec.lyx
+++ b
a summary indicator for all devices sharing the same indicator
area.
Indicator bits for the individual virtqueues may be contained in the same
indicator area for different devices.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/include/asm/irq.h | 1 +
arch/s390/kernel/irq.c
.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
hw/s390x/css.c| 10
hw/s390x/css.h|2 ++
hw/s390x/virtio-ccw.c | 66 -
hw/s390x/virtio-ccw.h |4 +++
target-s390x/ioinst.h |2 ++
target-s390x/kvm.c
for the
device). This is partially inspired by what qdio does today.
I have seen some nice speedup on simple dd with my current implementation.
Adapter interrupts are also a prereq for implementing irqfd on s390, since
they eliminate the need for manipulating subchannel status.
Cornelia Huck (1):
virtio-ccw
Hi,
here's the qemu patch that implements the new adapter indicators ccw
in virtio-ccw and injects adapter interrupts for the devices enabled
for it.
Cornelia Huck (1):
s390/virtio-ccw: Adapter interrupt support.
hw/s390x/css.c| 10
hw/s390x/css.h|2 ++
hw
.
Cornelia Huck (2):
KVM: s390: virtio-ccw: Handle command rejects.
KVM: s390: virtio-ccw adapter interrupt support.
arch/s390/include/asm/irq.h | 1 +
arch/s390/kernel/irq.c| 1 +
drivers/s390/kvm/virtio_ccw.c | 307 --
3 files changed, 298
A command reject for a ccw may happen if we run on a host not supporting
a certain feature. We want to be able to handle this as special case of
command failure, so let's split this off from the generic -EIO error code.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
drivers/s390/kvm
On Sun, 09 Jun 2013 03:11:35 +0200
Andreas Färber afaer...@suse.de wrote:
Am 07.06.2013 19:28, schrieb Jason J. Herne:
From: Jason J. Herne jjhe...@us.ibm.com
Modify cpu initialization and QOM routines associated with s390-cpu such
that
all cpus on S390 are now created via the QOM
.
A better place for this could be the device_unplugged callback
for the virtio-ccw bus. However, we do not yet have a callback
that works: this patch avoids the problem while leaving the tree
bisectable.
Reported-by: Cornelia Huck cornelia.h...@de.ibm.com
Suggested-by: Cornelia Huck
prefer virtio_ccw_get_vdev() instead.
bool check_len;
int len;
hwaddr hw_len;
Otherwise:
Reviewed-by: Cornelia Huck cornelia.h...@de.ibm.com
be triggerable
for other platforms as well.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
hw/block/dataplane/virtio-blk.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/hw/block/dataplane/virtio-blk.c b/hw/block/dataplane/virtio-blk.c
index 5a96ccd..f2d7350 100644
--- a/hw/block
On Mon, 29 Jul 2013 15:59:53 +0200
Jens Freimann jf...@linux.vnet.ibm.com wrote:
This patch adds a floating irq controller as a kvm_device.
It will be necesary for migration of floating interrupts as well
as for hardening the reset code by allowing user space to explicitly
remove all pending
-by: Michael S. Tsirkin m...@redhat.com
---
Changes from v1:
better fix: use int everywhere
fix all places with same bug (e.g. -kernel was broken too)
hw/s390x/ipl.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
Reviewed-by: Cornelia Huck cornelia.h
to cc3ac9c4a6fd0574b767c599e4a582be8f23260d:
virtio-ccw: fix build breakage on windows (2013-07-01 11:00:20 +0200)
Cornelia Huck (1):
virtio-ccw: fix build breakage on windows
hw/s390x/virtio-ccw.c |6 ++
target-s390x/cpu.h
event_notifier_get_fd() is not available on windows hosts. Fix this by
moving the calls to event_notifier_get_fd() to the kvm code.
Reported-by: Stefan Weil s...@weilnetz.de
Reviewed-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
hw/s390x/virtio
Hi,
here's again my proposal for adapter (thin) interrupt support for virtio-ccw
devices, originally posted at
http://marc.info/?l=linux-virtualizationm=137060143904927w=2
The document is unchanged, only rebased against current master.
Cornelia Huck (1):
virtio-ccw: Document adapter
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
virtio-spec.lyx | 147 +--
1 file changed, 144 insertions(+), 3 deletions(-)
diff --git a/virtio-spec.lyx b/virtio-spec.lyx
index c920155..4729766 100644
--- a/virtio-spec.lyx
+++ b
Hi,
next version of the guest exploitation of virtio-ccw adapter interrupts.
Changes from the last version:
- adapt to latest kvm-next
- changed housekeeping for indicator locations: we now use cacheline-sized
and aligned areas
- minor tweaks
Cornelia Huck (2):
KVM: s390: virtio-ccw
Hi,
here's the current implementation of virtio-ccw adapter interrupts in qemu.
Code is unchanged, only rebased against current master.
Cornelia Huck (1):
s390/virtio-ccw: Adapter interrupt support.
hw/s390x/css.c| 10
hw/s390x/css.h|2 ++
hw/s390x/virtio
.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
hw/s390x/css.c| 10
hw/s390x/css.h|2 ++
hw/s390x/virtio-ccw.c | 64 -
hw/s390x/virtio-ccw.h |4
target-s390x/ioinst.h |2 ++
target-s390x/kvm.c
a summary indicator for all devices sharing the same indicator
area.
Indicator bits for the individual virtqueues may be contained in the same
indicator area for different devices.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/include/asm/irq.h | 1 +
arch/s390/kernel/irq.c
A command reject for a ccw may happen if we run on a host not supporting
a certain feature. We want to be able to handle this as special case of
command failure, so let's split this off from the generic -EIO error code.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
drivers/s390/kvm
On Tue, 09 Jul 2013 15:27:14 +0200
Christian Borntraeger borntrae...@de.ibm.com wrote:
On 09/07/13 13:34, Cornelia Huck wrote:
Handle the new CCW_CMD_SET_IND_ADAPTER command enabling adapter interrupts
on guest request. When active, host-guest notifications will be handled
via
Hi,
as we have notifiers for virtio-ccw now, we can enable dataplane for
virtio-blk.
(This patch has been running in our internal testing for some time now
and just has been redone to fit on upstream qemu.)
Patch is available at
git://github.com/cohuck/qemu virtio-ccw-upstr
Dominik Dingel
From: Dominik Dingel din...@linux.vnet.ibm.com
Add property x-data-plane to virtio-ccw-blk devices.
Signed-off-by: Dominik Dingel din...@linux.vnet.ibm.com
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
hw/s390x/virtio-ccw.c |3 +++
1 file changed, 3 insertions(+)
diff --git
From: Dominik Dingel din...@linux.vnet.ibm.com
Add property x-data-plane to virtio-ccw-blk devices.
Signed-off-by: Dominik Dingel din...@linux.vnet.ibm.com
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
hw/s390x/virtio-ccw.c |3 +++
1 file changed, 3 insertions(+)
diff --git
The following changes since commit c3cb8e77804313e1be99b5f28a34a346736707a5:
ioport: remove LITTLE_ENDIAN mark for portio (2013-07-12 14:37:47 -0500)
are available in the git repository at:
git://github.com/cohuck/qemu virtio-ccw-upstr
for you to fetch changes up to
On Tue, 16 Jul 2013 15:10:41 +0800
Stefan Hajnoczi stefa...@gmail.com wrote:
On Mon, Jul 15, 2013 at 07:15:55PM +0200, Paolo Bonzini wrote:
Il 15/07/2013 18:52, Anthony Liguori ha scritto:
Cornelia Huck cornelia.h...@de.ibm.com writes:
The following changes since commit
Hi,
here's another virtio-ccw bugfix which makes rebooting work better here.
Christian Borntraeger (1):
s390/virtio-ccw: Fix virtio reset
hw/s390x/virtio-ccw.c |2 ++
1 file changed, 2 insertions(+)
--
1.7.9.5
From: Christian Borntraeger borntrae...@de.ibm.com
On virtio reset we must reset the indicator to avoid stale interrupts,
e.g. after a reset.
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
Cc: qemu-sta...@nongnu.org
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
hw/s390x
Guest and host notifiers are needed by vhost. We use ioeventfds for
the guest notifiers, but need to fall back on qemu injecting interrupts
for the host notifiers.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
hw/s390x/virtio-ccw.c | 88
From: Christian Borntraeger borntrae...@de.ibm.com
On virtio reset we must reset the indicator to avoid stale interrupts,
e.g. after a reset.
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
Cc: qemu-sta...@nongnu.org
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
hw/s390x
Hi,
the following patches are currently sitting in
git://github.com/cohuck/qemu virtio-ccw-upstr
First, a bugfix for rebooting.
Second, the wiring up of ioeventfds and enablement of notifiers.
Christian Borntraeger (1):
s390/virtio-ccw: Fix virtio reset
Cornelia Huck (2):
virtio-ccw
On hosts that support ioeventfd, make use of it for host-to-guest
notifications via diagnose 500.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
hw/s390x/css.c|2 +-
hw/s390x/css.h|1 +
hw/s390x/virtio-ccw.c | 117
From: Christian Borntraeger borntrae...@de.ibm.com
On virtio reset we must reset the indicator to avoid stale interrupts,
e.g. after a reset.
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
Cc: qemu-sta...@nongnu.org
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
hw/s390x
to 320ce8503baf081725f74514d73d7bd65071a45e:
virtio-ccw: Wire up guest and host notifies. (2013-06-25 17:11:12 +0200)
Christian Borntraeger (1):
s390/virtio-ccw: Fix virtio reset
Cornelia Huck (2):
virtio-ccw: Wire up ioeventfd
On hosts that support ioeventfd, make use of it for host-to-guest
notifications via diagnose 500.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
hw/s390x/css.c|2 +-
hw/s390x/css.h|1 +
hw/s390x/virtio-ccw.c | 117
Guest and host notifiers are needed by vhost. We use ioeventfds for
the guest notifiers, but need to fall back on qemu injecting interrupts
for the host notifiers.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
hw/s390x/virtio-ccw.c | 88
event_notifier_get_fd() is not available on windows hosts. Fix this by
moving the calls to event_notifier_get_fd() to the kvm code.
Reported-by: Stefan Weil s...@weilnetz.de
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
hw/s390x/virtio-ccw.c |6 ++
target-s390x/cpu.h
On Mon, 09 Dec 2013 18:57:55 +0100
Paolo Bonzini pbonz...@redhat.com wrote:
Il 29/11/2013 11:17, Paolo Bonzini ha scritto:
This series fixes hot-unplug of virtio devices, which can crash due to
dangling pointer accesses.
The current implementation supports guest-initiated hot-unplug via
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
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
Add specifications for the new s390 specific virtio-ccw transport.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
virtio-spec.lyx | 433 +++
1 files changed, 433 insertions(+), 0 deletions(-)
diff --git a/virtio-spec.lyx b/virtio
Hi,
here's an update to the virtio spec describing the basics of
the virtio-ccw mechanism.
Cornelia Huck (1):
virtio-spec: Add virtio-ccw spec.
virtio-spec.lyx | 433 +++
1 files changed, 433 insertions(+), 0 deletions(-)
--
1.7.5.4
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
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
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
linux-headers/asm-s390/kvm.h | 2 +-
linux-headers/asm-s390/kvm_para.h | 2 +-
linux-headers/linux/kvm.h | 63 +++
3 files changed, 65 insertions(+), 2 deletions(-)
diff --git a/linux
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
) 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
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
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 cornelia.h...@de.ibm.com
---
hw/s390x/Makefile.objs | 1 +
hw/s390x/css.c
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 cornelia.h...@de.ibm.com
---
arch/s390/include/asm/irq.h
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
.
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.
blockdev.c|6 +-
hw
.
Cornelia Huck (4):
s390/kvm: Handle hosts not supporting s390-virtio.
s390: Add a mechanism to get the subchannel id.
s390/kvm: Add a channel I/O based virtio transport driver.
s390/kvm: Split out early console code.
arch/s390/include/asm/ccwdev.h | 5 +
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 | 10 ++
2 files changed, 15 insertions(+)
diff --git a/arch/s390/include/asm/ccwdev.h b/arch/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 cornelia.h...@de.ibm.com
---
hw/qdev-monitor.c | 5 +
hw/s390
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
if it does not exist.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
drivers/s390/kvm/kvm_virtio.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/s390/kvm/kvm_virtio.c b/drivers/s390/kvm/kvm_virtio.c
index 47cccd5..408447c 100644
--- a/drivers/s390/kvm
2012 IBM Corp.
+ * Author(s): Cornelia Huck cornelia.h...@de.ibm.com
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or (at
+ * your option) any later version. See the COPYING file in the top-level
+ * directory.
+ */
+
+#include qemu-thread.h
+#include qemu
+ *
+ * Copyright 2012 IBM Corp.
+ * Author(s): Cornelia Huck cornelia.h...@de.ibm.com
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or (at
+ * your option) any later version. See the COPYING file in the top-level
+ * directory.
+ */
+
+#include hw/hw.h
On Wed, 8 Aug 2012 09:27:32 +0100
Peter Maydell peter.mayd...@linaro.org wrote:
On 7 August 2012 15:52, Cornelia Huck cornelia.h...@de.ibm.com wrote:
+static void sch_handle_clear_func(SubchDev *sch)
+{
+struct pmcw *p = sch-curr_status.pmcw;
+struct scsw *s = sch
On Wed, 8 Aug 2012 19:39:33 +
Blue Swirl blauwir...@gmail.com wrote:
On Wed, Aug 8, 2012 at 7:34 PM, Peter Maydell peter.mayd...@linaro.org
wrote:
On 8 August 2012 20:16, Blue Swirl blauwir...@gmail.com wrote:
On Wed, Aug 8, 2012 at 8:17 AM, Cornelia Huck cornelia.h...@de.ibm.com
On Wed, 8 Aug 2012 19:03:14 +
Blue Swirl blauwir...@gmail.com wrote:
+struct vq_info_block {
+uint64_t queue;
+uint16_t num;
+} QEMU_PACKED;
+
+struct vq_config_block {
+uint16_t index;
+uint16_t num;
+} QEMU_PACKED;
Aren't these KVM structures?
On Thu, 09 Aug 2012 13:03:57 +0300
Avi Kivity a...@redhat.com wrote:
On 08/07/2012 05:52 PM, Cornelia Huck wrote:
Running under a kvm host does not necessarily imply the presence of
a page mapped above the main memory with the virtio information;
however, the code includes a hard coded
On Thu, 9 Aug 2012 12:34:04 +0100
Stefan Hajnoczi stefa...@gmail.com wrote:
On Tue, Aug 7, 2012 at 3:52 PM, Cornelia Huck cornelia.h...@de.ibm.com
wrote:
Add a new virtio transport that uses channel commands to perform
virtio operations.
Add a new machine type s390-ccw that uses
On Fri, 10 Aug 2012 01:09:15 +0200
Alexander Graf ag...@suse.de wrote:
On 07.08.2012, at 16:52, Cornelia Huck wrote:
Running under a kvm host does not necessarily imply the presence of
a page mapped above the main memory with the virtio information;
however, the code includes a hard
On Fri, 10 Aug 2012 10:42:48 +0200
Heiko Carstens heiko.carst...@de.ibm.com wrote:
On Thu, Aug 09, 2012 at 12:41:57PM +0200, Cornelia Huck wrote:
On Thu, 09 Aug 2012 13:03:57 +0300
Avi Kivity a...@redhat.com wrote:
On 08/07/2012 05:52 PM, Cornelia Huck wrote:
Running under a kvm
On Wed, 08 Aug 2012 13:52:57 +0930
Rusty Russell ru...@rustcorp.com.au wrote:
On Tue, 7 Aug 2012 16:52:47 +0200, Cornelia Huck cornelia.h...@de.ibm.com
wrote:
Add a driver for kvm guests that matches virtual ccw devices provided
by the host as virtio bridge devices.
Hi Cornelia
On Tue, 14 Aug 2012 10:52:09 +0200 (CEST)
Sebastian Ott seb...@linux.vnet.ibm.com wrote:
On Tue, 7 Aug 2012, Cornelia Huck wrote:
+/**
+ * ccw_device_get_schid - obtain a subchannel id
+ * @cdev: device to obtain the id for
+ * @schid: where to fill in the values
+ */
+void
On Tue, 14 Aug 2012 09:40:01 +0930
Rusty Russell ru...@rustcorp.com.au wrote:
On Mon, 13 Aug 2012 10:56:38 +0200, Cornelia Huck cornelia.h...@de.ibm.com
wrote:
On Wed, 08 Aug 2012 13:52:57 +0930
Rusty Russell ru...@rustcorp.com.au wrote:
On Tue, 7 Aug 2012 16:52:47 +0200, Cornelia
On Wed, 27 Jun 2012 15:02:23 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
When the guest is panicked, it will write 0x1 to the port KVM_PV_PORT.
So if qemu reads 0x1 from this port, we can do the folloing three
things according to the parameter -onpanic:
1. emit QEVENT_GUEST_PANICKED only
On Sat, 21 Jul 2012 15:16:56 +0200
Jan Kiszka jan.kis...@web.de wrote:
On 2012-07-21 14:57, Peter Maydell wrote:
On 21 July 2012 13:35, Jan Kiszka jan.kis...@web.de wrote:
On 2012-07-21 14:17, Peter Maydell wrote:
You still haven't really explained why we can't just ignore irqfd
for now.
On Mon, 23 Jul 2012 15:18:49 +0300
Avi Kivity a...@redhat.com wrote:
So, for example, if a specific subchannel (=device) has pending status
and an I/O interrupt is to be generated, this interrupt remains pending
until an arbitrary cpu is enabled for I/O interrupts. If several cpus
are
On Mon, 23 Jul 2012 16:14:02 +0300
Avi Kivity a...@redhat.com wrote:
On 07/23/2012 04:06 PM, Cornelia Huck wrote:
On Mon, 23 Jul 2012 15:18:49 +0300
Avi Kivity a...@redhat.com wrote:
So, for example, if a specific subchannel (=device) has pending status
and an I/O interrupt
On Mon, 23 Jul 2012 17:27:47 +0300
Avi Kivity a...@redhat.com wrote:
On 07/23/2012 04:55 PM, Cornelia Huck wrote:
Basically, we have some flags in our control block we can set so that
the cpu drops out of SIE whenever external/I/O/... interrupts are
enabled and then have the host do
Hi,
I have incorporated the feedback I received to my first RFC for
virtio-ccw (http://marc.info/?l=kvmm=134435141402140w=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
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
---
Changes v1-v2:
- update to virtio-ccw
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
---
Changes v1-v2:
- adapt
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 cornelia.h...@de.ibm.com
---
Changes v1 - v2:
- coding style
- re-organization of hardware
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 specifications for the new s390 specific virtio-ccw transport.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
Changes v1-v2:
- support more than 32 feature bits
- allow to allocate less than requested queue size
- allow to transfer alignment
---
virtio-spec.lyx | 534
-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.
blockdev.c
this :)
Cornelia Huck (1):
virtio-spec: Add virtio-ccw spec.
virtio-spec.lyx | 534 +++
1 files changed, 534 insertions(+), 0 deletions(-)
--
1.7.5.4
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
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.
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
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
if it does not exist.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
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
introduced.
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 from drivers/s390/cio/ to include/asm/.
s390: Make some css-related structures usable by non-cio code
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
1 - 100 of 7784 matches
Mail list logo