qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 08/10] xen: pv domain builder.


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH 08/10] xen: pv domain builder.
Date: Thu, 2 Apr 2009 20:06:57 +0300

On 4/2/09, Gerd Hoffmann <address@hidden> wrote:
> This adds domain building support for paravirtual domains to qemu.
>  This allows booting xen guests directly with qemu, without Xend
>  and the management stack.
>
>  Signed-off-by: Gerd Hoffmann <address@hidden>

>  +    /* close all file handles, except stdio/out/err,
>  +     * our watch pipe and the xen interface handle */
>  +    for (i = 3; i < 256; i++) {

You should use getdtablesize() or sysconf(_SC_OPEN_MAX) instead of 256.




reply via email to

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