From: Stefan Weil <sw@weilnetz.de>
To: Serge Hallyn <serge.hallyn@canonical.com>
Cc: "aliguori@us.ibm.com" <aliguori@us.ibm.com>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
aneesh.kumar@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [BUG QEMU 1.1] virtio-9p-handle does not compile
Date: Wed, 06 Jun 2012 23:16:28 +0200 [thread overview]
Message-ID: <4FCFC8AC.6020300@weilnetz.de> (raw)
In-Reply-To: <20120606174936.GA9515@sergelap>
Am 06.06.2012 19:49, schrieb Serge Hallyn:
> Quoting Stefan Weil (sw@weilnetz.de):
>> The patch will fix the compiler error messages, but will the
>> resulting code work? Maybe it has runtime dependencies
>> (Linux kernel?) which should be checked at runtime.
>>
>> Would an enhanced test in configure be a better solution?
>> It could disable VirtFS automatically if the definitions
>> are missing.
>>
>> On Ubuntu Lenny, there is no definition for AT_EMPTY_PATH,
> (Debian Lenny I presume)
Sorry, my mistake. I meant Ubuntu Lucid.
> True, the flag is newer than I thought. How could the configure option
> be enhanced? Could we simply grep for it in /usr/include/linux/fcntl.h,
> set an option saying it exists, then still do the #ifndef in
> hw/9pfs/virtio-9p-handle.c?
>
> (The problem is that the glibc and linux headers are currently not
> compatible... a separate problem, yes, but one I can't currently
> overcome AFAIK)
I'd use virtio-9p-handle only if AT_EMPTY_PATH is defined without
requiring a hack like using linux/fcntl.h.
configure can check that. Should I send a patch which does this check?
Regards,
Stefan W.
next prev parent reply other threads:[~2012-06-06 21:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-24 19:51 [Qemu-devel] [PATCH] virtio-9p-handle: define AT_EMPTY_PATH if needed Serge Hallyn
2012-06-06 10:50 ` [Qemu-devel] [BUG QEMU 1.1] virtio-9p-handle does not compile Stefano Stabellini
2012-06-06 16:29 ` Stefan Weil
2012-06-06 17:49 ` Serge Hallyn
2012-06-06 21:16 ` Stefan Weil [this message]
2012-06-06 21:30 ` Serge Hallyn
2012-06-07 3:45 ` Aneesh Kumar K.V
2012-06-06 17:49 ` [Qemu-devel] [PATCH] virtio-9p-handle: define AT_EMPTY_PATH if needed Aneesh Kumar K.V
2012-06-06 18:02 ` Serge Hallyn
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=4FCFC8AC.6020300@weilnetz.de \
--to=sw@weilnetz.de \
--cc=aliguori@us.ibm.com \
--cc=aneesh.kumar@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=serge.hallyn@canonical.com \
--cc=stefano.stabellini@eu.citrix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).