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

2012-08-09 Thread Stefan Hajnoczi
On Thu, Aug 9, 2012 at 1:12 PM, Cornelia Huck wrote: > On Thu, 9 Aug 2012 12:34:04 +0100 > Stefan Hajnoczi wrote: > >> On Tue, Aug 7, 2012 at 3:52 PM, Cornelia Huck >> wrote: >> > Add a new virtio transport that uses channel commands to perform >> > virtio operations. >> > >> > Add a new machin

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

2012-08-09 Thread Cornelia Huck
On Thu, 9 Aug 2012 12:34:04 +0100 Stefan Hajnoczi wrote: > On Tue, Aug 7, 2012 at 3:52 PM, 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

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

2012-08-09 Thread Stefan Hajnoczi
On Tue, Aug 7, 2012 at 3:52 PM, 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 it the default machine for s390. > > Signed-off-by: Cornelia Huck > --- >

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

2012-08-09 Thread Cornelia Huck
On Wed, 8 Aug 2012 19:03:14 + Blue Swirl 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

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

2012-08-08 Thread Blue Swirl
On Wed, Aug 8, 2012 at 8:28 AM, Cornelia Huck wrote: > On Tue, 7 Aug 2012 20:47:22 + > Blue Swirl wrote: > > >> > diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c >> > new file mode 100644 >> > index 000..8a90c3a >> > --- /dev/null >> > +++ b/hw/s390x/virtio-ccw.c >> > @@ -0,0 +

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

2012-08-08 Thread Cornelia Huck
On Tue, 7 Aug 2012 20:47:22 + Blue Swirl wrote: > > diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c > > new file mode 100644 > > index 000..8a90c3a > > --- /dev/null > > +++ b/hw/s390x/virtio-ccw.c > > @@ -0,0 +1,962 @@ > > +/* > > + * virtio ccw target implementation > > + *

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

2012-08-07 Thread Blue Swirl
On Tue, Aug 7, 2012 at 2:52 PM, 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 it the default machine for s390. > > Signed-off-by: Cornelia Huck > --- >

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

2012-08-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 --- hw/qdev-monitor.c | 5 + hw/s390-virtio.c | 268 +++