All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cornelia Huck <cohuck@redhat.com>
To: Farhan Ali <alifm@linux.vnet.ibm.com>, kraxel@redhat.com
Cc: qemu-devel@nongnu.org, borntraeger@de.ibm.com, thuth@redhat.com,
	pasic@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH v3 2/2] virtio-gpu-ccw: Create a virtio gpu device for the ccw bus
Date: Mon, 18 Sep 2017 12:05:36 +0200	[thread overview]
Message-ID: <20170918120536.6186c7fe.cohuck@redhat.com> (raw)
In-Reply-To: <6c53f939cf2d64b66d2a6878b29c9bf3820f3d5b.1505485574.git.alifm@linux.vnet.ibm.com>

On Fri, 15 Sep 2017 10:40:32 -0400
Farhan Ali <alifm@linux.vnet.ibm.com> wrote:

> Wire up the virtio-gpu device for the CCW bus. The virtio-gpu
> is a virtio-1 device, so disable revision 0.
> 
> Signed-off-by: Farhan Ali <alifm@linux.vnet.ibm.com>
> Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
> Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
> Reviewed-by: Thomas Huth <thuth@redhat.com>
> ---
>  hw/s390x/virtio-ccw.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
>  hw/s390x/virtio-ccw.h | 10 ++++++++++
>  2 files changed, 59 insertions(+)
> 
> diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c
> index b1976fd..12cacf6 100644
> --- a/hw/s390x/virtio-ccw.c
> +++ b/hw/s390x/virtio-ccw.c

> @@ -1815,6 +1863,7 @@ static void virtio_ccw_register(void)
>      type_register_static(&vhost_vsock_ccw_info);
>  #endif
>      type_register_static(&virtio_ccw_crypto);
> +    type_register_static(&virtio_ccw_gpu);

Not a critique of this patch, just an observation: For virtio-ccw, we
tend to collect the various virtio devices all in the same file. For
virtio-pci, they sometimes get separate files. Not sure which is
better, but it means that sometimes only the virtio-pci version is
added...

>  }
>  
>  type_init(virtio_ccw_register)

The patch looks good to me.

Gerd, if the first patch looks good to you, I can take both patches
through the s390 tree. If you prefer to merge the patches yourself,
that's fine with me as well.

Reviewed-by: Cornelia Huck <cohuck@redhat.com>

  reply	other threads:[~2017-09-18 10:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-15 14:40 [Qemu-devel] [PATCH v3 0/2] Virtio GPU for S390 Farhan Ali
2017-09-15 14:40 ` [Qemu-devel] [PATCH v3 1/2] virtio-gpu: Handle endian conversion Farhan Ali
2017-09-18 10:32   ` Gerd Hoffmann
2017-09-18 12:39     ` Farhan Ali
2017-09-15 14:40 ` [Qemu-devel] [PATCH v3 2/2] virtio-gpu-ccw: Create a virtio gpu device for the ccw bus Farhan Ali
2017-09-18 10:05   ` Cornelia Huck [this message]
2017-09-18 10:33     ` Gerd Hoffmann
2017-09-18 12:29 ` [Qemu-devel] [PATCH v3 0/2] Virtio GPU for S390 Cornelia Huck
2017-09-18 12:43   ` Farhan Ali

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170918120536.6186c7fe.cohuck@redhat.com \
    --to=cohuck@redhat.com \
    --cc=alifm@linux.vnet.ibm.com \
    --cc=borntraeger@de.ibm.com \
    --cc=kraxel@redhat.com \
    --cc=pasic@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.