schemas: Add vim modelineThe various schemas included in QEMU use a JSON-based format whichis, however, strictly speaking not valid JSON.As a consequence, when vim tries to apply syntax highligh
schemas: Add vim modelineThe various schemas included in QEMU use a JSON-based format whichis, however, strictly speaking not valid JSON.As a consequence, when vim tries to apply syntax highlight rulesfor JSON (as guessed from the file name), the result is an unreadablemess which mostly consist of red markers pointing out supposed errorsin, well, pretty much everything.Using Python syntax highlighting produces much better results, andin fact these files already start with specially-formatted commentsthat instruct Emacs to process them as if they were Python files.This commit adds the equivalent special comments for vim.Signed-off-by: Andrea Bolognani <abologna@redhat.com>Message-Id: <20200729185024.121766-1-abologna@redhat.com>Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>Reviewed-by: John Snow <jsnow@redhat.com>Signed-off-by: Markus Armbruster <armbru@redhat.com>
show more ...
qemu-storage-daemon: Add --monitor optionThis adds and parses the --monitor option, so that a QMP monitor can beused in the storage daemon. The monitor offers commands defined in theQAPI schema a
qemu-storage-daemon: Add --monitor optionThis adds and parses the --monitor option, so that a QMP monitor can beused in the storage daemon. The monitor offers commands defined in theQAPI schema at storage-daemon/qapi/qapi-schema.json.The --monitor options currently allows to create multiple monitors withthe same ID. This part of the interface is considered unstable. We willreject such configurations as soon as we have a design for the monitorsubsystem to perform these checks. (In the system emulator, we depend onQemuOpts rejecting duplicate IDs.)Signed-off-by: Kevin Wolf <kwolf@redhat.com>Message-Id: <20200224143008.13362-21-kwolf@redhat.com>Acked-by: Stefan Hajnoczi <stefanha@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
123