53 Commits (f5d406fe86bb28da85824b6581e58980cc1a07f3)

Author SHA1 Message Date
Vladimir Sementsov-Ogievskiy f5d406fe86 nbd: read_sync and friends: return 0 on success 9 years ago
Kevin Wolf 8a7ce4f933 nbd/server: Use real permissions for NBD exports 10 years ago
Kevin Wolf d7086422b1 block: Add error parameter to blk_insert_bs() 10 years ago
Kevin Wolf 6d0eb64d5c block: Add permissions to blk_new() 10 years ago
Paolo Bonzini ff82911cd3 nbd: convert to use qio_channel_yield 10 years ago
Stefan Hajnoczi f6a51c84cd aio: add AioPollFn and io_poll() interface 10 years ago
Eric Blake 1f4d6d18ed nbd: Implement NBD_CMD_WRITE_ZEROES on server 10 years ago
Eric Blake b6f5d3b573 nbd: Improve server handling of shutdown requests 10 years ago
Eric Blake c203c59ad9 nbd: Support shorter handshake 10 years ago
Eric Blake 3668328303 nbd: Send message along with server NBD_REP_ERR errors 10 years ago
Eric Blake 526e5c6559 nbd: Share common reply-sending code in server 10 years ago
Eric Blake ed2dd91267 nbd: Rename struct nbd_request and nbd_reply 10 years ago
Eric Blake 315f78abfc nbd: Rename NBDRequest to NBDRequestData 10 years ago
Eric Blake b626b51a67 nbd: Treat flags vs. command type as separate fields 10 years ago
Eric Blake b1a75b3348 nbd: Add qemu-nbd -D for human-readable description 10 years ago
Daniel P. Berrange 0d73f7253e nbd: set name for all I/O channels created 10 years ago
Kevin Wolf cd7fca952c nbd-server: Use a separate BlockBackend 10 years ago
Eric Blake 7423f41782 nbd: Limit nbdflags to 16 bits 10 years ago
Eric Blake 5bee0f4717 nbd: Fix bad flag detection on server 10 years ago
Eric Blake 1c6c4bb7f0 block: Convert BB interface to byte-based discards 10 years ago
Paolo Bonzini 0b8b8753e4 coroutine: move entry argument to qemu_coroutine_create 10 years ago
Eric Blake 943cec86d0 nbd: Avoid magic number for NBD max name size 10 years ago
Eric Blake 98494e3b92 nbd: Group all Linux-specific ioctl code in one place 10 years ago
Eric Blake ab7c548e26 nbd: Reject unknown request flags 10 years ago
Eric Blake 29b6c3b319 nbd: Improve server handling of bogus commands 10 years ago
Eric Blake 63d5ef869e nbd: Quit server after any write error 10 years ago
Eric Blake 2cb347493c nbd: More debug typo fixes, use correct formats 10 years ago
Eric Blake a0c303693e nbd: Use BDRV_REQ_FUA for better FUA where supported 10 years ago
Peter Maydell 773dce3c72 nbd: Don't use *_to_cpup() functions 10 years ago
Eric Blake 353ab96973 nbd: Don't trim unrequested bytes 10 years ago
Eric Blake 8341f00dc2 block: Allow BDRV_REQ_FUA through blk_pwrite() 10 years ago
Eric Blake df7b97ff89 nbd: Don't mishandle unaligned client requests 10 years ago
Eric Blake d1129a8ad9 nbd: Don't kill server on client that doesn't request TLS 10 years ago
Eric Blake 156f6a10c2 nbd: Don't kill server when client requests unknown option 11 years ago
Eric Blake 7548fe3116 nbd: Improve debug traces on little-endian 11 years ago
Eric Blake c0301fcc81 nbd: Return correct error for write to read-only export 11 years ago
Markus Armbruster da34e65cb4 include/qemu/osdep.h: Don't include qapi/error.h 11 years ago
Daniel P. Berrange f95910fe6b nbd: implement TLS support in the protocol negotiation 11 years ago
Daniel P. Berrange 69b49502d8 nbd: use "" as a default export name if none provided 11 years ago
Daniel P. Berrange 9344e5f554 nbd: always query export list in fixed new style protocol 11 years ago
Daniel P. Berrange 26afa868db nbd: make server compliant with fixed newstyle spec 11 years ago
Daniel P. Berrange 1c778ef729 nbd: convert to using I/O channels for actual socket I/O 11 years ago
John Snow 667ad26ff8 nbd: avoid unaligned uint64_t store 11 years ago
Peter Maydell d38ea87ac5 all: Clean up includes 11 years ago
Max Reitz 741cc43133 nbd: Switch from close to eject notifier 11 years ago
Max Reitz d3780c2dce nbd: client_close on error in nbd_co_client_start 11 years ago
Denis V. Lunev e5f3e12e84 nbd: add missed aio_context_acquire in nbd_export_new 11 years ago
Kevin Wolf 04c01a5c8f block: Rename BDRV_O_INCOMING to BDRV_O_INACTIVE 11 years ago
Paolo Bonzini f1c17521e7 nbd-server: do not exit on failed memory allocation 11 years ago
Paolo Bonzini eb38c3b670 nbd-server: do not check request length except for reads and writes 11 years ago