History log of /openbmc/qemu/qemu-nbd.c (Results 326 – 350 of 404)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: qemu-kvm-0.12.1.2-2.351.el6, qemu-kvm-0.12.1.2-2.350.el6, qemu-1.4-vfio-20130109.0, qemu-kvm-0.12.1.2-2.349.el6
# 501a7ce7 22-Dec-2012 Andreas Färber <afaerber@suse.de>

Merge branch 'master' of git://git.qemu.org/qemu into qom-cpu

Adapt header include paths.

Signed-off-by: Andreas Färber <afaerber@suse.de>


# bb5801f5 21-Dec-2012 Anthony Liguori <aliguori@us.ibm.com>

Merge remote-tracking branch 'quintela/thread-20121220.next' into staging

* quintela/thread-20121220.next: (79 commits)
migration: merge QEMUFileBuffered into MigrationState
migration: fix qemu_

Merge remote-tracking branch 'quintela/thread-20121220.next' into staging

* quintela/thread-20121220.next: (79 commits)
migration: merge QEMUFileBuffered into MigrationState
migration: fix qemu_get_fd for BufferedFile
ram: refactor ram_save_block() return value
ram: account the amount of transferred ram better
ram: optimize migration bitmap walking
ram: Use memory_region_test_and_clear_dirty
memory: introduce memory_region_test_and_clear_dirty
ram: Add last_sent_block
ram: rename last_block to last_seen_block
migration: move migration notifier
migration: Inline qemu_fopen_ops_buffered into migrate_fd_connect
migration: move migration_fd_put_ready()
migration: add XFER_LIMIT_RATIO
migration: move buffered_file.c code into migration.c
savevm: New save live migration method: pending
buffered_file: unfold buffered_append in buffered_put_buffer
buffered_file: don't flush on put buffer
buffered_file: Unfold the trick to restart generating migration data
migration: just lock migrate_fd_put_ready
migration: remove unfreeze logic
...

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

show more ...


# 27dd7730 19-Dec-2012 Anthony Liguori <aliguori@us.ibm.com>

Merge remote-tracking branch 'bonzini/header-dirs' into staging

* bonzini/header-dirs: (45 commits)
janitor: move remaining public headers to include/
hw: move executable format header files to

Merge remote-tracking branch 'bonzini/header-dirs' into staging

* bonzini/header-dirs: (45 commits)
janitor: move remaining public headers to include/
hw: move executable format header files to hw/
fpu: move public header file to include/fpu
softmmu: move remaining include files to include/ subdirectories
softmmu: move include files to include/sysemu/
misc: move include files to include/qemu/
qom: move include files to include/qom/
migration: move include files to include/migration/
monitor: move include files to include/monitor/
exec: move include files to include/exec/
block: move include files to include/block/
qapi: move include files to include/qobject/
janitor: add guards to headers
qapi: make struct Visitor opaque
qapi: remove qapi/qapi-types-core.h
qapi: move inclusions of qemu-common.h from headers to .c files
ui: move files to ui/ and include/ui/
qemu-ga: move qemu-ga files to qga/
net: reorganize headers
net: move net.c to net/
...

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

show more ...


Revision tags: qemu-kvm-0.12.1.2-2.348.el6, qemu-kvm-0.12.1.2-2.347.el6
# 737e150e 17-Dec-2012 Paolo Bonzini <pbonzini@redhat.com>

block: move include files to include/block/

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


Revision tags: qemu-kvm-0.12.1.2-2.295.el6_3.10, v1.2.2, qemu-kvm-0.12.1.2-2.295.el6_3.9, qemu-kvm-0.12.1.2-2.344.el6, qemu-kvm-0.12.1.2-2.343.el6, vfio-pci-for-qemu-20121210.0, qemu-kvm-0.12.1.2-2.342.el6, qemu-kvm-0.12.1.2-2.340.el6, v1.3.0, qemu-kvm-0.12.1.2-2.339.el6, qemu-kvm-0.12.1.2-2.338.el6, v1.3.0-rc2, v1.3.0-rc1, qemu-kvm-0.12.1.2-2.337.el6, qemu-kvm-0.12.1.2-2.336.el6, v1.3.0-rc0, qemu-kvm-0.12.1.2-2.335.el6, qemu-kvm-0.12.1.2-2.295.el6_3.8
# de148eb7 14-Nov-2012 Anthony Liguori <aliguori@us.ibm.com>

Merge remote-tracking branch 'bonzini/nbd-next' into staging

* bonzini/nbd-next:
nbd: fixes to read-only handling
hmp: add NBD server commands
nbd: disallow nbd-server-add before nbd-server-st

Merge remote-tracking branch 'bonzini/nbd-next' into staging

* bonzini/nbd-next:
nbd: fixes to read-only handling
hmp: add NBD server commands
nbd: disallow nbd-server-add before nbd-server-start
nbd: force read-only export for read-only devices
nbd: fix nbd_server_stop crash when no server was running
nbd: accept URIs
nbd: accept relative path to Unix socket
qemu-nbd: initialize main loop before block layer

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

show more ...


Revision tags: vfio-pci-for-qemu-1.3.0-rc0, qemu-kvm-0.12.1.2-2.295.el6_3.7, qemu-kvm-0.12.1.2-2.295.el6_3.6
# 7e7f4a0e 03-Nov-2012 Paolo Bonzini <pbonzini@redhat.com>

qemu-nbd: initialize main loop before block layer

qemu-nbd was broken because they initialized the block layer while
qemu_aio_context was still NULL.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.c

qemu-nbd: initialize main loop before block layer

qemu-nbd was broken because they initialized the block layer while
qemu_aio_context was still NULL.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


Revision tags: qemu-kvm-0.12.1.2-2.334.el6, qemu-kvm-0.12.1.2-2.333.el6, qemu-kvm-0.12.1.2-2.332.el6, qemu-kvm-0.12.1.2-2.331.el6, qemu-kvm-0.12.1.2-2.295.el6_3.5, qemu-kvm-0.12.1.2-2.330.el6, qemu-kvm-0.12.1.2-2.329.el6, vfio-pci-for-qemu-20121017.0, qemu-kvm-0.12.1.2-2.328.el6, qemu-kvm-0.12.1.2-2.295.el6_3.4, qemu-kvm-0.12.1.2-2.327.el6, qemu-kvm-0.12.1.2-2.326.el6, qemu-kvm-0.12.1.2-2.325.el6, qemu-kvm-0.12.1.2-2.324.el6, qemu-kvm-0.12.1.2-2.323.el6, v1.2.1, qemu-kvm-0.12.1.2-2.295.el6_3.3, qemu-kvm-0.12.1.2-2.322.el6.fixed, qemu-kvm-0.12.1.2-2.321.el6.fixed, qemu-kvm-0.12.1.2-2.322.el6, qemu-kvm-0.12.1.2-2.321.el6, vfio-pci-for-qemu-20121008.0, vfio-pci-for-qemu-20121005.0, vfio-pci-for-qemu-20121004.0, qemu-kvm-0.12.1.2-2.319.el6, qemu-kvm-0.12.1.2-2.318.el6, qemu-kvm-0.12.1.2-2.317.el6, vfio-pci-for-qemu-v6, vfio-pci-for-qemu-v5-resend
# 09d0726c 25-Sep-2012 Anthony Liguori <aliguori@us.ibm.com>

Merge remote-tracking branch 'bonzini/nbd-next' into staging

* bonzini/nbd-next:
nbd: add nbd_export_get_blockdev
nbd: negotiate with named exports
nbd: register named exports
qemu-nbd: rewr

Merge remote-tracking branch 'bonzini/nbd-next' into staging

* bonzini/nbd-next:
nbd: add nbd_export_get_blockdev
nbd: negotiate with named exports
nbd: register named exports
qemu-nbd: rewrite termination conditions to use a state machine
nbd: add notification for closing an NBDExport
nbd: track clients into NBDExport
nbd: add reference counting to NBDExport
nbd: do not leak nbd_trip coroutines when a connection is torn down
nbd: make refcount interface public
nbd: do not close BlockDriverState in nbd_export_close
nbd: pass NBDClient to nbd_send_negotiate
nbd: add more constants

show more ...


Revision tags: qemu-kvm-0.12.1.2-2.315.el6, qemu-kvm-0.12.1.2-2.314.el6
# 7860a380 18-Sep-2012 Paolo Bonzini <pbonzini@redhat.com>

qemu-nbd: rewrite termination conditions to use a state machine

Use a simple state machine with the following states:

- RUNNING => accepting connections
- TERMINATE => main loop must call nbd

qemu-nbd: rewrite termination conditions to use a state machine

Use a simple state machine with the following states:

- RUNNING => accepting connections
- TERMINATE => main loop must call nbd_export_close/put, and not accept
connections anymore
- TERMINATING => waiting for pending requests to finish
- TERMINATED => the NBDExport has been closed

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


# 0ddf08db 18-Sep-2012 Paolo Bonzini <pbonzini@redhat.com>

nbd: add notification for closing an NBDExport

In order to exit cleanly from qemu-nbd, add a callback that triggers
when an NBDExport is closed. In the case of qemu-nbd it will exit the
main loop.

nbd: add notification for closing an NBDExport

In order to exit cleanly from qemu-nbd, add a callback that triggers
when an NBDExport is closed. In the case of qemu-nbd it will exit the
main loop.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


# 2c8d9f06 18-Sep-2012 Paolo Bonzini <pbonzini@redhat.com>

nbd: add reference counting to NBDExport

We will use a similar two-phase destruction for NBDExport, so we need
each NBDClient to add a reference to NBDExport.

Signed-off-by: Paolo Bonzini <pbonzini

nbd: add reference counting to NBDExport

We will use a similar two-phase destruction for NBDExport, so we need
each NBDClient to add a reference to NBDExport.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


Revision tags: vfio-pci-for-qemu-v5, vfio-pci-for-qemu-v4, qemu-kvm-0.12.1.2-2.313.el6, qemu-kvm-1.1.2, qemu-kvm-0.12.1.2-2.312.el6, qemu-kvm-1.2.0, v1.1.2, v1.2.0, qemu-kvm-0.12.1.2-2.311.el6, qemu-kvm-0.12.1.2-2.310.el6, qemu-kvm-0.12.1.2-2.295.el6_3.2, qemu-kvm-0.12.1.2-2.309.el6, v1.2.0-rc3, qemu-kvm-1.2.0-rc2, v1.2.0-rc2, qemu-kvm-0.12.1.2-2.308.el6, qemu-kvm-1.2.0-rc1, v1.2.0-rc1
# a4aab7b4 22-Aug-2012 Paolo Bonzini <pbonzini@redhat.com>

nbd: do not close BlockDriverState in nbd_export_close

This is not desirable when embedding the NBD server inside QEMU.
Move the bdrv_close to qemu-nbd.

Signed-off-by: Paolo Bonzini <pbonzini@redha

nbd: do not close BlockDriverState in nbd_export_close

This is not desirable when embedding the NBD server inside QEMU.
Move the bdrv_close to qemu-nbd.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


Revision tags: qemu-kvm-0.12.1.2-2.307.el6, qemu-kvm-0.12.1.2-2.306.el6, v1.2.0-rc0, qemu-kvm-0.12.1.2-2.305.el6, vfio-pci-for-qemu-1.2-v3, qemu-kvm-0.12.1.2-2.304.el6, qemu-kvm-0.12.1.2-2.303.el6, vfio-pci-for-qemu-1.2-v2, qemu-kvm-0.12.1.2-2.302.el6, vfio-pci-for-qemu-1.2, qemu-kvm-0.12.1.2-2.301.el6, qemu-kvm-0.12.1.2-2.300.el6
# 4dd533aa 30-Jul-2012 Anthony Liguori <aliguori@us.ibm.com>

Merge remote-tracking branch 'bonzini/nbd-next' into staging

* bonzini/nbd-next:
qemu-nbd: add --cache and --aio options
qemu-nbd: reorganize help message


Revision tags: qemu-kvm-0.12.1.2-2.299.el6, qemu-kvm-0.12.1.2-2.298.el6
# 39a5235c 18-Jul-2012 Paolo Bonzini <pbonzini@redhat.com>

qemu-nbd: add --cache and --aio options

Add two options to tune the I/O implementation of qemu-nbd, matching
the possibilities given by the QEMU -drive option.

Signed-off-by: Paolo Bonzini <pbonzin

qemu-nbd: add --cache and --aio options

Add two options to tune the I/O implementation of qemu-nbd, matching
the possibilities given by the QEMU -drive option.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


# b033cd86 18-Jul-2012 Paolo Bonzini <pbonzini@redhat.com>

qemu-nbd: reorganize help message

This patch separates qemu-nbd's options in logical groups, thus making
the help message easier to read.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


Revision tags: qemu-kvm-0.12.1.2-2.297.el6, qemu-kvm-0.12.1.2-2.295.el6_3.1, qemu-kvm-0.12.1.2-2.296.el6, qemu-kvm-1.1.1, v1.1.1, qemu-kvm-1.1.0, v1.1.0, qemu-kvm-1.1-rc4, v1.1.0-rc4, qemu-kvm-1.1-rc3, v1.1.0-rc3, RHEL-6.3, qemu-kvm-0.12.1.2-2.295.el6, RHEL-6.3-Snapshot-4, qemu-kvm-0.12.1.2-2.294.el6, qemu-kvm-1.1-rc2, qemu-kvm-0.12.1.2-2.293.el6, v1.1-rc2, v1.1.0-rc2, v1.1-rc1, RHEL-6.3-Snapshot-3, qemu-kvm-0.12.1.2-2.292.el6, qemu-kvm-0.12.1.2-2.291.el6, v1.1-rc0, RHEL-6.3-Snapshot-2, qemu-kvm-0.12.1.2-2.290.el6, qemu-kvm-0.12.1.2-2.289.el6, qemu-kvm-0.12.1.2-2.288.el6, qemu-kvm-0.12.1.2-2.287.el6, RHEL-6.3-Snapshot-1, qemu-kvm-0.12.1.2-2.286.el6, qemu-kvm-0.12.1.2-2.285.el6, qemu-kvm-0.12.1.2-2.284.el6
# bec8eb81 23-Apr-2012 Anthony Liguori <aliguori@us.ibm.com>

Merge remote-tracking branch 'bonzini/nbd-next' into staging

* bonzini/nbd-next:
nbd: obey FUA on reads
nbd: do not include block_int.h
nbd: do not block in nbd_wr_sync if no data at all is av

Merge remote-tracking branch 'bonzini/nbd-next' into staging

* bonzini/nbd-next:
nbd: obey FUA on reads
nbd: do not include block_int.h
nbd: do not block in nbd_wr_sync if no data at all is available
nbd: consistently return negative errno values
nbd: consistently check for <0 or >=0
nbd: consistently use ssize_t
nbd: avoid out of bounds access to recv_coroutine array

show more ...


Revision tags: qemu-kvm-0.12.1.2-2.283.el6, qemu-kvm-0.12.1.2-2.282.el6, qemu-kvm-0.12.1.2-2.281.el6, qemu-kvm-0.12.1.2-2.280.el6, qemu-kvm-0.12.1.2-2.279.el6, qemu-kvm-0.12.1.2-2.209.el6_2.5, qemu-kvm-0.12.1.2-2.278.el6, qemu-kvm-0.12.1.2-2.277.el6, qemu-kvm-1.0.1, qemu-kvm-0.12.1.2-2.276.el6, qemu-kvm-0.12.1.2-2.275.el6, qemu-kvm-0.12.1.2-2.274.el6, qemu-kvm-0.12.1.2-2.273.el6, RHEL-6.3-Beta-1, qemu-kvm-0.12.1.2-2.272.el6, qemu-kvm-0.12.1.2-2.270.el6, qemu-kvm-0.12.1.2-2.269.el6, qemu-kvm-0.12.1.2-2.268.el6, qemu-kvm-0.12.1.2-2.267.el6, qemu-kvm-0.12.1.2-2.266.el6, RHEL-6.3-Alpha-1, RHEL-6.3-Alpha-2, qemu-kvm-0.12.1.2-2.265.el6, qemu-kvm-0.12.1.2-2.264.el6, qemu-kvm-0.12.1.2-2.263.el6, qemu-kvm-0.12.1.2-2.261.el6, qemu-kvm-0.12.1.2-2.260.el6, qemu-kvm-0.12.1.2-2.259.el6, qemu-kvm-0.12.1.2-2.258.el6, qemu-kvm-0.12.1.2-2.257.el6, qemu-kvm-0.12.1.2-2.256.el6, qemu-kvm-0.12.1.2-2.255.el6, qemu-kvm-0.12.1.2-2.254.el6, qemu-kvm-0.12.1.2-2.253.el6, qemu-kvm-0.12.1.2-2.251.el6, qemu-kvm-0.12.1.2-2.250.el6, qemu-kvm-0.12.1.2-2.249.el6, qemu-kvm-0.12.1.2-2.248.el6, qemu-kvm-0.12.1.2-2.247.el6, qemu-kvm-0.12.1.2-2.246.el6, qemu-kvm-0.12.1.2-2.245.el6, qemu-kvm-0.12.1.2-2.244.el6, qemu-kvm-0.12.1.2-2.243.el6
# 38ceff04 12-Mar-2012 Paolo Bonzini <pbonzini@redhat.com>

nbd: do not include block_int.h

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


Revision tags: qemu-kvm-0.12.1.2-2.242.el6, qemu-kvm-0.12.1.2-2.241.el6, qemu-kvm-0.12.1.2-2.240.el6, qemu-kvm-0.12.1.2-2.239.el6, qemu-kvm-0.12.1.2-2.238.el6, qemu-kvm-0.12.1.2-2.237.el6
# 185b4338 05-Mar-2012 Paolo Bonzini <pbonzini@redhat.com>

nbd: consistently return negative errno values

In the next patch we need to look at the return code of nbd_wr_sync.
To avoid percolating the socket_error() ugliness all around, let's
handle errors b

nbd: consistently return negative errno values

In the next patch we need to look at the return code of nbd_wr_sync.
To avoid percolating the socket_error() ugliness all around, let's
handle errors by returning negative errno values.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


# fc19f8a0 07-Mar-2012 Paolo Bonzini <pbonzini@redhat.com>

nbd: consistently check for <0 or >=0

This prepares for the following patch, which changes -1 return values
to negative errno.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


Revision tags: qemu-kvm-0.12.1.2-2.236.el6, qemu-kvm-0.12.1.2-2.235.el6, qemu-kvm-0.12.1.2-2.234.el6, qemu-kvm-0.12.1.2-2.233.el6, qemu-kvm-0.12.1.2-2.232.el6
# c77de088 17-Feb-2012 Anthony Liguori <aliguori@us.ibm.com>

Merge remote-tracking branch 'bonzini/nbd-for-anthony' into staging

* bonzini/nbd-for-anthony:
nbd: add git tree to MAINTAINERS
open /dev/nbd in nbd_client_thread
do not chdir(/) in qemu-nbd b

Merge remote-tracking branch 'bonzini/nbd-for-anthony' into staging

* bonzini/nbd-for-anthony:
nbd: add git tree to MAINTAINERS
open /dev/nbd in nbd_client_thread
do not chdir(/) in qemu-nbd before opening all files

show more ...


Revision tags: qemu-kvm-0.12.1.2-2.231.el6, qemu-kvm-0.12.1.2-2.230.el6, qemu-kvm-0.12.1.2-2.229.el6, qemu-kvm-0.12.1.2-2.228.el6, qemu-kvm-0.12.1.2-2.227.el6, qemu-kvm-0.12.1.2-2.226.el6, qemu-kvm-0.12.1.2-2.225.el6, qemu-kvm-0.12.1.2-2.224.el6, qemu-kvm-0.12.1.2-2.223.el6, v1.0.1, qemu-kvm-0.12.1.2-2.222.el6, qemu-kvm-0.12.1.2-2.221.el6, qemu-kvm-0.12.1.2-2.220.el6, qemu-kvm-0.12.1.2-2.219.el6, qemu-kvm-0.12.1.2-2.209.el6_2.4, qemu-kvm-0.12.1.2-2.218.el6, qemu-kvm-0.12.1.2-2.217.el6, qemu-kvm-0.12.1.2-2.209.el6_2.3, qemu-kvm-0.12.1.2-2.216.el6, qemu-kvm-0.12.1.2-2.215.el6, qemu-kvm-0.12.1.2-2.214.el6, qemu-kvm-0.12.1.2-2.213.el6, qemu-kvm-0.12.1.2-2.212.el6, qemu-kvm-0.12.1.2-2.209.el6_2.2, qemu-kvm-0.12.1.2-2.211.el6
# a6ac2313 06-Dec-2011 Paolo Bonzini <pbonzini@redhat.com>

open /dev/nbd in nbd_client_thread

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


# 9faf31b6 16-Jan-2012 Michael Tokarev <mjt@tls.msk.ru>

do not chdir(/) in qemu-nbd before opening all files

When qemu-nbd becomes a daemon it calls daemon(3) with
nochdir=0, so daemon(3) changes current directory to /.
But at this time, qemu-nbd did not

do not chdir(/) in qemu-nbd before opening all files

When qemu-nbd becomes a daemon it calls daemon(3) with
nochdir=0, so daemon(3) changes current directory to /.
But at this time, qemu-nbd did not open any user-specified
files yet, so by changing current directory, all non-absolute
paths becomes wrong. The solution is to pass nochdir=1 to
daemon(3) function, and to chdir("/") after all init has
been performed, before entering the main loop, -- just like
a good daemon should do.

This patch is applicable for -stable.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


# a2e4d53e 06-Jan-2012 Anthony Liguori <aliguori@us.ibm.com>

Merge remote-tracking branch 'stefanha/trivial-patches' into staging

* stefanha/trivial-patches:
qemu-nbd: drop loop which can never loop
Make python mandatory
net/socket.c: Fix fd leak in net

Merge remote-tracking branch 'stefanha/trivial-patches' into staging

* stefanha/trivial-patches:
qemu-nbd: drop loop which can never loop
Make python mandatory
net/socket.c: Fix fd leak in net_socket_listen_init() error paths
gdbstub: Fix fd leak in gdbserver_open() error path
configure: Fix test for supported host CPU type
configure: CONFIG_QEMU_INTERP_PREFIX only for user mode
scsi virtio-blk usb-msd: Clean up device init error messages
Strip trailing '\n' from error_report()'s first argument (again)
qemu-options.hx: fix tls-channel help text

show more ...


# dc10e8b3 05-Jan-2012 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>

qemu-nbd: drop loop which can never loop

For some reason nbd_client_thread() has a do..while loop which can never
loop, the condition is bogus because we would take a goto instead. Drop
the loop.

qemu-nbd: drop loop which can never loop

For some reason nbd_client_thread() has a do..while loop which can never
loop, the condition is bogus because we would take a goto instead. Drop
the loop.

Reported-by: Dr David Alan Gilbert <davidagilbert@uk.ibm.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>

show more ...


# ebdfc3c8 27-Dec-2011 Anthony Liguori <aliguori@us.ibm.com>

Merge remote-tracking branch 'bonzini/nbd-for-anthony' into staging

* bonzini/nbd-for-anthony: (26 commits)
nbd: add myself as maintainer
qemu-nbd: throttle requests
qemu-nbd: asynchronous ope

Merge remote-tracking branch 'bonzini/nbd-for-anthony' into staging

* bonzini/nbd-for-anthony: (26 commits)
nbd: add myself as maintainer
qemu-nbd: throttle requests
qemu-nbd: asynchronous operation
qemu-nbd: add client pointer to NBDRequest
qemu-nbd: move client handling to nbd.c
qemu-nbd: use common main loop
link the main loop and its dependencies into the tools
qemu-nbd: introduce NBDRequest
qemu-nbd: introduce NBDExport
qemu-nbd: introduce nbd_do_receive_request
qemu-nbd: more robust handling of invalid requests
qemu-nbd: introduce nbd_do_send_reply
qemu-nbd: simplify nbd_trip
move corking functions to osdep.c
qemu-nbd: remove data_size argument to nbd_trip
qemu-nbd: remove offset argument to nbd_trip
Update ioctl order in nbd_init() to detect EBUSY
nbd: add support for NBD_CMD_TRIM
nbd: add support for NBD_CMD_FLUSH
nbd: add support for NBD_CMD_FLAG_FUA
...

show more ...


Revision tags: qemu-kvm-1.0, v1.0, v1.0-rc4, qemu-kvm-0.12.1.2-2.210.el6, v1.0-rc3, qemu-kvm-0.12.1.2-2.209.el6_2.1, v1.0-rc2, qemu-kvm-0.12.1.2-2.160.el6_1.9, v1.0-rc1, RHEL-6.2, qemu-kvm-0.12.1.2-2.209.el6, v1.0-rc0, qemu-kvm-0.12.1.2-2.208.el6, qemu-kvm-0.12.1.2-2.207.el6, qemu-kvm-0.12.1.2-2.206.el6, qemu-kvm-0.12.1.2-2.205.el6, qemu-kvm-0.12.1.2-2.204.el6, qemu-kvm-0.12.1.2-2.203.el6, qemu-kvm-0.12.1.2-2.202.el6, qemu-kvm-0.12.1.2-2.201.el6, qemu-kvm-0.12.1.2-2.200.el6, qemu-kvm-0.15.1, qemu-kvm-0.12.1.2-2.199.el6, qemu-kvm-0.12.1.2-2.198.el6, qemu-kvm-0.12.1.2-2.197.el6, v0.15.1, qemu-kvm-0.12.1.2-2.196.el6, qemu-kvm-0.12.1.2-2.195.el6, qemu-kvm-0.12.1.2-2.194.el6, qemu-kvm-0.12.1.2-2.193.el6, qemu-kvm-0.12.1.2-2.192.el6, qemu-kvm-0.12.1.2-2.191.el6
# 1743b515 19-Sep-2011 Paolo Bonzini <pbonzini@redhat.com>

qemu-nbd: move client handling to nbd.c

This patch sets up the fd handler in nbd.c instead of qemu-nbd.c. It
introduces NBDClient, which wraps the arguments to nbd_trip in a single
structure, so th

qemu-nbd: move client handling to nbd.c

This patch sets up the fd handler in nbd.c instead of qemu-nbd.c. It
introduces NBDClient, which wraps the arguments to nbd_trip in a single
structure, so that we can add a notifier to it. This way, qemu-nbd can
know about disconnections.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


1...<<11121314151617