qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 04/10] xen: add framebuffer backend driver


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH 04/10] xen: add framebuffer backend driver
Date: Thu, 2 Apr 2009 19:57:48 +0300

On 4/2/09, Gerd Hoffmann <address@hidden> wrote:
> This patch adds a frsamebuffer (and kbd+mouse) backend driver.  It
>  it based on current xen-unstable code.  It has been changed to make
>  use of the common backend driver code.  It also has been changed to
>  compile with xen headers older than release 3.3
>
>  Signed-off-by: Gerd Hoffmann <address@hidden>

>  +    pgmfns = qemu_mallocz(sizeof(unsigned long) * n_fbdirs);
>  +    fbmfns = qemu_mallocz(sizeof(unsigned long) * xenfb->fbpages);
>  +    if (!pgmfns || !fbmfns)
>  +       goto out;

This check should be removed, qemu_malloc will abort if we're out of memory.




reply via email to

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