* [PULL 0/2] QAPI patches patches for 2024-07-29
@ 2024-07-29 6:37 Markus Armbruster
2024-07-29 6:37 ` [PULL 1/2] qapi/qom: make some QOM properties depend on the build settings Markus Armbruster
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Markus Armbruster @ 2024-07-29 6:37 UTC (permalink / raw)
To: qemu-devel; +Cc: richard.henderson
The following changes since commit 93b799fafd9170da3a79a533ea6f73a18de82e22:
Merge tag 'pull-ppc-for-9.1-2-20240726-1' of https://gitlab.com/npiggin/qemu into staging (2024-07-26 15:10:45 +1000)
are available in the Git repository at:
https://repo.or.cz/qemu/armbru.git tags/pull-qapi-2024-07-29
for you to fetch changes up to bc2e34e343b40b83cca82409db9c126df2e28c81:
qapi/machine: Belatedly document target loongarch64 is since 7.1 (2024-07-29 07:29:47 +0200)
----------------------------------------------------------------
QAPI patches patches for 2024-07-29
----------------------------------------------------------------
Markus Armbruster (1):
qapi/machine: Belatedly document target loongarch64 is since 7.1
Stefano Garzarella (1):
qapi/qom: make some QOM properties depend on the build settings
qapi/crypto.json | 3 ++-
qapi/machine.json | 2 ++
qapi/qom.json | 21 ++++++++++++++-------
3 files changed, 18 insertions(+), 8 deletions(-)
--
2.45.0
^ permalink raw reply [flat|nested] 4+ messages in thread* [PULL 1/2] qapi/qom: make some QOM properties depend on the build settings 2024-07-29 6:37 [PULL 0/2] QAPI patches patches for 2024-07-29 Markus Armbruster @ 2024-07-29 6:37 ` Markus Armbruster 2024-07-29 6:37 ` [PULL 2/2] qapi/machine: Belatedly document target loongarch64 is since 7.1 Markus Armbruster 2024-07-30 0:18 ` [PULL 0/2] QAPI patches patches for 2024-07-29 Richard Henderson 2 siblings, 0 replies; 4+ messages in thread From: Markus Armbruster @ 2024-07-29 6:37 UTC (permalink / raw) To: qemu-devel Cc: richard.henderson, Stefano Garzarella, Philippe Mathieu-Daudé From: Stefano Garzarella <sgarzare@redhat.com> Some QOM properties are associated with ObjectTypes that already depend on CONFIG_* switches. So to avoid generating dead code, let's also make the definition of those properties dependent on the corresponding CONFIG_*. Suggested-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Message-ID: <20240604135931.311709-1-sgarzare@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Markus Armbruster <armbru@redhat.com> [Make SecretKeyringProperties conditional, too] Signed-off-by: Markus Armbruster <armbru@redhat.com> --- qapi/crypto.json | 3 ++- qapi/qom.json | 21 ++++++++++++++------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/qapi/crypto.json b/qapi/crypto.json index f03bdab8c9..39b191e8a2 100644 --- a/qapi/crypto.json +++ b/qapi/crypto.json @@ -485,7 +485,8 @@ ## { 'struct': 'SecretKeyringProperties', 'base': 'SecretCommonProperties', - 'data': { 'serial': 'int32' } } + 'data': { 'serial': 'int32' }, + 'if': 'CONFIG_SECRET_KEYRING' } ## # @TlsCredsProperties: diff --git a/qapi/qom.json b/qapi/qom.json index 7e780e1791..fc035f126a 100644 --- a/qapi/qom.json +++ b/qapi/qom.json @@ -222,7 +222,8 @@ ## { 'struct': 'CanHostSocketcanProperties', 'data': { 'if': 'str', - 'canbus': 'str' } } + 'canbus': 'str' }, + 'if': 'CONFIG_LINUX' } ## # @ColoCompareProperties: @@ -305,7 +306,8 @@ ## { 'struct': 'CryptodevVhostUserProperties', 'base': 'CryptodevBackendProperties', - 'data': { 'chardev': 'str' } } + 'data': { 'chardev': 'str' }, + 'if': 'CONFIG_VHOST_CRYPTO' } ## # @DBusVMStateProperties: @@ -514,7 +516,8 @@ 'data': { 'evdev': 'str', '*grab_all': 'bool', '*repeat': 'bool', - '*grab-toggle': 'GrabToggleKeys' } } + '*grab-toggle': 'GrabToggleKeys' }, + 'if': 'CONFIG_LINUX' } ## # @EventLoopBaseProperties: @@ -718,7 +721,8 @@ 'base': 'MemoryBackendProperties', 'data': { '*hugetlb': 'bool', '*hugetlbsize': 'size', - '*seal': 'bool' } } + '*seal': 'bool' }, + 'if': 'CONFIG_LINUX' } ## # @MemoryBackendShmProperties: @@ -748,7 +752,8 @@ ## { 'struct': 'MemoryBackendEpcProperties', 'base': 'MemoryBackendProperties', - 'data': {} } + 'data': {}, + 'if': 'CONFIG_LINUX' } ## # @PrManagerHelperProperties: @@ -761,7 +766,8 @@ # Since: 2.11 ## { 'struct': 'PrManagerHelperProperties', - 'data': { 'path': 'str' } } + 'data': { 'path': 'str' }, + 'if': 'CONFIG_LINUX' } ## # @QtestProperties: @@ -884,7 +890,8 @@ ## { 'struct': 'RngRandomProperties', 'base': 'RngProperties', - 'data': { '*filename': 'str' } } + 'data': { '*filename': 'str' }, + 'if': 'CONFIG_POSIX' } ## # @SevCommonProperties: -- 2.45.0 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PULL 2/2] qapi/machine: Belatedly document target loongarch64 is since 7.1 2024-07-29 6:37 [PULL 0/2] QAPI patches patches for 2024-07-29 Markus Armbruster 2024-07-29 6:37 ` [PULL 1/2] qapi/qom: make some QOM properties depend on the build settings Markus Armbruster @ 2024-07-29 6:37 ` Markus Armbruster 2024-07-30 0:18 ` [PULL 0/2] QAPI patches patches for 2024-07-29 Richard Henderson 2 siblings, 0 replies; 4+ messages in thread From: Markus Armbruster @ 2024-07-29 6:37 UTC (permalink / raw) To: qemu-devel; +Cc: richard.henderson, Philippe Mathieu-Daudé, Song Gao Fixes: a8a506c39070 (hw/loongarch: Add support loongson3 virt machine type.) Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20240718141001.3077709-1-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Song Gao <gaosong@loongson.cn> --- qapi/machine.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qapi/machine.json b/qapi/machine.json index f9ea6b3e97..fcfd249e2d 100644 --- a/qapi/machine.json +++ b/qapi/machine.json @@ -24,6 +24,8 @@ # # @avr: since 5.1 # +# @loongarch64: since 7.1 +# # .. note:: The resulting QMP strings can be appended to the # "qemu-system-" prefix to produce the corresponding QEMU executable # name. This is true even for "qemu-system-x86_64". -- 2.45.0 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PULL 0/2] QAPI patches patches for 2024-07-29 2024-07-29 6:37 [PULL 0/2] QAPI patches patches for 2024-07-29 Markus Armbruster 2024-07-29 6:37 ` [PULL 1/2] qapi/qom: make some QOM properties depend on the build settings Markus Armbruster 2024-07-29 6:37 ` [PULL 2/2] qapi/machine: Belatedly document target loongarch64 is since 7.1 Markus Armbruster @ 2024-07-30 0:18 ` Richard Henderson 2 siblings, 0 replies; 4+ messages in thread From: Richard Henderson @ 2024-07-30 0:18 UTC (permalink / raw) To: Markus Armbruster, qemu-devel On 7/29/24 16:37, Markus Armbruster wrote: > The following changes since commit 93b799fafd9170da3a79a533ea6f73a18de82e22: > > Merge tag 'pull-ppc-for-9.1-2-20240726-1' ofhttps://gitlab.com/npiggin/qemu into staging (2024-07-26 15:10:45 +1000) > > are available in the Git repository at: > > https://repo.or.cz/qemu/armbru.git tags/pull-qapi-2024-07-29 > > for you to fetch changes up to bc2e34e343b40b83cca82409db9c126df2e28c81: > > qapi/machine: Belatedly document target loongarch64 is since 7.1 (2024-07-29 07:29:47 +0200) > > ---------------------------------------------------------------- > QAPI patches patches for 2024-07-29 Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/9.1 as appropriate. r~ ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-07-30 2:13 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-07-29 6:37 [PULL 0/2] QAPI patches patches for 2024-07-29 Markus Armbruster 2024-07-29 6:37 ` [PULL 1/2] qapi/qom: make some QOM properties depend on the build settings Markus Armbruster 2024-07-29 6:37 ` [PULL 2/2] qapi/machine: Belatedly document target loongarch64 is since 7.1 Markus Armbruster 2024-07-30 0:18 ` [PULL 0/2] QAPI patches patches for 2024-07-29 Richard Henderson
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).