qemu/include
Paolo Bonzini 77e8b9ca64 nbd: correctly propagate errors
Before:
    $ ./qemu-io-old
    qemu-io-old> open -r -o file.driver=nbd
    one of path and host must be specified.
    qemu-io-old: can't open device (null): Could not open image: Invalid argument
    $ ./qemu-io-old
    qemu-io-old> open -r -o file.driver=nbd,file.host=foo,file.path=bar
    path and host may not be used at the same time.
    qemu-io-old: can't open device (null): Could not open image: Invalid argument

After:
    $ ./qemu-io
    qemu-io> open -r -o file.driver=nbd
    qemu-io: can't open device (null): one of path and host must be specified.
    $ ./qemu-io
    qemu-io> open -r -o file.driver=nbd,file.host=foo,file.path=bar
    qemu-io: can't open device (null): path and host may not be used at the same time.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-02-21 21:02:22 +01:00
..
block nbd: correctly propagate errors 2014-02-21 21:02:22 +01:00
disas disas: Implement disassembly output for A64 2014-02-08 14:50:48 +00:00
exec exec: Make cpu_physical_memory_write_rom input an AS 2014-02-11 22:57:44 +10:00
fpu softfloat: Add support for ties-away rounding 2014-01-08 19:07:22 +00:00
hw - xhci improvements and fixes. 2014-02-20 15:25:05 +00:00
migration vmstate: Add uint32 2D-array support 2014-02-08 14:50:48 +00:00
monitor readline: move readline to a generic location 2014-01-22 12:07:17 +01:00
net net: declare struct iovec in checksum.h to fix compiler warning 2014-02-15 16:10:25 +04:00
qapi qapi: Add human mode to StringOutputVisitor 2014-02-14 21:12:03 +01:00
qemu i2c: Rename i2c_bus to I2CBus 2014-02-14 16:22:31 +01:00
qom qapi: Add human mode to StringOutputVisitor 2014-02-14 21:12:03 +01:00
sysemu qtest: Don't segfault with invalid -qtest option 2014-02-14 21:12:01 +01:00
ui include: add missing config-host.h include 2013-12-16 10:12:20 +01:00
config.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
elf.h tcg-s390: Use qemu_getauxval in query_facilities 2013-11-30 07:45:30 +13:00
glib-compat.h glib: add a compatibility interface for g_timeout_add_seconds 2013-03-25 13:10:40 -05:00
qemu-common.h qdev: Add enum property types to QAPI schema 2014-02-14 21:12:05 +01:00
qemu-io.h qemu-io: add command completion 2014-01-22 12:07:17 +01:00
trace.h build: some simplifications for "trace/Makefile.objs" 2013-01-12 18:42:51 +01:00