QEMU With E2K User Support
Go to file
Paolo Bonzini a69d9af449 nbd: produce a better error if neither host nor port is passed
Before:
    $ qemu-io-old
    qemu-io-old> open -r -o file.driver=nbd
    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
    one of path and host must be specified.
    qemu-io: can't open device (null): Could not open image: Invalid argument
    $ ./qemu-io
    qemu-io> 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: can't open device (null): Could not open image: Invalid argument

Next patch will fix the error propagation.

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
audio
backends
block nbd: produce a better error if neither host nor port is passed 2014-02-21 21:02:22 +01:00
bsd-user
default-configs ppcemb-softmmu: Drop Mac and e500 emulation 2014-02-13 17:47:43 +01:00
disas disas/i386: Disassemble ANDN/SHLX/SHRX/SHAX 2014-02-17 10:12:29 -06:00
docs Update documentation for LTTng ust tracing 2014-02-19 11:08:54 +01:00
dtc@bc895d6d09
fpu
fsdev
gdb-xml
hw block: Add reference parameter to bdrv_open() 2014-02-21 21:02:22 +01:00
include block: Remove bdrv_open_image()'s force_raw option 2014-02-21 21:02:22 +01:00
libcacard libcacard: Don't link with all libraries QEMU links to 2014-02-09 13:06:02 +02:00
linux-headers kvm: add support for hyper-v timers 2014-02-03 17:33:55 +01:00
linux-user linux-user: Fix error handling in target_to_host_semarray() 2014-02-19 12:29:23 +02:00
net Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
pc-bios Fix QEMU build on OpenBSD on x86 archs 2014-02-17 11:44:00 +00:00
pixman@97336fad32
po
qapi qapi: Refine human printing of sizes 2014-02-14 21:12:05 +01:00
qga Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
qobject
qom qapi: Add human mode to StringOutputVisitor 2014-02-14 21:12:03 +01:00
roms Update seabios to 1.7.4 2014-02-07 16:42:13 +00:00
scripts Tracing pull request 2014-02-21 14:38:23 +00:00
slirp
stubs
sysconfigs/target
target-alpha exec: Make stl_*_phys input an AddressSpace 2014-02-11 22:57:18 +10:00
target-arm exec: Make stl_*_phys input an AddressSpace 2014-02-11 22:57:18 +10:00
target-cris
target-i386 target-i386: Fix I/O bitmap checks for in/out 2014-02-19 16:40:19 +01:00
target-lm32 target-lm32: stop VM on illegal or unknown instruction 2014-02-04 19:47:39 +01:00
target-m68k
target-microblaze
target-mips target-mips: add user-mode FR switch support for MIPS32r5 2014-02-10 16:46:38 +01:00
target-moxie
target-openrisc target-openrisc: Use new qemu_ld/st opcodes 2014-02-12 08:47:57 +08:00
target-ppc QOM infrastructure fixes and device conversions 2014-02-20 13:05:48 +00:00
target-s390x exec: Make stb_phys input an AddressSpace 2014-02-11 22:57:38 +10:00
target-sh4
target-sparc exec: Make stb_phys input an AddressSpace 2014-02-11 22:57:38 +10:00
target-unicore32 exec: Make ldl_*_phys input an AddressSpace 2014-02-11 22:56:54 +10:00
target-xtensa exec: Make ldl_*_phys input an AddressSpace 2014-02-11 22:56:54 +10:00
tcg tcg/i386: Fix build for systems without working cpuid.h (MacOSX, Win32) 2014-02-21 10:39:10 +00:00
tests nbd: produce a better error if neither host nor port is passed 2014-02-21 21:02:22 +01:00
trace Adapt Makefiles to the new LTTng ust interface 2014-02-19 11:08:53 +01:00
ui
util Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
.exrc
.gitignore Add ust generated files to .gitignore 2014-02-19 11:09:35 +01:00
.gitmodules
.mailmap
.travis.yml
aio-posix.c
aio-win32.c
arch_init.c Don't abort on memory allocation error 2014-02-04 16:50:37 +01:00
async.c
balloon.c
block-migration.c
block.c block: Remove bdrv_open_image()'s force_raw option 2014-02-21 21:02:22 +01:00
blockdev-nbd.c
blockdev.c block: Add reference parameter to bdrv_open() 2014-02-21 21:02:22 +01:00
blockjob.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE
configure Tracing pull request 2014-02-21 14:38:23 +00:00
COPYING
COPYING.LIB
coroutine-gthread.c
coroutine-sigaltstack.c
coroutine-ucontext.c
coroutine-win32.c
cpu-exec.c exec: Make ldl_*_phys input an AddressSpace 2014-02-11 22:56:54 +10:00
cpus.c cpu: Add per-cpu address space 2014-02-11 22:56:37 +10:00
cputlb.c cpu: Add per-cpu address space 2014-02-11 22:56:37 +10:00
device_tree.c
device-hotplug.c
disas.c disas: Implement disassembly output for A64 2014-02-08 14:50:48 +00:00
dma-helpers.c
dump.c
exec.c exec: Make cpu_memory_rw_debug use the CPUs AS 2014-02-11 22:57:49 +10:00
gdbstub.c
HACKING
hmp-commands.hx
hmp.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
hmp.h
iohandler.c
ioport.c
kvm-all.c Merge remote-tracking branch 'remotes/kvm/uq/master' into staging 2014-02-06 23:51:24 +00:00
kvm-stub.c
LICENSE
main-loop.c
MAINTAINERS block: add native support for NFS 2014-02-09 09:12:38 +01:00
Makefile Adapt Makefiles to the new LTTng ust interface 2014-02-19 11:08:53 +01:00
Makefile.objs
Makefile.target
memory_mapping.c
memory.c
migration-exec.c
migration-fd.c
migration-rdma.c
migration-tcp.c aio / timers: Untangle include files 2013-08-22 19:10:27 +02:00
migration-unix.c
migration.c XBZRLE cache size should not be larger than guest memory size 2014-02-04 16:49:28 +01:00
monitor.c monitor: Add object_add class argument completion. 2014-02-17 11:57:23 -05:00
nbd.c
os-posix.c
os-win32.c
page_cache.c Don't abort on memory allocation error 2014-02-04 16:50:37 +01:00
qapi-schema.json QOM infrastructure fixes and device conversions 2014-02-20 13:05:48 +00:00
qdev-monitor.c QOM infrastructure fixes and device conversions 2014-02-20 13:05:48 +00:00
qdict-test-data.txt
qemu-bridge-helper.c
qemu-char.c qmp: expose list of supported character device backends 2014-02-17 11:57:23 -05:00
qemu-coroutine-io.c
qemu-coroutine-lock.c
qemu-coroutine-sleep.c
qemu-coroutine.c
qemu-doc.texi
qemu-file.c
qemu-img-cmds.hx
qemu-img.c block: Add reference parameter to bdrv_open() 2014-02-21 21:02:22 +01:00
qemu-img.texi
qemu-io-cmds.c
qemu-io.c block: Make bdrv_file_open() static 2014-02-21 21:02:22 +01:00
qemu-log.c
qemu-nbd.c block: Add reference parameter to bdrv_open() 2014-02-21 21:02:22 +01:00
qemu-nbd.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx
qemu-seccomp.c
qemu-tech.texi
qemu-timer.c
qemu.nsi
qemu.sasl
qmp-commands.hx qmp: expose list of supported character device backends 2014-02-17 11:57:23 -05:00
qmp.c
qtest.c qtest: Don't segfault with invalid -qtest option 2014-02-14 21:12:01 +01:00
README
rules.mak rules.mak: Link with C++ if we have a C++ compiler 2014-02-08 14:50:48 +00:00
savevm.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
spice-qemu-char.c
tcg-runtime.c
tci.c
thread-pool.c
thunk.c
tpm.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
trace-events trace-events: Fix typo in "offset" 2014-02-19 11:14:08 +01:00
translate-all.c exec: Make tb_invalidate_phys_addr input an AS 2014-02-11 22:55:55 +10:00
translate-all.h
user-exec.c
VERSION
version.rc
vl.c QOM infrastructure fixes and device conversions 2014-02-20 13:05:48 +00:00
vmstate.c
xbzrle.c
xen-all.c
xen-mapcache.c
xen-stub.c

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team