* [Qemu-devel] Qemu baseline requirements/portability?
@ 2019-06-05 19:55 H. Peter Anvin
2019-06-05 20:46 ` H. Peter Anvin
0 siblings, 1 reply; 4+ messages in thread
From: H. Peter Anvin @ 2019-06-05 19:55 UTC (permalink / raw)
To: qemu-devel
Hi,
I am writing some code I'm hoping will be able to make it into Qemu, but I
can't seem to find what the baseline portability requirements are. I'm
specifically wondering about newer POSIX features like openat(), which seems
to be used in the 9p filesystem and nowhere else, and what version of glib one
can rely on?
Thanks,
-hpa
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Qemu baseline requirements/portability?
2019-06-05 19:55 [Qemu-devel] Qemu baseline requirements/portability? H. Peter Anvin
@ 2019-06-05 20:46 ` H. Peter Anvin
2019-06-06 5:30 ` Markus Armbruster
0 siblings, 1 reply; 4+ messages in thread
From: H. Peter Anvin @ 2019-06-05 20:46 UTC (permalink / raw)
To: qemu-devel
On 6/5/19 12:55 PM, H. Peter Anvin wrote:
> Hi,
>
> I am writing some code I'm hoping will be able to make it into Qemu, but I
> can't seem to find what the baseline portability requirements are. I'm
> specifically wondering about newer POSIX features like openat(), which seems
> to be used in the 9p filesystem and nowhere else, and what version of glib one
> can rely on?
>
Specifically, I'm trying to satisfy a 10-year-old request by me and others to
support composite initrd during Linux boot.
-hpa
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Qemu baseline requirements/portability?
2019-06-05 20:46 ` H. Peter Anvin
@ 2019-06-06 5:30 ` Markus Armbruster
2019-06-06 9:48 ` Daniel P. Berrangé
0 siblings, 1 reply; 4+ messages in thread
From: Markus Armbruster @ 2019-06-06 5:30 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: qemu-devel
"H. Peter Anvin" <hpa@zytor.com> writes:
> On 6/5/19 12:55 PM, H. Peter Anvin wrote:
>> Hi,
>>
>> I am writing some code I'm hoping will be able to make it into Qemu, but I
>> can't seem to find what the baseline portability requirements are. I'm
>> specifically wondering about newer POSIX features like openat(), which seems
>> to be used in the 9p filesystem and nowhere else, and what version of glib one
>> can rely on?
>>
>
> Specifically, I'm trying to satisfy a 10-year-old request by me and others to
> support composite initrd during Linux boot.
Please peruse qemu-doc.texi @appendix Supported build platforms. If it
doesn't fully answer your question, ask for clarification here.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Qemu baseline requirements/portability?
2019-06-06 5:30 ` Markus Armbruster
@ 2019-06-06 9:48 ` Daniel P. Berrangé
0 siblings, 0 replies; 4+ messages in thread
From: Daniel P. Berrangé @ 2019-06-06 9:48 UTC (permalink / raw)
To: Markus Armbruster; +Cc: qemu-devel, H. Peter Anvin
On Thu, Jun 06, 2019 at 07:30:08AM +0200, Markus Armbruster wrote:
> "H. Peter Anvin" <hpa@zytor.com> writes:
>
> > On 6/5/19 12:55 PM, H. Peter Anvin wrote:
> >> Hi,
> >>
> >> I am writing some code I'm hoping will be able to make it into Qemu, but I
> >> can't seem to find what the baseline portability requirements are. I'm
> >> specifically wondering about newer POSIX features like openat(), which seems
> >> to be used in the 9p filesystem and nowhere else, and what version of glib one
> >> can rely on?
> >>
> >
> > Specifically, I'm trying to satisfy a 10-year-old request by me and others to
> > support composite initrd during Linux boot.
>
> Please peruse qemu-doc.texi @appendix Supported build platforms. If it
> doesn't fully answer your question, ask for clarification here.
And specificially on the glib version question, we currently mandate 2.40.
If you try to use a glib API from a version newer than 2.40 we have things
setup so that you should get a fatal compile error due to our use of
#define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_40
If you do think it is useful to have an API from glib > 2.40 you can put
some back compat logic in include/glib-compat.h so that you can use the
newer API and gracefully degrade on older glib.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-06-06 9:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-05 19:55 [Qemu-devel] Qemu baseline requirements/portability? H. Peter Anvin
2019-06-05 20:46 ` H. Peter Anvin
2019-06-06 5:30 ` Markus Armbruster
2019-06-06 9:48 ` Daniel P. Berrangé
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).