Skip to content

Instantly share code, notes, and snippets.

@alexiri
Created February 2, 2021 16:27
Show Gist options
  • Save alexiri/28325caf6918317c34374085de993426 to your computer and use it in GitHub Desktop.
Save alexiri/28325caf6918317c34374085de993426 to your computer and use it in GitHub Desktop.
Working BZ #1923971
~ > LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 /usr/libexec/platform-python test.py
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: create: flags = 0, handle = 0x5642fa3ae2a0, program = platform-python
libguestfs: trace: set_program "test.py"
libguestfs: trace: set_program = 0
libguestfs: trace: add_drive_ro "7938c61b-46bb-4b6a-b9c8-008e2ae5e900.body"
libguestfs: trace: add_drive "7938c61b-46bb-4b6a-b9c8-008e2ae5e900.body" "readonly:true"
libguestfs: creating COW overlay to protect original drive content
libguestfs: trace: disk_format "7938c61b-46bb-4b6a-b9c8-008e2ae5e900.body"
libguestfs: command: run: qemu-img --help | grep -sqE -- '\binfo\b.*-U\b'
libguestfs: command: run: qemu-img
libguestfs: command: run: \ info
libguestfs: command: run: \ -U
libguestfs: command: run: \ --output json
libguestfs: command: run: \ ./7938c61b-46bb-4b6a-b9c8-008e2ae5e900.body
libguestfs: parse_json: qemu-img info JSON output:\n{\n "virtual-size": 10737418240,\n "filename": "./7938c61b-46bb-4b6a-b9c8-008e2ae5e900.body",\n "format": "raw",\n "actual-size": 10737422336,\n "dirty-flag": false\n}\n\n
libguestfs: trace: disk_format = "raw"
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
libguestfs: trace: disk_create "/tmp/libguestfsBMHfPV/overlay1.qcow2" "qcow2" -1 "backingfile:/root/7938c61b-46bb-4b6a-b9c8-008e2ae5e900.body" "backingformat:raw"
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment