qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 902a1f: qapi: add name parameter to nbd-serve


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 902a1f: qapi: add name parameter to nbd-server-add
Date: Mon, 29 Jan 2018 01:57:57 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 902a1f94bee2f5c633bb623baf2160c0a6da097c
      
https://github.com/qemu/qemu/commit/902a1f94bee2f5c633bb623baf2160c0a6da097c
  Author: Vladimir Sementsov-Ogievskiy <address@hidden>
  Date:   2018-01-26 (Fri, 26 Jan 2018)

  Changed paths:
    M blockdev-nbd.c
    M hmp.c
    M qapi/block.json

  Log Message:
  -----------
  qapi: add name parameter to nbd-server-add

Allow user to specify name for new export, to not reuse internal
node name and to not show it to clients.

This also allows creating several exports per device.

Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eric Blake <address@hidden>


  Commit: dba49323ea83c8e661a279e8b69737fd18783a19
      
https://github.com/qemu/qemu/commit/dba49323ea83c8e661a279e8b69737fd18783a19
  Author: Eric Blake <address@hidden>
  Date:   2018-01-26 (Fri, 26 Jan 2018)

  Changed paths:
    M hmp-commands.hx
    M hmp.c

  Log Message:
  -----------
  hmp: Add name parameter to nbd_server_add

Extend the flexibility of the previous QMP patch to also work
in HMP.

Signed-off-by: Eric Blake <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Message-Id: <address@hidden>


  Commit: a3b0dc75829d910073e841539cb5ae4e6f75c09b
      
https://github.com/qemu/qemu/commit/a3b0dc75829d910073e841539cb5ae4e6f75c09b
  Author: Vladimir Sementsov-Ogievskiy <address@hidden>
  Date:   2018-01-26 (Fri, 26 Jan 2018)

  Changed paths:
    M blockdev-nbd.c
    M include/block/nbd.h
    M nbd/server.c
    M qapi/block.json

  Log Message:
  -----------
  qapi: add nbd-server-remove

Add command for removing an export. It is needed for cases when we
don't want to keep the export after the operation on it was completed.
The other example is a temporary node, created with blockdev-add.
If we want to delete it we should firstly remove any corresponding
NBD export.

Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Message-Id: <address@hidden>
[eblake: drop dead nb_clients code]
Signed-off-by: Eric Blake <address@hidden>


  Commit: 549084eaedd368bdc87e6b699cff83561eec4aab
      
https://github.com/qemu/qemu/commit/549084eaedd368bdc87e6b699cff83561eec4aab
  Author: Vladimir Sementsov-Ogievskiy <address@hidden>
  Date:   2018-01-26 (Fri, 26 Jan 2018)

  Changed paths:
    M tests/qemu-iotests/147
    M tests/qemu-iotests/147.out

  Log Message:
  -----------
  iotest 147: add cases to test new @name parameter of nbd-server-add

Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eric Blake <address@hidden>


  Commit: 9fa90eec04454dace0f62af1f439e74803e3a0c1
      
https://github.com/qemu/qemu/commit/9fa90eec04454dace0f62af1f439e74803e3a0c1
  Author: Vladimir Sementsov-Ogievskiy <address@hidden>
  Date:   2018-01-26 (Fri, 26 Jan 2018)

  Changed paths:
    M tests/qemu-iotests/iotests.py

  Log Message:
  -----------
  iotests: implement QemuIoInteractive class

Implement QemuIoInteractive to test nbd-server-remove command when
there are active connections.

Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eric Blake <address@hidden>


  Commit: 2dadedce2b2fbdfdce1de8f108a3d67c2241df87
      
https://github.com/qemu/qemu/commit/2dadedce2b2fbdfdce1de8f108a3d67c2241df87
  Author: Vladimir Sementsov-Ogievskiy <address@hidden>
  Date:   2018-01-26 (Fri, 26 Jan 2018)

  Changed paths:
    A tests/qemu-iotests/205
    A tests/qemu-iotests/205.out
    M tests/qemu-iotests/group

  Log Message:
  -----------
  iotest 205: new test for qmp nbd-server-remove

Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Message-Id: <address@hidden>
[eblake: adjust to next available test number]
Signed-off-by: Eric Blake <address@hidden>


  Commit: 08fb10a7292637eb5836b8ac07b7ef8267db03be
      
https://github.com/qemu/qemu/commit/08fb10a7292637eb5836b8ac07b7ef8267db03be
  Author: Eric Blake <address@hidden>
  Date:   2018-01-26 (Fri, 26 Jan 2018)

  Changed paths:
    M hmp-commands.hx
    M hmp.c
    M hmp.h

  Log Message:
  -----------
  hmp: Add nbd_server_remove to mirror QMP command

Since everything else about the nbd-server-* QMP commands is
accessible from HMP, we might as well make removing an export
available as well.  For now, I went with a bool flag rather
than a mode string for choosing between safe (default) and
hard modes.

Signed-off-by: Eric Blake <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Eric Blake <address@hidden>


  Commit: 9776f0db6a19a0510e89b7aae38190b4811c95ba
      
https://github.com/qemu/qemu/commit/9776f0db6a19a0510e89b7aae38190b4811c95ba
  Author: Edgar Kaziakhmedov <address@hidden>
  Date:   2018-01-26 (Fri, 26 Jan 2018)

  Changed paths:
    M block/nbd.c

  Log Message:
  -----------
  nbd: implement bdrv_get_info callback

Since mirror job supports efficient zero out target mechanism (see
in mirror_dirty_init()), implement bdrv_get_info to make it work
over NBD. Such improvement will allow using the largest chunk possible
and will decrease the number of NBD_CMD_WRITE_ZEROES requests on the wire.

Signed-off-by: Edgar Kaziakhmedov <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Eric Blake <address@hidden>


  Commit: 6233b4a8c2a32ef6955a921246fa08705bbb3676
      
https://github.com/qemu/qemu/commit/6233b4a8c2a32ef6955a921246fa08705bbb3676
  Author: Peter Maydell <address@hidden>
  Date:   2018-01-26 (Fri, 26 Jan 2018)

  Changed paths:
    M block/nbd.c
    M blockdev-nbd.c
    M hmp-commands.hx
    M hmp.c
    M hmp.h
    M include/block/nbd.h
    M nbd/server.c
    M qapi/block.json
    M tests/qemu-iotests/147
    M tests/qemu-iotests/147.out
    A tests/qemu-iotests/205
    A tests/qemu-iotests/205.out
    M tests/qemu-iotests/group
    M tests/qemu-iotests/iotests.py

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2018-01-26' into 
staging

nbd patches for 2018-01-26

- Vladimir Sementsov-Ogievskiy - nbd export qmp interface
- Eric Blake - hmp: Add nbd_server_remove to mirror QMP command
- Edgar Kaziakhmedov - nbd: implement bdrv_get_info callback

# gpg: Signature made Fri 26 Jan 2018 16:02:34 GMT
# gpg:                using RSA key 0xA7A16B4A2527436A
# gpg: Good signature from "Eric Blake <address@hidden>"
# gpg:                 aka "Eric Blake (Free Software Programmer) 
<address@hidden>"
# gpg:                 aka "[jpeg image of size 6874]"
# Primary key fingerprint: 71C2 CC22 B1C4 6029 27D2  F3AA A7A1 6B4A 2527 436A

* remotes/ericb/tags/pull-nbd-2018-01-26:
  nbd: implement bdrv_get_info callback
  hmp: Add nbd_server_remove to mirror QMP command
  iotest 205: new test for qmp nbd-server-remove
  iotests: implement QemuIoInteractive class
  iotest 147: add cases to test new @name parameter of nbd-server-add
  qapi: add nbd-server-remove
  hmp: Add name parameter to nbd_server_add
  qapi: add name parameter to nbd-server-add

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/e607bbee553c...6233b4a8c2a3

reply via email to

[Prev in Thread] Current Thread [Next in Thread]