gitignore: anchor all ignored names
by default, patterns/names in .gitignore are applied
recursively to all subdirectories. So any name mentioned
in .gitignore is ignored in all subdirectores. This is good
for, say. object files (*.o), but not good for particular
names which should be ignored only in one directory. For
example, qemu-img.1 file is generated in the top directory,
and it should be ignored only there, not in some subdir.
At first, this might not matter much, but we have lots of
examples already where it actually does not help at all.
For example, top-level .gitignore ignores a file/dir named
"patches" (which is very questionable by itself), but it
is applied recursively, so git also ignores, for example,
debian/patches/ which should not be ignored.
So anchor all the names where appropriate. .gitignore
should be cleaned up further, which will be addressed in
a subsequent patch.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-02-11 10:22:32 +00:00
|
|
|
/config-devices.*
|
|
|
|
/config-all-devices.*
|
|
|
|
/config-all-disas.*
|
|
|
|
/config-host.*
|
|
|
|
/config-target.*
|
|
|
|
/config.status
|
2014-05-23 16:07:24 +00:00
|
|
|
/config-temp
|
2016-06-16 08:39:47 +00:00
|
|
|
/trace-events-all
|
gitignore: anchor all ignored names
by default, patterns/names in .gitignore are applied
recursively to all subdirectories. So any name mentioned
in .gitignore is ignored in all subdirectores. This is good
for, say. object files (*.o), but not good for particular
names which should be ignored only in one directory. For
example, qemu-img.1 file is generated in the top directory,
and it should be ignored only there, not in some subdir.
At first, this might not matter much, but we have lots of
examples already where it actually does not help at all.
For example, top-level .gitignore ignores a file/dir named
"patches" (which is very questionable by itself), but it
is applied recursively, so git also ignores, for example,
debian/patches/ which should not be ignored.
So anchor all the names where appropriate. .gitignore
should be cleaned up further, which will be addressed in
a subsequent patch.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-02-11 10:22:32 +00:00
|
|
|
/trace/generated-events.h
|
|
|
|
/trace/generated-events.c
|
2014-05-30 12:12:01 +00:00
|
|
|
/trace/generated-helpers-wrappers.h
|
2014-05-30 12:11:50 +00:00
|
|
|
/trace/generated-helpers.h
|
2014-05-30 12:11:56 +00:00
|
|
|
/trace/generated-helpers.c
|
2014-05-30 12:12:13 +00:00
|
|
|
/trace/generated-tcg-tracers.h
|
2015-06-23 12:30:20 +00:00
|
|
|
/ui/shader/texture-blit-frag.h
|
|
|
|
/ui/shader/texture-blit-vert.h
|
2017-10-20 07:09:14 +00:00
|
|
|
/ui/shader/texture-blit-flip-vert.h
|
2017-09-29 10:11:58 +00:00
|
|
|
/ui/input-keymap-*.c
|
2010-10-07 11:07:15 +00:00
|
|
|
*-timestamp
|
gitignore: anchor all ignored names
by default, patterns/names in .gitignore are applied
recursively to all subdirectories. So any name mentioned
in .gitignore is ignored in all subdirectores. This is good
for, say. object files (*.o), but not good for particular
names which should be ignored only in one directory. For
example, qemu-img.1 file is generated in the top directory,
and it should be ignored only there, not in some subdir.
At first, this might not matter much, but we have lots of
examples already where it actually does not help at all.
For example, top-level .gitignore ignores a file/dir named
"patches" (which is very questionable by itself), but it
is applied recursively, so git also ignores, for example,
debian/patches/ which should not be ignored.
So anchor all the names where appropriate. .gitignore
should be cleaned up further, which will be addressed in
a subsequent patch.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-02-11 10:22:32 +00:00
|
|
|
/*-softmmu
|
|
|
|
/*-darwin-user
|
|
|
|
/*-linux-user
|
|
|
|
/*-bsd-user
|
2015-10-26 20:27:31 +00:00
|
|
|
/ivshmem-client
|
|
|
|
/ivshmem-server
|
2014-04-27 11:02:26 +00:00
|
|
|
/libdis*
|
|
|
|
/libuser
|
gitignore: anchor all ignored names
by default, patterns/names in .gitignore are applied
recursively to all subdirectories. So any name mentioned
in .gitignore is ignored in all subdirectores. This is good
for, say. object files (*.o), but not good for particular
names which should be ignored only in one directory. For
example, qemu-img.1 file is generated in the top directory,
and it should be ignored only there, not in some subdir.
At first, this might not matter much, but we have lots of
examples already where it actually does not help at all.
For example, top-level .gitignore ignores a file/dir named
"patches" (which is very questionable by itself), but it
is applied recursively, so git also ignores, for example,
debian/patches/ which should not be ignored.
So anchor all the names where appropriate. .gitignore
should be cleaned up further, which will be addressed in
a subsequent patch.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-02-11 10:22:32 +00:00
|
|
|
/linux-headers/asm
|
2014-03-10 18:08:59 +00:00
|
|
|
/qga/qapi-generated
|
gitignore: anchor all ignored names
by default, patterns/names in .gitignore are applied
recursively to all subdirectories. So any name mentioned
in .gitignore is ignored in all subdirectores. This is good
for, say. object files (*.o), but not good for particular
names which should be ignored only in one directory. For
example, qemu-img.1 file is generated in the top directory,
and it should be ignored only there, not in some subdir.
At first, this might not matter much, but we have lots of
examples already where it actually does not help at all.
For example, top-level .gitignore ignores a file/dir named
"patches" (which is very questionable by itself), but it
is applied recursively, so git also ignores, for example,
debian/patches/ which should not be ignored.
So anchor all the names where appropriate. .gitignore
should be cleaned up further, which will be addressed in
a subsequent patch.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-02-11 10:22:32 +00:00
|
|
|
/qapi-generated
|
2018-02-26 19:48:58 +00:00
|
|
|
/qapi-gen-timestamp
|
qapi/types qapi/visit: Generate built-in stuff into separate files
Linking code from multiple separate QAPI schemata into the same
program is possible, but involves some weirdness around built-in
types:
* We generate code for built-in types into .c only with option
--builtins. The user is responsible for generating code for exactly
one QAPI schema per program with --builtins.
* We generate code for built-in types into .h regardless of
--builtins, but guarded by #ifndef QAPI_VISIT_BUILTIN. Because all
copies of this code are exactly the same, including any combination
of these headers works.
Replace this contraption by something more conventional: generate code
for built-in types into their very own files: qapi-builtin-types.c,
qapi-builtin-visit.c, qapi-builtin-types.h, qapi-builtin-visit.h, but
only with --builtins. Obey --output-dir, but ignore --prefix for
them.
Make qapi-types.h include qapi-builtin-types.h. With multiple
schemata you now have multiple qapi-types.[ch], but only one
qapi-builtin-types.[ch]. Same for qapi-visit.[ch] and
qapi-builtin-visit.[ch].
Bonus: if all you need is built-in stuff, you can include a much
smaller header. To be exploited shortly.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180211093607.27351-21-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
[eblake: fix octal constant for python 3]
Signed-off-by: Eric Blake <eblake@redhat.com>
2018-02-26 22:29:21 +00:00
|
|
|
/qapi-builtin-types.[ch]
|
|
|
|
/qapi-builtin-visit.[ch]
|
qapi: Generate separate .h, .c for each module
Our qapi-schema.json is composed of modules connected by include
directives, but the generated code is monolithic all the same: one
qapi-types.h with all the types, one qapi-visit.h with all the
visitors, and so forth. These monolithic headers get included all
over the place. In my "build everything" tree, adding a QAPI type
recompiles about 4800 out of 5100 objects.
We wouldn't write such monolithic headers by hand. It stands to
reason that we shouldn't generate them, either.
Split up generated qapi-types.h to mirror the schema's modular
structure: one header per module. Name the main module's header
qapi-types.h, and sub-module D/B.json's header D/qapi-types-B.h.
Mirror the schema's includes in the headers, so that qapi-types.h gets
you everything exactly as before. If you need less, you can include
one or more of the sub-module headers. To be exploited shortly.
Split up qapi-types.c, qapi-visit.h, qapi-visit.c, qmp-commands.h,
qmp-commands.c, qapi-event.h, qapi-event.c the same way.
qmp-introspect.h, qmp-introspect.c and qapi.texi remain monolithic.
The split of qmp-commands.c duplicates static helper function
qmp_marshal_output_str() in qapi-commands-char.c and
qapi-commands-misc.c. This happens when commands returning the same
type occur in multiple modules. Not worth avoiding.
Since I'm going to rename qapi-event.[ch] to qapi-events.[ch], and
qmp-commands.[ch] to qapi-commands.[ch], name the shards that way
already, to reduce churn. This requires temporary hacks in
commands.py and events.py. Similarly, c_name() must temporarily
be taught to munge '/' in common.py. They'll go away with the rename.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180211093607.27351-23-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: declare a dummy variable in each .c file, to shut up OSX
toolchain warnings about empty .o files, including hacking c_name()]
Signed-off-by: Eric Blake <eblake@redhat.com>
2018-02-11 09:36:00 +00:00
|
|
|
/qapi/qapi-commands-block-core.[ch]
|
|
|
|
/qapi/qapi-commands-block.[ch]
|
|
|
|
/qapi/qapi-commands-char.[ch]
|
|
|
|
/qapi/qapi-commands-common.[ch]
|
|
|
|
/qapi/qapi-commands-crypto.[ch]
|
|
|
|
/qapi/qapi-commands-introspect.[ch]
|
|
|
|
/qapi/qapi-commands-migration.[ch]
|
2018-02-26 23:13:27 +00:00
|
|
|
/qapi/qapi-commands-misc.[ch]
|
qapi: Generate separate .h, .c for each module
Our qapi-schema.json is composed of modules connected by include
directives, but the generated code is monolithic all the same: one
qapi-types.h with all the types, one qapi-visit.h with all the
visitors, and so forth. These monolithic headers get included all
over the place. In my "build everything" tree, adding a QAPI type
recompiles about 4800 out of 5100 objects.
We wouldn't write such monolithic headers by hand. It stands to
reason that we shouldn't generate them, either.
Split up generated qapi-types.h to mirror the schema's modular
structure: one header per module. Name the main module's header
qapi-types.h, and sub-module D/B.json's header D/qapi-types-B.h.
Mirror the schema's includes in the headers, so that qapi-types.h gets
you everything exactly as before. If you need less, you can include
one or more of the sub-module headers. To be exploited shortly.
Split up qapi-types.c, qapi-visit.h, qapi-visit.c, qmp-commands.h,
qmp-commands.c, qapi-event.h, qapi-event.c the same way.
qmp-introspect.h, qmp-introspect.c and qapi.texi remain monolithic.
The split of qmp-commands.c duplicates static helper function
qmp_marshal_output_str() in qapi-commands-char.c and
qapi-commands-misc.c. This happens when commands returning the same
type occur in multiple modules. Not worth avoiding.
Since I'm going to rename qapi-event.[ch] to qapi-events.[ch], and
qmp-commands.[ch] to qapi-commands.[ch], name the shards that way
already, to reduce churn. This requires temporary hacks in
commands.py and events.py. Similarly, c_name() must temporarily
be taught to munge '/' in common.py. They'll go away with the rename.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180211093607.27351-23-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: declare a dummy variable in each .c file, to shut up OSX
toolchain warnings about empty .o files, including hacking c_name()]
Signed-off-by: Eric Blake <eblake@redhat.com>
2018-02-11 09:36:00 +00:00
|
|
|
/qapi/qapi-commands-net.[ch]
|
|
|
|
/qapi/qapi-commands-rocker.[ch]
|
|
|
|
/qapi/qapi-commands-run-state.[ch]
|
|
|
|
/qapi/qapi-commands-sockets.[ch]
|
|
|
|
/qapi/qapi-commands-tpm.[ch]
|
|
|
|
/qapi/qapi-commands-trace.[ch]
|
|
|
|
/qapi/qapi-commands-transaction.[ch]
|
|
|
|
/qapi/qapi-commands-ui.[ch]
|
|
|
|
/qapi/qapi-events-block-core.[ch]
|
|
|
|
/qapi/qapi-events-block.[ch]
|
|
|
|
/qapi/qapi-events-char.[ch]
|
|
|
|
/qapi/qapi-events-common.[ch]
|
|
|
|
/qapi/qapi-events-crypto.[ch]
|
|
|
|
/qapi/qapi-events-introspect.[ch]
|
|
|
|
/qapi/qapi-events-migration.[ch]
|
2018-02-26 23:13:27 +00:00
|
|
|
/qapi/qapi-events-misc.[ch]
|
qapi: Generate separate .h, .c for each module
Our qapi-schema.json is composed of modules connected by include
directives, but the generated code is monolithic all the same: one
qapi-types.h with all the types, one qapi-visit.h with all the
visitors, and so forth. These monolithic headers get included all
over the place. In my "build everything" tree, adding a QAPI type
recompiles about 4800 out of 5100 objects.
We wouldn't write such monolithic headers by hand. It stands to
reason that we shouldn't generate them, either.
Split up generated qapi-types.h to mirror the schema's modular
structure: one header per module. Name the main module's header
qapi-types.h, and sub-module D/B.json's header D/qapi-types-B.h.
Mirror the schema's includes in the headers, so that qapi-types.h gets
you everything exactly as before. If you need less, you can include
one or more of the sub-module headers. To be exploited shortly.
Split up qapi-types.c, qapi-visit.h, qapi-visit.c, qmp-commands.h,
qmp-commands.c, qapi-event.h, qapi-event.c the same way.
qmp-introspect.h, qmp-introspect.c and qapi.texi remain monolithic.
The split of qmp-commands.c duplicates static helper function
qmp_marshal_output_str() in qapi-commands-char.c and
qapi-commands-misc.c. This happens when commands returning the same
type occur in multiple modules. Not worth avoiding.
Since I'm going to rename qapi-event.[ch] to qapi-events.[ch], and
qmp-commands.[ch] to qapi-commands.[ch], name the shards that way
already, to reduce churn. This requires temporary hacks in
commands.py and events.py. Similarly, c_name() must temporarily
be taught to munge '/' in common.py. They'll go away with the rename.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180211093607.27351-23-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: declare a dummy variable in each .c file, to shut up OSX
toolchain warnings about empty .o files, including hacking c_name()]
Signed-off-by: Eric Blake <eblake@redhat.com>
2018-02-11 09:36:00 +00:00
|
|
|
/qapi/qapi-events-net.[ch]
|
|
|
|
/qapi/qapi-events-rocker.[ch]
|
|
|
|
/qapi/qapi-events-run-state.[ch]
|
|
|
|
/qapi/qapi-events-sockets.[ch]
|
|
|
|
/qapi/qapi-events-tpm.[ch]
|
|
|
|
/qapi/qapi-events-trace.[ch]
|
|
|
|
/qapi/qapi-events-transaction.[ch]
|
|
|
|
/qapi/qapi-events-ui.[ch]
|
|
|
|
/qapi/qapi-types-block-core.[ch]
|
|
|
|
/qapi/qapi-types-block.[ch]
|
|
|
|
/qapi/qapi-types-char.[ch]
|
|
|
|
/qapi/qapi-types-common.[ch]
|
|
|
|
/qapi/qapi-types-crypto.[ch]
|
|
|
|
/qapi/qapi-types-introspect.[ch]
|
|
|
|
/qapi/qapi-types-migration.[ch]
|
2018-02-26 23:13:27 +00:00
|
|
|
/qapi/qapi-types-misc.[ch]
|
qapi: Generate separate .h, .c for each module
Our qapi-schema.json is composed of modules connected by include
directives, but the generated code is monolithic all the same: one
qapi-types.h with all the types, one qapi-visit.h with all the
visitors, and so forth. These monolithic headers get included all
over the place. In my "build everything" tree, adding a QAPI type
recompiles about 4800 out of 5100 objects.
We wouldn't write such monolithic headers by hand. It stands to
reason that we shouldn't generate them, either.
Split up generated qapi-types.h to mirror the schema's modular
structure: one header per module. Name the main module's header
qapi-types.h, and sub-module D/B.json's header D/qapi-types-B.h.
Mirror the schema's includes in the headers, so that qapi-types.h gets
you everything exactly as before. If you need less, you can include
one or more of the sub-module headers. To be exploited shortly.
Split up qapi-types.c, qapi-visit.h, qapi-visit.c, qmp-commands.h,
qmp-commands.c, qapi-event.h, qapi-event.c the same way.
qmp-introspect.h, qmp-introspect.c and qapi.texi remain monolithic.
The split of qmp-commands.c duplicates static helper function
qmp_marshal_output_str() in qapi-commands-char.c and
qapi-commands-misc.c. This happens when commands returning the same
type occur in multiple modules. Not worth avoiding.
Since I'm going to rename qapi-event.[ch] to qapi-events.[ch], and
qmp-commands.[ch] to qapi-commands.[ch], name the shards that way
already, to reduce churn. This requires temporary hacks in
commands.py and events.py. Similarly, c_name() must temporarily
be taught to munge '/' in common.py. They'll go away with the rename.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180211093607.27351-23-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: declare a dummy variable in each .c file, to shut up OSX
toolchain warnings about empty .o files, including hacking c_name()]
Signed-off-by: Eric Blake <eblake@redhat.com>
2018-02-11 09:36:00 +00:00
|
|
|
/qapi/qapi-types-net.[ch]
|
|
|
|
/qapi/qapi-types-rocker.[ch]
|
|
|
|
/qapi/qapi-types-run-state.[ch]
|
|
|
|
/qapi/qapi-types-sockets.[ch]
|
|
|
|
/qapi/qapi-types-tpm.[ch]
|
|
|
|
/qapi/qapi-types-trace.[ch]
|
|
|
|
/qapi/qapi-types-transaction.[ch]
|
|
|
|
/qapi/qapi-types-ui.[ch]
|
gitignore: anchor all ignored names
by default, patterns/names in .gitignore are applied
recursively to all subdirectories. So any name mentioned
in .gitignore is ignored in all subdirectores. This is good
for, say. object files (*.o), but not good for particular
names which should be ignored only in one directory. For
example, qemu-img.1 file is generated in the top directory,
and it should be ignored only there, not in some subdir.
At first, this might not matter much, but we have lots of
examples already where it actually does not help at all.
For example, top-level .gitignore ignores a file/dir named
"patches" (which is very questionable by itself), but it
is applied recursively, so git also ignores, for example,
debian/patches/ which should not be ignored.
So anchor all the names where appropriate. .gitignore
should be cleaned up further, which will be addressed in
a subsequent patch.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-02-11 10:22:32 +00:00
|
|
|
/qapi-types.[ch]
|
qapi: Generate separate .h, .c for each module
Our qapi-schema.json is composed of modules connected by include
directives, but the generated code is monolithic all the same: one
qapi-types.h with all the types, one qapi-visit.h with all the
visitors, and so forth. These monolithic headers get included all
over the place. In my "build everything" tree, adding a QAPI type
recompiles about 4800 out of 5100 objects.
We wouldn't write such monolithic headers by hand. It stands to
reason that we shouldn't generate them, either.
Split up generated qapi-types.h to mirror the schema's modular
structure: one header per module. Name the main module's header
qapi-types.h, and sub-module D/B.json's header D/qapi-types-B.h.
Mirror the schema's includes in the headers, so that qapi-types.h gets
you everything exactly as before. If you need less, you can include
one or more of the sub-module headers. To be exploited shortly.
Split up qapi-types.c, qapi-visit.h, qapi-visit.c, qmp-commands.h,
qmp-commands.c, qapi-event.h, qapi-event.c the same way.
qmp-introspect.h, qmp-introspect.c and qapi.texi remain monolithic.
The split of qmp-commands.c duplicates static helper function
qmp_marshal_output_str() in qapi-commands-char.c and
qapi-commands-misc.c. This happens when commands returning the same
type occur in multiple modules. Not worth avoiding.
Since I'm going to rename qapi-event.[ch] to qapi-events.[ch], and
qmp-commands.[ch] to qapi-commands.[ch], name the shards that way
already, to reduce churn. This requires temporary hacks in
commands.py and events.py. Similarly, c_name() must temporarily
be taught to munge '/' in common.py. They'll go away with the rename.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180211093607.27351-23-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: declare a dummy variable in each .c file, to shut up OSX
toolchain warnings about empty .o files, including hacking c_name()]
Signed-off-by: Eric Blake <eblake@redhat.com>
2018-02-11 09:36:00 +00:00
|
|
|
/qapi/qapi-visit-block-core.[ch]
|
|
|
|
/qapi/qapi-visit-block.[ch]
|
|
|
|
/qapi/qapi-visit-char.[ch]
|
|
|
|
/qapi/qapi-visit-common.[ch]
|
|
|
|
/qapi/qapi-visit-crypto.[ch]
|
|
|
|
/qapi/qapi-visit-introspect.[ch]
|
|
|
|
/qapi/qapi-visit-migration.[ch]
|
2018-02-26 23:13:27 +00:00
|
|
|
/qapi/qapi-visit-misc.[ch]
|
qapi: Generate separate .h, .c for each module
Our qapi-schema.json is composed of modules connected by include
directives, but the generated code is monolithic all the same: one
qapi-types.h with all the types, one qapi-visit.h with all the
visitors, and so forth. These monolithic headers get included all
over the place. In my "build everything" tree, adding a QAPI type
recompiles about 4800 out of 5100 objects.
We wouldn't write such monolithic headers by hand. It stands to
reason that we shouldn't generate them, either.
Split up generated qapi-types.h to mirror the schema's modular
structure: one header per module. Name the main module's header
qapi-types.h, and sub-module D/B.json's header D/qapi-types-B.h.
Mirror the schema's includes in the headers, so that qapi-types.h gets
you everything exactly as before. If you need less, you can include
one or more of the sub-module headers. To be exploited shortly.
Split up qapi-types.c, qapi-visit.h, qapi-visit.c, qmp-commands.h,
qmp-commands.c, qapi-event.h, qapi-event.c the same way.
qmp-introspect.h, qmp-introspect.c and qapi.texi remain monolithic.
The split of qmp-commands.c duplicates static helper function
qmp_marshal_output_str() in qapi-commands-char.c and
qapi-commands-misc.c. This happens when commands returning the same
type occur in multiple modules. Not worth avoiding.
Since I'm going to rename qapi-event.[ch] to qapi-events.[ch], and
qmp-commands.[ch] to qapi-commands.[ch], name the shards that way
already, to reduce churn. This requires temporary hacks in
commands.py and events.py. Similarly, c_name() must temporarily
be taught to munge '/' in common.py. They'll go away with the rename.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180211093607.27351-23-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: declare a dummy variable in each .c file, to shut up OSX
toolchain warnings about empty .o files, including hacking c_name()]
Signed-off-by: Eric Blake <eblake@redhat.com>
2018-02-11 09:36:00 +00:00
|
|
|
/qapi/qapi-visit-net.[ch]
|
|
|
|
/qapi/qapi-visit-rocker.[ch]
|
|
|
|
/qapi/qapi-visit-run-state.[ch]
|
|
|
|
/qapi/qapi-visit-sockets.[ch]
|
|
|
|
/qapi/qapi-visit-tpm.[ch]
|
|
|
|
/qapi/qapi-visit-trace.[ch]
|
|
|
|
/qapi/qapi-visit-transaction.[ch]
|
|
|
|
/qapi/qapi-visit-ui.[ch]
|
gitignore: anchor all ignored names
by default, patterns/names in .gitignore are applied
recursively to all subdirectories. So any name mentioned
in .gitignore is ignored in all subdirectores. This is good
for, say. object files (*.o), but not good for particular
names which should be ignored only in one directory. For
example, qemu-img.1 file is generated in the top directory,
and it should be ignored only there, not in some subdir.
At first, this might not matter much, but we have lots of
examples already where it actually does not help at all.
For example, top-level .gitignore ignores a file/dir named
"patches" (which is very questionable by itself), but it
is applied recursively, so git also ignores, for example,
debian/patches/ which should not be ignored.
So anchor all the names where appropriate. .gitignore
should be cleaned up further, which will be addressed in
a subsequent patch.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-02-11 10:22:32 +00:00
|
|
|
/qapi-visit.[ch]
|
2014-06-24 23:33:58 +00:00
|
|
|
/qapi-event.[ch]
|
2018-02-26 19:48:58 +00:00
|
|
|
/qapi-doc.texi
|
2018-02-11 09:35:56 +00:00
|
|
|
/qmp-commands.[ch]
|
qapi: New QMP command query-qmp-schema for QMP introspection
qapi/introspect.json defines the introspection schema. It's designed
for QMP introspection, but should do for similar uses, such as QGA.
The introspection schema does not reflect all the rules and
restrictions that apply to QAPI schemata. A valid QAPI schema has an
introspection value conforming to the introspection schema, but the
converse is not true.
Introspection lowers away a number of schema details, and makes
implicit things explicit:
* The built-in types are declared with their JSON type.
All integer types are mapped to 'int', because how many bits we use
internally is an implementation detail. It could be pressed into
external interface service as very approximate range information,
but that's a bad idea. If we need range information, we better do
it properly.
* Implicit type definitions are made explicit, and given
auto-generated names:
- Array types, named by appending "List" to the name of their
element type, like in generated C.
- The enumeration types implicitly defined by simple union types,
named by appending "Kind" to the name of their simple union type,
like in generated C.
- Types that don't occur in generated C. Their names start with ':'
so they don't clash with the user's names.
* All type references are by name.
* The struct and union types are generalized into an object type.
* Base types are flattened.
* Commands take a single argument and return a single result.
Dictionary argument or list result is an implicit type definition.
The empty object type is used when a command takes no arguments or
produces no results.
The argument is always of object type, but the introspection schema
doesn't reflect that.
The 'gen': false directive is omitted as implementation detail.
The 'success-response' directive is omitted as well for now, even
though it's not an implementation detail, because it's not used by
QMP.
* Events carry a single data value.
Implicit type definition and empty object type use, just like for
commands.
The value is of object type, but the introspection schema doesn't
reflect that.
* Types not used by commands or events are omitted.
Indirect use counts as use.
* Optional members have a default, which can only be null right now
Instead of a mandatory "optional" flag, we have an optional default.
No default means mandatory, default null means optional without
default value. Non-null is available for optional with default
(possible future extension).
* Clients should *not* look up types by name, because type names are
not ABI. Look up the command or event you're interested in, then
follow the references.
TODO Should we hide the type names to eliminate the temptation?
New generator scripts/qapi-introspect.py computes an introspection
value for its input, and generates a C variable holding it.
It can generate awfully long lines. Marked TODO.
A new test-qmp-input-visitor test case feeds its result for both
tests/qapi-schema/qapi-schema-test.json and qapi-schema.json to a
QmpInputVisitor to verify it actually conforms to the schema.
New QMP command query-qmp-schema takes its return value from that
variable. Its reply is some 85KiBytes for me right now.
If this turns out to be too much, we have a couple of options:
* We can use shorter names in the JSON. Not the QMP style.
* Optionally return the sub-schema for commands and events given as
arguments.
Right now qmp_query_schema() sends the string literal computed by
qmp-introspect.py. To compute sub-schema at run time, we'd have to
duplicate parts of qapi-introspect.py in C. Unattractive.
* Let clients cache the output of query-qmp-schema.
It changes only on QEMU upgrades, i.e. rarely. Provide a command
query-qmp-schema-hash. Clients can have a cache indexed by hash,
and re-query the schema only when they don't have it cached. Even
simpler: put the hash in the QMP greeting.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2015-09-16 11:06:28 +00:00
|
|
|
/qmp-introspect.[ch]
|
gitignore: anchor all ignored names
by default, patterns/names in .gitignore are applied
recursively to all subdirectories. So any name mentioned
in .gitignore is ignored in all subdirectores. This is good
for, say. object files (*.o), but not good for particular
names which should be ignored only in one directory. For
example, qemu-img.1 file is generated in the top directory,
and it should be ignored only there, not in some subdir.
At first, this might not matter much, but we have lots of
examples already where it actually does not help at all.
For example, top-level .gitignore ignores a file/dir named
"patches" (which is very questionable by itself), but it
is applied recursively, so git also ignores, for example,
debian/patches/ which should not be ignored.
So anchor all the names where appropriate. .gitignore
should be cleaned up further, which will be addressed in
a subsequent patch.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-02-11 10:22:32 +00:00
|
|
|
/qemu-doc.html
|
|
|
|
/qemu-doc.info
|
2017-01-13 14:41:34 +00:00
|
|
|
/qemu-doc.txt
|
gitignore: anchor all ignored names
by default, patterns/names in .gitignore are applied
recursively to all subdirectories. So any name mentioned
in .gitignore is ignored in all subdirectores. This is good
for, say. object files (*.o), but not good for particular
names which should be ignored only in one directory. For
example, qemu-img.1 file is generated in the top directory,
and it should be ignored only there, not in some subdir.
At first, this might not matter much, but we have lots of
examples already where it actually does not help at all.
For example, top-level .gitignore ignores a file/dir named
"patches" (which is very questionable by itself), but it
is applied recursively, so git also ignores, for example,
debian/patches/ which should not be ignored.
So anchor all the names where appropriate. .gitignore
should be cleaned up further, which will be addressed in
a subsequent patch.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-02-11 10:22:32 +00:00
|
|
|
/qemu-img
|
|
|
|
/qemu-nbd
|
|
|
|
/qemu-options.def
|
|
|
|
/qemu-options.texi
|
|
|
|
/qemu-img-cmds.texi
|
|
|
|
/qemu-img-cmds.h
|
|
|
|
/qemu-io
|
|
|
|
/qemu-ga
|
|
|
|
/qemu-bridge-helper
|
2017-10-20 07:09:14 +00:00
|
|
|
/qemu-keymap
|
gitignore: anchor all ignored names
by default, patterns/names in .gitignore are applied
recursively to all subdirectories. So any name mentioned
in .gitignore is ignored in all subdirectores. This is good
for, say. object files (*.o), but not good for particular
names which should be ignored only in one directory. For
example, qemu-img.1 file is generated in the top directory,
and it should be ignored only there, not in some subdir.
At first, this might not matter much, but we have lots of
examples already where it actually does not help at all.
For example, top-level .gitignore ignores a file/dir named
"patches" (which is very questionable by itself), but it
is applied recursively, so git also ignores, for example,
debian/patches/ which should not be ignored.
So anchor all the names where appropriate. .gitignore
should be cleaned up further, which will be addressed in
a subsequent patch.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-02-11 10:22:32 +00:00
|
|
|
/qemu-monitor.texi
|
2015-09-10 15:39:01 +00:00
|
|
|
/qemu-monitor-info.texi
|
2016-06-08 20:26:59 +00:00
|
|
|
/qemu-version.h
|
|
|
|
/qemu-version.h.tmp
|
2016-09-23 09:16:06 +00:00
|
|
|
/module_block.h
|
2017-09-26 15:14:21 +00:00
|
|
|
/scsi/qemu-pr-helper
|
2017-03-02 18:25:52 +00:00
|
|
|
/vhost-user-scsi
|
2018-01-04 01:53:34 +00:00
|
|
|
/vhost-user-blk
|
gitignore: anchor all ignored names
by default, patterns/names in .gitignore are applied
recursively to all subdirectories. So any name mentioned
in .gitignore is ignored in all subdirectores. This is good
for, say. object files (*.o), but not good for particular
names which should be ignored only in one directory. For
example, qemu-img.1 file is generated in the top directory,
and it should be ignored only there, not in some subdir.
At first, this might not matter much, but we have lots of
examples already where it actually does not help at all.
For example, top-level .gitignore ignores a file/dir named
"patches" (which is very questionable by itself), but it
is applied recursively, so git also ignores, for example,
debian/patches/ which should not be ignored.
So anchor all the names where appropriate. .gitignore
should be cleaned up further, which will be addressed in
a subsequent patch.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-02-11 10:22:32 +00:00
|
|
|
/fsdev/virtfs-proxy-helper
|
2017-09-05 02:11:50 +00:00
|
|
|
*.tmp
|
2015-03-20 16:30:44 +00:00
|
|
|
*.[1-9]
|
2008-09-09 17:15:28 +00:00
|
|
|
*.a
|
|
|
|
*.aux
|
|
|
|
*.cp
|
|
|
|
*.exe
|
2015-07-29 17:10:50 +00:00
|
|
|
*.msi
|
2014-02-10 06:48:56 +00:00
|
|
|
*.dll
|
|
|
|
*.so
|
|
|
|
*.mo
|
2008-09-09 17:15:28 +00:00
|
|
|
*.fn
|
|
|
|
*.ky
|
|
|
|
*.log
|
2010-01-29 22:16:50 +00:00
|
|
|
*.pdf
|
2015-03-20 16:30:44 +00:00
|
|
|
*.pod
|
2011-04-13 06:42:16 +00:00
|
|
|
*.cps
|
|
|
|
*.fns
|
|
|
|
*.kys
|
2008-09-09 17:15:28 +00:00
|
|
|
*.pg
|
2010-05-22 18:24:51 +00:00
|
|
|
*.pyc
|
2008-09-09 17:15:28 +00:00
|
|
|
*.toc
|
|
|
|
*.tp
|
|
|
|
*.vr
|
|
|
|
*.d
|
gitignore: anchor all ignored names
by default, patterns/names in .gitignore are applied
recursively to all subdirectories. So any name mentioned
in .gitignore is ignored in all subdirectores. This is good
for, say. object files (*.o), but not good for particular
names which should be ignored only in one directory. For
example, qemu-img.1 file is generated in the top directory,
and it should be ignored only there, not in some subdir.
At first, this might not matter much, but we have lots of
examples already where it actually does not help at all.
For example, top-level .gitignore ignores a file/dir named
"patches" (which is very questionable by itself), but it
is applied recursively, so git also ignores, for example,
debian/patches/ which should not be ignored.
So anchor all the names where appropriate. .gitignore
should be cleaned up further, which will be addressed in
a subsequent patch.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-02-11 10:22:32 +00:00
|
|
|
!/scripts/qemu-guest-agent/fsfreeze-hook.d
|
2009-01-22 17:15:25 +00:00
|
|
|
*.o
|
2013-08-07 15:40:03 +00:00
|
|
|
.sdk
|
2013-03-22 08:44:13 +00:00
|
|
|
*.gcda
|
|
|
|
*.gcno
|
gitignore: anchor all ignored names
by default, patterns/names in .gitignore are applied
recursively to all subdirectories. So any name mentioned
in .gitignore is ignored in all subdirectores. This is good
for, say. object files (*.o), but not good for particular
names which should be ignored only in one directory. For
example, qemu-img.1 file is generated in the top directory,
and it should be ignored only there, not in some subdir.
At first, this might not matter much, but we have lots of
examples already where it actually does not help at all.
For example, top-level .gitignore ignores a file/dir named
"patches" (which is very questionable by itself), but it
is applied recursively, so git also ignores, for example,
debian/patches/ which should not be ignored.
So anchor all the names where appropriate. .gitignore
should be cleaned up further, which will be addressed in
a subsequent patch.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-02-11 10:22:32 +00:00
|
|
|
/pc-bios/bios-pq/status
|
|
|
|
/pc-bios/vgabios-pq/status
|
|
|
|
/pc-bios/optionrom/linuxboot.asm
|
|
|
|
/pc-bios/optionrom/linuxboot.bin
|
|
|
|
/pc-bios/optionrom/linuxboot.raw
|
|
|
|
/pc-bios/optionrom/linuxboot.img
|
2016-05-23 18:11:33 +00:00
|
|
|
/pc-bios/optionrom/linuxboot_dma.asm
|
|
|
|
/pc-bios/optionrom/linuxboot_dma.bin
|
|
|
|
/pc-bios/optionrom/linuxboot_dma.raw
|
|
|
|
/pc-bios/optionrom/linuxboot_dma.img
|
gitignore: anchor all ignored names
by default, patterns/names in .gitignore are applied
recursively to all subdirectories. So any name mentioned
in .gitignore is ignored in all subdirectores. This is good
for, say. object files (*.o), but not good for particular
names which should be ignored only in one directory. For
example, qemu-img.1 file is generated in the top directory,
and it should be ignored only there, not in some subdir.
At first, this might not matter much, but we have lots of
examples already where it actually does not help at all.
For example, top-level .gitignore ignores a file/dir named
"patches" (which is very questionable by itself), but it
is applied recursively, so git also ignores, for example,
debian/patches/ which should not be ignored.
So anchor all the names where appropriate. .gitignore
should be cleaned up further, which will be addressed in
a subsequent patch.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-02-11 10:22:32 +00:00
|
|
|
/pc-bios/optionrom/multiboot.asm
|
|
|
|
/pc-bios/optionrom/multiboot.bin
|
|
|
|
/pc-bios/optionrom/multiboot.raw
|
|
|
|
/pc-bios/optionrom/multiboot.img
|
|
|
|
/pc-bios/optionrom/kvmvapic.asm
|
|
|
|
/pc-bios/optionrom/kvmvapic.bin
|
|
|
|
/pc-bios/optionrom/kvmvapic.raw
|
|
|
|
/pc-bios/optionrom/kvmvapic.img
|
|
|
|
/pc-bios/s390-ccw/s390-ccw.elf
|
|
|
|
/pc-bios/s390-ccw/s390-ccw.img
|
2017-06-06 14:55:19 +00:00
|
|
|
/docs/interop/qemu-ga-qapi.texi
|
|
|
|
/docs/interop/qemu-ga-ref.html
|
|
|
|
/docs/interop/qemu-ga-ref.info*
|
|
|
|
/docs/interop/qemu-ga-ref.txt
|
|
|
|
/docs/interop/qemu-qmp-qapi.texi
|
|
|
|
/docs/interop/qemu-qmp-ref.html
|
|
|
|
/docs/interop/qemu-qmp-ref.info*
|
|
|
|
/docs/interop/qemu-qmp-ref.txt
|
2017-03-15 12:56:56 +00:00
|
|
|
/docs/version.texi
|
2017-01-13 14:41:35 +00:00
|
|
|
*.tps
|
2009-01-22 17:15:25 +00:00
|
|
|
.stgit-*
|
2017-09-29 10:11:56 +00:00
|
|
|
.git-submodule-status
|
2010-07-23 05:59:52 +00:00
|
|
|
cscope.*
|
2011-01-31 15:20:40 +00:00
|
|
|
tags
|
2011-02-24 05:34:59 +00:00
|
|
|
TAGS
|
2016-06-01 09:21:24 +00:00
|
|
|
docker-src.*
|
2011-02-24 05:34:59 +00:00
|
|
|
*~
|
2017-07-18 04:55:31 +00:00
|
|
|
*.ast_raw
|
|
|
|
*.depend_raw
|
2017-01-25 16:14:15 +00:00
|
|
|
trace.h
|
|
|
|
trace.c
|
|
|
|
trace-ust.h
|
|
|
|
trace-ust.h
|
|
|
|
trace-dtrace.h
|
|
|
|
trace-dtrace.dtrace
|
|
|
|
trace-root.h
|
|
|
|
trace-root.c
|
|
|
|
trace-ust-root.h
|
|
|
|
trace-ust-root.h
|
|
|
|
trace-ust-all.h
|
|
|
|
trace-ust-all.c
|
|
|
|
trace-dtrace-root.h
|
|
|
|
trace-dtrace-root.dtrace
|
|
|
|
trace-ust-all.h
|
|
|
|
trace-ust-all.c
|