qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 6/8] virtio-gpu: v0.1 of the virtio based GPU co


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 6/8] virtio-gpu: v0.1 of the virtio based GPU code.
Date: Wed, 20 Nov 2013 12:26:57 +0100

On Mi, 2013-11-20 at 15:52 +1000, Dave Airlie wrote:
> From: Dave Airlie <address@hidden>
> 
> This is the basic virtio-gpu which is
> 
> multi-head capable,
> ARGB cursor support,
> unaccelerated.

I'd like to see an overview on the design of the virtual hardware.
What is the purpose of the virtio commands?
What are the steps a guest is supposed to do to get something displayed
on the screen?

> +    res = calloc(1, sizeof(struct virtgpu_simple_resource));
> +    if (!res)
> +     return;

qemu uses glib memory allocation functions (i.e. g_malloc0 for this
one).  Also no need to check for NULL.

cheers,
  Gerd





reply via email to

[Prev in Thread] Current Thread [Next in Thread]