Re: [PATCH 4/4] KVM: s390: Add a channel I/O based virtio transport driver.

2012-12-13 Thread Christian Borntraeger
On 13/12/12 12:19, Alexander Graf wrote: > > On 13.12.2012, at 12:13, Christian Borntraeger wrote: > >> On 13/12/12 12:06, Alexander Graf wrote: >>> >>> On 12.12.2012, at 21:12, Christian Borntraeger wrote: >>> On 12/12/12 19:31, Alexander Graf wrote: +static inline long do_kvm_notify(s

Re: [PATCH 4/4] KVM: s390: Add a channel I/O based virtio transport driver.

2012-12-13 Thread Alexander Graf
On 13.12.2012, at 12:13, Christian Borntraeger wrote: > On 13/12/12 12:06, Alexander Graf wrote: >> >> On 12.12.2012, at 21:12, Christian Borntraeger wrote: >> >>> On 12/12/12 19:31, Alexander Graf wrote: >>> +static inline long do_kvm_notify(struct subchannel_id schid, > +

Re: [PATCH 4/4] KVM: s390: Add a channel I/O based virtio transport driver.

2012-12-13 Thread Christian Borntraeger
On 13/12/12 12:06, Alexander Graf wrote: > > On 12.12.2012, at 21:12, Christian Borntraeger wrote: > >> On 12/12/12 19:31, Alexander Graf wrote: >> +static inline long do_kvm_notify(struct subchannel_id schid, + unsigned long queue_index) +{ +register unsigned l

Re: [PATCH 4/4] KVM: s390: Add a channel I/O based virtio transport driver.

2012-12-13 Thread Alexander Graf
On 12.12.2012, at 21:12, Christian Borntraeger wrote: > On 12/12/12 19:31, Alexander Graf wrote: > +static inline long do_kvm_notify(struct subchannel_id schid, >>> + unsigned long queue_index) >>> +{ >>> +register unsigned long __nr asm("1") = KVM_S390_VIRTIO_CCW_NOTIFY; >>>

Re: [PATCH 4/4] KVM: s390: Add a channel I/O based virtio transport driver.

2012-12-12 Thread Christian Borntraeger
On 12/12/12 19:31, Alexander Graf wrote: +static inline long do_kvm_notify(struct subchannel_id schid, >> + unsigned long queue_index) >> +{ >> +register unsigned long __nr asm("1") = KVM_S390_VIRTIO_CCW_NOTIFY; >> +register struct subchannel_id __schid asm("2") = schid; >

Re: [PATCH 4/4] KVM: s390: Add a channel I/O based virtio transport driver.

2012-12-12 Thread Alexander Graf
On 12/12/2012 05:36 PM, Cornelia Huck wrote: 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-b

[PATCH 4/4] KVM: s390: Add a channel I/O based virtio transport driver.

2012-12-12 Thread 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. Reviewed-by: Marcelo Tosatti Signed-off-by: Cornelia Huck --- arch/s390/include/asm/i