qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] ac5de4: tests: Simplify .gitignore


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] ac5de4: tests: Simplify .gitignore
Date: Fri, 22 Jun 2018 02:57:10 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: ac5de4984df282d64feb4af33b92e0a75652e2b6
      
https://github.com/qemu/qemu/commit/ac5de4984df282d64feb4af33b92e0a75652e2b6
  Author: Eric Blake <address@hidden>
  Date:   2018-06-21 (Thu, 21 Jun 2018)

  Changed paths:
    M tests/.gitignore

  Log Message:
  -----------
  tests: Simplify .gitignore

Commit 0bcc8e5b was yet another instance of 'git status' reporting
dirty files after an in-tree build, thanks to the new binary
tests/check-block-qdict.

Instead of piecemeal exemptions of each new binary as they are
added, let's use git's negative globbing feature to exempt ALL
files that have a 'test-' or 'check-' prefix, except for the ones
ending in '.c' or '.sh'.  We still have a couple of generated
files that then need (re-)exclusion, but the overall list is a
LOT shorter, and less prone to needing future edits.

Signed-off-by: Eric Blake <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: d8b20291cba6aa9bb295885a34f2b5f05d59d1b2
      
https://github.com/qemu/qemu/commit/d8b20291cba6aa9bb295885a34f2b5f05d59d1b2
  Author: Eric Blake <address@hidden>
  Date:   2018-06-21 (Thu, 21 Jun 2018)

  Changed paths:
    M nbd/server.c

  Log Message:
  -----------
  nbd/server: Reject 0-length block status request

The NBD spec says that behavior is unspecified if the client
requests 0 length for block status; but since the structured
reply is documenting as returning a non-zero length, it's
easier to just diagnose this with an EINVAL error than to
figure out what to return.

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


  Commit: dbb8b396bb46388cee92e9094c563297d04c43ed
      
https://github.com/qemu/qemu/commit/dbb8b396bb46388cee92e9094c563297d04c43ed
  Author: Vladimir Sementsov-Ogievskiy <address@hidden>
  Date:   2018-06-21 (Thu, 21 Jun 2018)

  Changed paths:
    M nbd/server.c

  Log Message:
  -----------
  nbd/server: fix trace

Return code = 1 doesn't mean that we parsed base:allocation. Use
correct traces in both -parsed and -skipped cases.

Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
[eblake: comment tweaks]
Signed-off-by: Eric Blake <address@hidden>


  Commit: af736e546717d832168dd332a328bfcf74a0ab3d
      
https://github.com/qemu/qemu/commit/af736e546717d832168dd332a328bfcf74a0ab3d
  Author: Vladimir Sementsov-Ogievskiy <address@hidden>
  Date:   2018-06-21 (Thu, 21 Jun 2018)

  Changed paths:
    M nbd/server.c

  Log Message:
  -----------
  nbd/server: refactor NBDExportMetaContexts

Use NBDExport pointer instead of just export name: there is no need to
store a duplicated name in the struct; moreover, NBDExport will be used
further.

Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
[eblake: commit message grammar tweak]
Signed-off-by: Eric Blake <address@hidden>


  Commit: b0769d8f8df0b51881f1f15c9e29722cf6191a43
      
https://github.com/qemu/qemu/commit/b0769d8f8df0b51881f1f15c9e29722cf6191a43
  Author: Vladimir Sementsov-Ogievskiy <address@hidden>
  Date:   2018-06-21 (Thu, 21 Jun 2018)

  Changed paths:
    M nbd/server.c

  Log Message:
  -----------
  nbd/server: add nbd_meta_empty_or_pattern helper

Add nbd_meta_pattern() and nbd_meta_empty_or_pattern() helpers for
metadata query parsing. nbd_meta_pattern() will be reused for the
"qemu" namespace in following patches.

Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
[eblake: comment tweaks]
Signed-off-by: Eric Blake <address@hidden>


  Commit: 3d068aff16d6dbf066328977c5152847a62f2a0a
      
https://github.com/qemu/qemu/commit/3d068aff16d6dbf066328977c5152847a62f2a0a
  Author: Vladimir Sementsov-Ogievskiy <address@hidden>
  Date:   2018-06-21 (Thu, 21 Jun 2018)

  Changed paths:
    M include/block/nbd.h
    M nbd/server.c
    M nbd/trace-events

  Log Message:
  -----------
  nbd/server: implement dirty bitmap export

Handle a new NBD meta namespace: "qemu", and corresponding queries:
"qemu:dirty-bitmap:<export bitmap name>".

With the new metadata context negotiated, BLOCK_STATUS query will reply
with dirty-bitmap data, converted to extents. The new public function
nbd_export_bitmap selects which bitmap to export. For now, only one bitmap
may be exported.

Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
[eblake: wording tweaks, minor cleanups, additional tracing]
Signed-off-by: Eric Blake <address@hidden>


  Commit: 767f0c7d6cddedbc97ad700bd1e0229cc2ce5eb5
      
https://github.com/qemu/qemu/commit/767f0c7d6cddedbc97ad700bd1e0229cc2ce5eb5
  Author: Vladimir Sementsov-Ogievskiy <address@hidden>
  Date:   2018-06-21 (Thu, 21 Jun 2018)

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

  Log Message:
  -----------
  qapi: new qmp command nbd-server-add-bitmap

For now, the actual command ix x-nbd-server-add-bitmap, reflecting
the fact that we are still working on libvirt code that proves the
command works as needed, and also the fact that we may remove
bitmap-export-name (and just require that the exported name be the
bitmap name).

Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
[eblake: make the command experimental by adding x- prefix]
Signed-off-by: Eric Blake <address@hidden>


  Commit: 3229a835a3c574a8ebc605e007785c4e01c61623
      
https://github.com/qemu/qemu/commit/3229a835a3c574a8ebc605e007785c4e01c61623
  Author: Vladimir Sementsov-Ogievskiy <address@hidden>
  Date:   2018-06-21 (Thu, 21 Jun 2018)

  Changed paths:
    M MAINTAINERS
    A docs/interop/nbd.txt

  Log Message:
  -----------
  docs/interop: add nbd.txt

Describe new metadata namespace: "qemu".

Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
[eblake: grammar tweaks]
Signed-off-by: Eric Blake <address@hidden>


  Commit: bc37b06a5cde24fb24c2a2cc44dd86756034ba9d
      
https://github.com/qemu/qemu/commit/bc37b06a5cde24fb24c2a2cc44dd86756034ba9d
  Author: Vladimir Sementsov-Ogievskiy <address@hidden>
  Date:   2018-06-21 (Thu, 21 Jun 2018)

  Changed paths:
    M include/block/nbd.h
    M nbd/common.c
    M nbd/server.c

  Log Message:
  -----------
  nbd/server: introduce NBD_CMD_CACHE

Handle nbd CACHE command. Just do read, without sending read data back.
Cache mechanism should be done by exported node driver chain.

Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
[eblake: fix two missing case labels in switch statements]
Signed-off-by: Eric Blake <address@hidden>


  Commit: 409ef9eb4a1e96a233e472b028851394b76e7da8
      
https://github.com/qemu/qemu/commit/409ef9eb4a1e96a233e472b028851394b76e7da8
  Author: Peter Maydell <address@hidden>
  Date:   2018-06-22 (Fri, 22 Jun 2018)

  Changed paths:
    M MAINTAINERS
    M blockdev-nbd.c
    A docs/interop/nbd.txt
    M include/block/nbd.h
    M nbd/common.c
    M nbd/server.c
    M nbd/trace-events
    M qapi/block.json
    M tests/.gitignore

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2018-06-20-v2' into 
staging

nbd patches for 2018-06-20

Add experimental x-nbd-server-add-bitmap to expose a disabled
bitmap over NBD, in preparation for a pull model incremental
backup scheme. Also fix a corner case protocol issue with
NBD_CMD_BLOCK_STATUS, and add new NBD_CMD_CACHE.

- Eric Blake: tests: Simplify .gitignore
- Eric Blake: nbd/server: Reject 0-length block status request
- Vladimir Sementsov-Ogievskiy: 0/6 NBD export bitmaps
- Vladimir Sementsov-Ogievskiy: nbd/server: introduce NBD_CMD_CACHE

# gpg: Signature made Thu 21 Jun 2018 15:53:55 BST
# gpg:                using RSA key A7A16B4A2527436A
# 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-06-20-v2:
  nbd/server: introduce NBD_CMD_CACHE
  docs/interop: add nbd.txt
  qapi: new qmp command nbd-server-add-bitmap
  nbd/server: implement dirty bitmap export
  nbd/server: add nbd_meta_empty_or_pattern helper
  nbd/server: refactor NBDExportMetaContexts
  nbd/server: fix trace
  nbd/server: Reject 0-length block status request
  tests: Simplify .gitignore

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


Compare: https://github.com/qemu/qemu/compare/33836a731562...409ef9eb4a1e
      **NOTE:** This service been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

reply via email to

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