xemu/tests
Kevin Wolf 1ef7d9d368 blockjob: Fix error message for negative speed
The error message for a negative speed uses QERR_INVALID_PARAMETER,
which implies that the 'speed' option doesn't even exist:

    {"error": {"class": "GenericError", "desc": "Invalid parameter 'speed'"}}

Make it use QERR_INVALID_PARAMETER_VALUE instead:

    {"error": {"class": "GenericError", "desc": "Parameter 'speed' expects a non-negative value"}}

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
2019-12-18 11:21:07 +01:00
..
acceptance Python queue 2019-12-17 2019-12-17 14:34:31 +00:00
data hw/arm/acpi: enable SHPC native hot plug 2019-12-16 10:46:35 +00:00
decode decodetree: Allow !function with no input bits 2019-08-19 08:03:41 -07:00
docker Remove libbluetooth / bluez from the CI tests 2019-12-17 09:05:23 +01:00
fp
guest-debug
image-fuzzer image-fuzzer: Use OSerror.strerror instead of tuple subscript 2019-11-05 16:36:11 +01:00
keys
libqos libqos: tolerate wait-unplug migration state 2019-10-29 18:55:26 -04:00
migration tests/migration: fix a typo in comment 2019-10-21 18:14:43 +02:00
multiboot
perf/block/qcow2
plugin tcg plugins: expose an API version concept 2019-11-12 14:32:55 +00:00
qapi-schema qapi: Check feature documentation against the schema 2019-10-29 07:35:16 +01:00
qemu-iotests blockjob: Fix error message for negative speed 2019-12-18 11:21:07 +01:00
rocker
tcg tests/tcg: modify multiarch tests to work with clang 2019-11-20 10:53:31 +00:00
uefi-test-tools edk2 build scripts: work around TianoCore#1607 without forcing Python 2 2019-10-07 15:14:15 +02:00
vm python/qemu: Move kvm_available() to its own module 2019-12-16 18:24:02 -05:00
vmstate-static-checker-data
.gitignore
ac97-test.c
acpi-utils.c
acpi-utils.h
ahci-test.c tests: Remove unnecessary global_qtest references 2019-09-05 13:18:52 +02:00
arm-cpu-features.c target/arm/kvm: host cpu: Add support for sve<N> properties 2019-11-01 20:40:59 +00:00
atomic64-bench.c
atomic_add-bench.c
benchmark-crypto-cipher.c tests: benchmark crypto with fixed data size, not time period 2019-10-28 13:32:21 +01:00
benchmark-crypto-hash.c tests: benchmark crypto with fixed data size, not time period 2019-10-28 13:32:21 +01:00
benchmark-crypto-hmac.c
bios-tables-test-allowed-diff.h tests/acpi: add expected tables for arm/virt 2019-10-05 17:27:43 -04:00
bios-tables-test.c tests: acpi: always retain dumped ACPI tables in case of error 2019-11-20 04:57:22 -05:00
boot-order-test.c
boot-sector.c
boot-sector.h
boot-serial-test.c m68k: Add serial controller to the NeXTcube machine 2019-09-07 08:32:34 +02:00
cdrom-test.c Disallow colons in the parameter of "-accel" 2019-10-01 11:54:17 +02:00
check-block-qdict.c
check-block.sh tests/check-block: Skip iotests when sanitizers are enabled 2019-09-03 14:56:06 +02:00
check-qdict.c
check-qjson.c test: Use g_strndup instead of plain strndup 2019-08-21 10:27:13 +02:00
check-qlist.c
check-qlit.c
check-qnull.c
check-qnum.c
check-qobject.c
check-qom-interface.c
check-qom-proplist.c
check-qstring.c
cpu-plug-test.c cpu-plug-test: fix leaks 2019-11-11 13:02:30 +01:00
crypto-tls-psk-helpers.c
crypto-tls-psk-helpers.h
crypto-tls-x509-helpers.c
crypto-tls-x509-helpers.h
device-introspect-test.c
device-plug-test.c
display-vga-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
drive_del-test.c
ds1338-test.c
e1000-test.c
e1000e-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
eepro100-test.c
endianness-test.c
es1370-test.c
fdc-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
fw_cfg-test.c tests/fw_cfg: Test 'reboot-timeout=-1' special value 2019-11-01 19:19:24 +01:00
hd-geo-test.c hd-geo-test: Add tests for lchs override 2019-10-31 11:47:43 -04:00
hexloader-test.c
i440fx-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
i82801b11-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
ide-test.c
intel-hda-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
io-channel-helpers.c
io-channel-helpers.h
ioh3420-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
iothread.c test-bdrv-drain: fix iothread_join() hang 2019-10-14 09:48:01 +01:00
iothread.h
ipmi-bt-test.c tests:ipmi: Fix IPMI BT tests 2019-09-20 14:08:10 -05:00
ipmi-kcs-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
ipoctal232-test.c
ivshmem-test.c tests: use g_test_rand_int 2019-12-17 09:05:23 +01:00
libqtest-single.h tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
libqtest.c glib: use portable g_setenv() 2019-12-17 09:05:23 +01:00
libqtest.h tests: add qtest_qmp_device_add_qdict() helper 2019-10-15 18:18:08 -03:00
m25p80-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
m48t59-test.c
machine-none-test.c
Makefile.include * Removal of the deprecated bluetooth code 2019-12-17 15:55:20 +00:00
megasas-test.c
microbit-test.c
migration-test.c pseries: disable migration-test if /dev/kvm cannot be used 2019-12-17 09:05:23 +01:00
modules-test.c tests: fix modules-test 'duplicate test case' error 2019-12-17 09:05:23 +01:00
ne2000-test.c
numa-test.c
nvme-test.c
pca9552-test.c
pci-test.c
pcnet-test.c
pflash-cfi02-test.c
pkix_asn1_tab.c
pnv-xscom-test.c ppc/pnv: Introduce PowerNV machines with fixed CPU models 2019-08-29 09:45:53 +10:00
prom-env-test.c
ptimer-test-stubs.c util/qemu-timer: refactor deadline calculation for external timers 2019-08-20 17:26:21 +02:00
ptimer-test.c tests/ptimer-test: Switch to transaction-based ptimer API 2019-10-15 18:09:02 +01:00
ptimer-test.h
pvpanic-test.c
pxe-test.c pseries: fix migration-test and pxe-test 2019-11-26 10:11:30 +11:00
q35-test.c
qht-bench.c
qmp-cmd-test.c
qmp-test.c
qom-test.c
qos-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
rcutorture.c
requirements.txt Acceptance tests: use avocado.utils.ssh for SSH interaction 2019-09-20 17:13:41 -04:00
rtas-test.c tests: Remove unnecessary global_qtest references 2019-09-05 13:18:52 +02:00
rtc-test.c Merge commit 'df84f17' into HEAD 2019-10-26 15:38:02 +02:00
rtl8139-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
sdhci-test.c
socket-helpers.c tests: specify the address family when checking bind 2019-08-22 17:30:25 +04:00
socket-helpers.h tests: specify the address family when checking bind 2019-08-22 17:30:25 +04:00
spapr-phb-test.c
tco-test.c
test-aio-multithread.c
test-aio.c
test-arm-mptimer.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
test-authz-list.c
test-authz-listfile.c
test-authz-pam.c
test-authz-simple.c
test-base64.c
test-bdrv-drain.c job: drop job_drain 2019-09-10 08:58:43 +02:00
test-bdrv-graph-mod.c
test-bitcnt.c
test-bitmap.c tests: use g_test_rand_int 2019-12-17 09:05:23 +01:00
test-bitops.c
test-block-backend.c
test-block-iothread.c block: Add @exact parameter to bdrv_co_truncate() 2019-10-28 12:00:07 +01:00
test-blockjob-txn.c job: drop job_drain 2019-09-10 08:58:43 +02:00
test-blockjob.c job: drop job_drain 2019-09-10 08:58:43 +02:00
test-bufferiszero.c
test-char.c tests: skip serial test on windows 2019-10-04 18:49:18 +02:00
test-clone-visitor.c
test-coroutine.c
test-crypto-afsplit.c
test-crypto-block.c
test-crypto-cipher.c
test-crypto-hash.c
test-crypto-hmac.c
test-crypto-ivgen.c
test-crypto-pbkdf.c
test-crypto-secret.c
test-crypto-tlscredsx509.c glib: use portable g_setenv() 2019-12-17 09:05:23 +01:00
test-crypto-tlssession.c glib: use portable g_setenv() 2019-12-17 09:05:23 +01:00
test-crypto-xts.c
test-cutils.c
test-filter-mirror.c
test-filter-redirector.c
test-hbitmap.c util/hbitmap: strict hbitmap_reset 2019-10-17 17:02:32 -04:00
test-hmp.c
test-image-locking.c
test-int128.c
test-io-channel-buffer.c
test-io-channel-command.c
test-io-channel-file.c
test-io-channel-socket.c socket: Add num connections to qio_channel_socket_async() 2019-09-03 23:24:42 +02:00
test-io-channel-tls.c glib: use portable g_setenv() 2019-12-17 09:05:23 +01:00
test-io-task.c
test-iov.c
test-keyval.c
test-logging.c
test-mul64.c
test-netfilter.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
test-opts-visitor.c
test-qapi-util.c
test-qdev-global-props.c
test-qdist.c
test-qemu-opts.c
test-qga.c tests: use g_test_rand_int 2019-12-17 09:05:23 +01:00
test-qgraph.c
test-qht-par.c
test-qht.c
test-qmp-cmds.c tests: qapi: Test 'features' of commands 2019-10-22 13:54:13 +02:00
test-qmp-event.c
test-qobject-input-visitor.c
test-qobject-output-visitor.c
test-rcu-list.c
test-rcu-simpleq.c
test-rcu-tailq.c
test-replication.c
test-shift128.c
test-string-input-visitor.c tests: Fix uninitialized byte in test_visitor_in_fuzz 2019-08-20 17:26:19 +02:00
test-string-output-visitor.c
test-thread-pool.c
test-throttle.c test-throttle: Fix uninitialized use of burst_length 2019-08-20 17:26:19 +02:00
test-timed-average.c
test-util-filemonitor.c tests: make filemonitor test more robust to event ordering 2019-09-11 10:29:27 +01:00
test-util-sockets.c socket: Add backlog parameter to socket_listen 2019-09-03 23:24:42 +02:00
test-uuid.c
test-visitor-serialization.c
test-vmstate.c glib: use portable g_setenv() 2019-12-17 09:05:23 +01:00
test-write-threshold.c
test-x86-cpuid-compat.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
test-x86-cpuid.c
test-xbzrle.c
tmp105-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
tpm-crb-swtpm-test.c
tpm-crb-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
tpm-emu.c socket: Add num connections to qio_channel_socket_sync() 2019-09-03 23:24:42 +02:00
tpm-emu.h
tpm-tests.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
tpm-tests.h
tpm-tis-swtpm-test.c
tpm-tis-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
tpm-util.c
tpm-util.h
usb-hcd-ehci-test.c tests: fix usb-hcd-ehci-test compilation 2019-10-01 11:42:27 +02:00
usb-hcd-ohci-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
usb-hcd-uhci-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
usb-hcd-xhci-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
vhost-user-bridge.c core: replace getpagesize() with qemu_real_host_page_size 2019-10-26 15:38:06 +02:00
vhost-user-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
virtio-9p-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
virtio-blk-test.c libqos: access VIRTIO 1.0 vring in little-endian 2019-10-25 07:46:22 -04:00
virtio-ccw-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
virtio-net-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
virtio-rng-test.c
virtio-scsi-test.c virtio-scsi-test: add missing feature negotiation 2019-10-25 07:46:22 -04:00
virtio-serial-test.c tests/libqtest: Use libqtest-single.h in tests that require global_qtest 2019-09-05 13:18:52 +02:00
virtio-test.c
vmgenid-test.c
vmxnet3-test.c
wdt_ib700-test.c