qemu-e2k/scripts
Daniel P. Berrange f880cd6b6f qmp: allow setting properties to empty string in qmp-shell
The qmp-shell property parser currently rejects attempts to
set string properties to the empty string eg

  (QEMU) migrate-set-parameters  tls-hostname=
  Error while parsing command line: Expected a key=value pair, got 'tls-hostname='
command format: <command-name>  [arg-name1=arg1] ... [arg-nameN=argN]

This is caused by checking the wrong condition after splitting
the parameter on '='. The "partition" method will return "" for
the separator field, if the seperator was not present, so that
is the correct thing to check for malformed syntax.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <20170302122429.7737-1-berrange@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2017-03-16 07:13:01 +01:00
..
coccinelle
kvm vmxcap: update for September 2016 SDM 2017-03-03 16:40:02 +01:00
modules
qemu-guest-agent
qemugdb
qmp qmp: allow setting properties to empty string in qmp-shell 2017-03-16 07:13:01 +01:00
tracetool trace: switch to modular code generation for sub-directories 2017-01-31 17:11:18 +00:00
analyse-9p-simpletrace.py
analyze-inclusions
analyze-migration.py
check-qerror.sh
checkpatch.pl
clean-header-guards.pl
clean-includes
cleanup-trace-events.pl
cocci-macro-file.h
coverity-model.c coverity-model: model address_space_read/write 2017-03-15 13:59:16 +01:00
create_config
disas-objdump.pl
dump-guest-memory.py scripts/dump-guest-memory.py: fix int128_get64 on recent gcc 2017-03-14 13:26:36 +01:00
extract-vsssdk-headers
feature_to_c.sh
get_maintainer.pl
gtester-cat
hxtool hxtool: emit Texinfo headings as @subsection 2017-01-16 17:52:35 +01:00
make_device_config.sh
make-release
ordereddict.py
qapi2texi.py qapi2texi: change texi formatters 2017-03-16 07:12:54 +01:00
qapi-commands.py qapi: Drop unused non-strict qobject input visitor 2017-03-05 09:14:19 +01:00
qapi-event.py
qapi-introspect.py qapi-introspect: Mangle --prefix argument properly for C 2017-03-05 09:12:29 +01:00
qapi-types.py
qapi-visit.py qapi: Make input visitors detect unvisited list tails 2017-03-05 09:14:20 +01:00
qapi.py qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
qemu-binfmt-conf.sh linux-user: add hppa magic numbers in qemu-binfmt-conf.sh 2017-02-06 18:24:39 -08:00
qemu-gdb.py
qemu.py
qtest.py
refresh-pxe-roms.sh
shaderinclude.pl
show-fixed-bugs.sh
signrom.py
simpletrace.py trace: improve error reporting when parsing simpletrace header 2017-01-31 17:11:18 +00:00
switch-timer-api
texi2pod.pl texi2pod: learn quotation, deftp and deftypefn 2017-01-16 09:15:25 +01:00
tracetool.py trace: switch to modular code generation for sub-directories 2017-01-31 17:11:18 +00:00
update-linux-headers.sh update-linux-headers: update for 4.11 2017-02-28 16:18:49 +00:00
vmstate-static-checker.py vmstate-static-checker: update white list with spapr_pci 2017-02-28 11:30:22 +00:00