)]}'
{
  "commit": "25d9747b6427de8253221d544b45e50888d4cef7",
  "tree": "72bf24f817aea95b0ea0971143dfcb84104d4730",
  "parents": [
    "53ec73e264f481b79b52efcadc9ceb8f8996975c"
  ],
  "author": {
    "name": "Richard W.M. Jones",
    "email": "rjones@redhat.com",
    "time": "Wed Jul 01 15:40:14 2015 +0100"
  },
  "committer": {
    "name": "Stefan Hajnoczi",
    "email": "stefanha@redhat.com",
    "time": "Tue Jul 07 14:27:14 2015 +0100"
  },
  "message": "block/raw-posix: Don\u0027t think /dev/fd/\u003cNN\u003e is a floppy drive.\n\nIn libguestfs we use /dev/fd/\u003cNN\u003e to pass pre-opened file descriptors\nto qemu-img.  Lately I\u0027ve discovered that although this works, qemu\nbelieves that these are floppy disk images.  That in itself isn\u0027t much\nof a problem, but now qemu prints a warning about host floppy\npass-thru being deprecated.\n\nExtend the existing test so that it ignores /dev/fd/ as well as\n/dev/fdset/\n\nA simple test of this, if you are using the bash shell, is:\n\n  qemu-img info \u003c( cat /dev/null )\n\nwithout this patch:\n\n  $ qemu-img info \u003c( cat /dev/null )\n  qemu-img: Host floppy pass-through is deprecated\n  Support for it will be removed in a future release.\n  qemu-img: Could not open \u0027/dev/fd/63\u0027: Could not refresh total sector count: Illegal seek\n\nwith this patch:\n\n  $ qemu-img info \u003c( cat /dev/null )\n  qemu-img: Could not open \u0027/dev/fd/63\u0027: Could not refresh total sector count: Illegal seek\n\nSigned-off-by: Richard W.M. Jones \u003crjones@redhat.com\u003e\nReviewed-by: Markus Armbruster \u003carmbru@redhat.com\u003e\nMessage-id: 1435761614-31358-1-git-send-email-rjones@redhat.com\nFixes: https://bugs.launchpad.net/qemu/+bug/1470536\nSigned-off-by: Stefan Hajnoczi \u003cstefanha@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cbe6574bf4da90a124436a40422dce3667da71e6",
      "old_mode": 33188,
      "old_path": "block/raw-posix.c",
      "new_id": "855febed5222568f8faa3c89a73fb4b5f522cd7f",
      "new_mode": 33188,
      "new_path": "block/raw-posix.c"
    }
  ]
}
