qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 9cccb3: python/machine: Add debug logging to


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 9cccb3: python/machine: Add debug logging to key state cha...
Date: Thu, 05 Jan 2023 10:42:24 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 9cccb3305a26ee01fea7b3a179eca01c98083e3a
      
https://github.com/qemu/qemu/commit/9cccb3305a26ee01fea7b3a179eca01c98083e3a
  Author: John Snow <jsnow@redhat.com>
  Date:   2023-01-04 (Wed, 04 Jan 2023)

  Changed paths:
    M python/qemu/machine/machine.py

  Log Message:
  -----------
  python/machine: Add debug logging to key state changes

When key decisions are made about the lifetime of the VM process being
managed, there's no log entry. Juxtaposed with the very verbose runstate
change logging of the QMP module, machine seems a bit too introverted
now.

Season the machine.py module with logging statements to taste to help
make a tastier soup.

Signed-off-by: John Snow <jsnow@redhat.com>


  Commit: 3c6e5e8ce13dc3bf286ff977a7806f2b342dfdab
      
https://github.com/qemu/qemu/commit/3c6e5e8ce13dc3bf286ff977a7806f2b342dfdab
  Author: John Snow <jsnow@redhat.com>
  Date:   2023-01-04 (Wed, 04 Jan 2023)

  Changed paths:
    M python/qemu/machine/machine.py

  Log Message:
  -----------
  python/machine: Handle termination cases without QMP

If we request a shutdown of a VM without a QMP console, we'll just hang
waiting. Not ideal.

Add in code that attempts graceful termination in these cases.  Tested
lightly; it appears to work and I doubt we rely on this case anywhere,
but it's a corner you're allowed to wedge yourself in, so it should be
handled.

Signed-off-by: John Snow <jsnow@redhat.com>


  Commit: 745d58f77d5f951a220a595c73ae30154ed0d50a
      
https://github.com/qemu/qemu/commit/745d58f77d5f951a220a595c73ae30154ed0d50a
  Author: John Snow <jsnow@redhat.com>
  Date:   2023-01-04 (Wed, 04 Jan 2023)

  Changed paths:
    M python/setup.cfg

  Log Message:
  -----------
  Python: fix flake8 config

Newer flake8 versions are a bit pickier about the config file, and my
in-line comment confuses the parser. Fix it.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
Message-id: 20221203005234.620788-2-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>


  Commit: 5bcf18b0ac2e95ed4490dd63976b9f7831272819
      
https://github.com/qemu/qemu/commit/5bcf18b0ac2e95ed4490dd63976b9f7831272819
  Author: John Snow <jsnow@redhat.com>
  Date:   2023-01-04 (Wed, 04 Jan 2023)

  Changed paths:
    M tests/qemu-iotests/check

  Log Message:
  -----------
  iotests/check: Fix typing for sys.exit() value

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
Message-id: 20221203005234.620788-3-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>


  Commit: 519f3cfce07a067971ff39d4a989b77e7100a947
      
https://github.com/qemu/qemu/commit/519f3cfce07a067971ff39d4a989b77e7100a947
  Author: John Snow <jsnow@redhat.com>
  Date:   2023-01-04 (Wed, 04 Jan 2023)

  Changed paths:
    M python/setup.cfg

  Log Message:
  -----------
  python: add 3.11 to supported list

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
Message-id: 20221203005234.620788-4-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>


  Commit: d1852caab131ea898134fdcea8c14bc2ee75fbe9
      
https://github.com/qemu/qemu/commit/d1852caab131ea898134fdcea8c14bc2ee75fbe9
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2023-01-05 (Thu, 05 Jan 2023)

  Changed paths:
    M python/qemu/machine/machine.py
    M python/setup.cfg
    M tests/qemu-iotests/check

  Log Message:
  -----------
  Merge tag 'python-pull-request' of https://gitlab.com/jsnow/qemu into staging

Python patch roundup

Mostly CI fixes and some small debugging improvements.

# gpg: Signature made Wed 04 Jan 2023 21:04:26 GMT
# gpg:                using RSA key F9B7ABDBBCACDF95BE76CBD07DEF8106AAFC390E
# gpg: Good signature from "John Snow (John Huston) <jsnow@redhat.com>" [full]
# Primary key fingerprint: FAEB 9711 A12C F475 812F  18F2 88A9 064D 1835 61EB
#      Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76  CBD0 7DEF 8106 AAFC 390E

* tag 'python-pull-request' of https://gitlab.com/jsnow/qemu:
  python: add 3.11 to supported list
  iotests/check: Fix typing for sys.exit() value
  Python: fix flake8 config
  python/machine: Handle termination cases without QMP
  python/machine: Add debug logging to key state changes

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/f8af61fa1444...d1852caab131



reply via email to

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