qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] buildbot failure in qemu on default_x86_64_rhel5


From: Aneesh Kumar K.V
Subject: Re: [Qemu-devel] buildbot failure in qemu on default_x86_64_rhel5
Date: Mon, 03 Oct 2011 16:10:50 +0530
User-agent: Notmuch/0.9_rc1 (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu)

On Mon, 3 Oct 2011 08:37:52 +0100, Stefan Hajnoczi <address@hidden> wrote:
> On Sat, Oct 01, 2011 at 03:03:23PM +0530, Aneesh Kumar K.V wrote:
> > +#ifndef CONFIG_UTIMENSAT
> > +    /*
> > +     * We support handle fs driver only if all related
> > +     * syscalls are provided by host.
> > +     */
> 
> Perhaps a ./configure check should be added to see whether the handle
> syscalls are supported instead of using CONFIG_UTIMENSAT.
> 

We already do check for handle syscall. Since glibc doesn't have the
this syscall yet, I added the check in virtio-9p-handle.c as below

#ifdef __NR_name_to_handle_at
static inline int name_to_handle(int dirfd, const char *name,
                                 struct file_handle *fh, int *mnt_id, int flags)
{
    return syscall(__NR_name_to_handle_at, dirfd, name, fh, mnt_id, flags);
}
#else
static inline int name_to_handle(int dirfd, const char *name,
                                 struct file_handle *fh, int *mnt_id, int flags)
{
    errno = ENOSYS;
    return -1;
}


-aneesh



reply via email to

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