qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 10e163: python/qemu: qmp: Replace socket.erro


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 10e163: python/qemu: qmp: Replace socket.error with OSError
Date: Mon, 10 Feb 2020 08:15:17 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 10e163c0395f5c9460ec2f2fe7947a1d056cda30
      
https://github.com/qemu/qemu/commit/10e163c0395f5c9460ec2f2fe7947a1d056cda30
  Author: Wainer dos Santos Moschetta <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M python/qemu/qmp.py

  Log Message:
  -----------
  python/qemu: qmp: Replace socket.error with OSError

The socket.error is deprecated from Python 3.3, instead it is
made a link to OSError. This change replaces the occurences
of socket.error with OSError.

Signed-off-by: Wainer dos Santos Moschetta <address@hidden>
Reviewed-by: John Snow <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: a0a261e47252f2b7b44cbb0999cdafeb6b01bdbb
      
https://github.com/qemu/qemu/commit/a0a261e47252f2b7b44cbb0999cdafeb6b01bdbb
  Author: Wainer dos Santos Moschetta <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M python/qemu/qmp.py

  Log Message:
  -----------
  python/qemu: Delint the qmp module

This clean up the pylint-3 report on qmp:

************* Module qemu.qmp
python/qemu/qmp.py:1:0: C0111: Missing module docstring (missing-docstring)
python/qemu/qmp.py:17:0: C0111: Missing class docstring (missing-docstring)
python/qemu/qmp.py:21:0: C0111: Missing class docstring (missing-docstring)
python/qemu/qmp.py:25:0: C0111: Missing class docstring (missing-docstring)
python/qemu/qmp.py:29:0: C0111: Missing class docstring (missing-docstring)
python/qemu/qmp.py:33:0: C0111: Missing class docstring (missing-docstring)
python/qemu/qmp.py:33:0: R0205: Class 'QEMUMonitorProtocol' inherits from 
object, can be safely removed from bases in python3 (useless-object-inheritance)
python/qemu/qmp.py:80:4: R1710: Either all return statements in a function 
should return an expression, or none of them should. 
(inconsistent-return-statements)
python/qemu/qmp.py:131:4: R1710: Either all return statements in a function 
should return an expression, or none of them should. 
(inconsistent-return-statements)
python/qemu/qmp.py:159:4: R1710: Either all return statements in a function 
should return an expression, or none of them should. 
(inconsistent-return-statements)
python/qemu/qmp.py:245:4: C0111: Missing method docstring (missing-docstring)
python/qemu/qmp.py:249:4: C0111: Missing method docstring (missing-docstring)
python/qemu/qmp.py:252:4: C0111: Missing method docstring (missing-docstring)
python/qemu/qmp.py:255:4: C0111: Missing method docstring (missing-docstring)

Signed-off-by: Wainer dos Santos Moschetta <address@hidden>
Reviewed-by: John Snow <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 54aafc2fc65231871e744308705c4aa6d283a22d
      
https://github.com/qemu/qemu/commit/54aafc2fc65231871e744308705c4aa6d283a22d
  Author: Wainer dos Santos Moschetta <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M python/qemu/qmp.py

  Log Message:
  -----------
  python/qemu: qmp: Make accept()'s timeout configurable

Currently the timeout of QEMUMonitorProtocol.accept() is
hard-coded to 15.0 seconds. This added the parameter `timeout`
so the value can be configured by the user.

Signed-off-by: Wainer dos Santos Moschetta <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: John Snow <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 07608e807d4e7bd2daa7fe154bd9dc2235c1a323
      
https://github.com/qemu/qemu/commit/07608e807d4e7bd2daa7fe154bd9dc2235c1a323
  Author: Wainer dos Santos Moschetta <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M python/qemu/qmp.py

  Log Message:
  -----------
  python/qemu: qmp: Make QEMUMonitorProtocol a context manager

This implement the __enter__ and __exit__ functions on
QEMUMonitorProtocol class so that it can be used on 'with'
statement and the resources will be free up on block end:

with QEMUMonitorProtocol(socket_path) as qmp:
    qmp.connect()
    qmp.command('query-status')

Signed-off-by: Wainer dos Santos Moschetta <address@hidden>
Reviewed-by: John Snow <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 50d189c97ab8ed3de80d0ed22a867e1d5361fd02
      
https://github.com/qemu/qemu/commit/50d189c97ab8ed3de80d0ed22a867e1d5361fd02
  Author: Wainer dos Santos Moschetta <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M python/qemu/qmp.py

  Log Message:
  -----------
  python/qemu: qmp: Remove unnused attributes

The `error` and `timeout` attributes in QEMUMonitorProtocol are
not used, so this delete them.

Signed-off-by: Wainer dos Santos Moschetta <address@hidden>
Reviewed-by: John Snow <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 51aa9d127d4ecaaaf6dfa10da130e3974b0e5286
      
https://github.com/qemu/qemu/commit/51aa9d127d4ecaaaf6dfa10da130e3974b0e5286
  Author: Wainer dos Santos Moschetta <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M python/qemu/accel.py

  Log Message:
  -----------
  python/qemu: accel: Fix kvm_available() on ppc64le

On ppc64le, the accel.kvm_available() check may wrongly
return False because the host arch (as returned by os.uname[4])
and the target arch (ppc64) mismatch. In order to solve this
it is added an ppc64le -> ppc64 mapping which is used as an
fallback verification.

Fixes: 53a049d7d78e5ccf6d4c0d7
Signed-off-by: Wainer dos Santos Moschetta <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: a1e8bd2f5c2a7b42b243c9422f3a86e530665e9f
      
https://github.com/qemu/qemu/commit/a1e8bd2f5c2a7b42b243c9422f3a86e530665e9f
  Author: Thomas Huth <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M qemu-deprecated.texi

  Log Message:
  -----------
  qemu-deprecated: Remove text about Python 2

Python 2 support has been removed, so we should now also remove
the announcement text for the deprecation.

Signed-off-by: Thomas Huth <address@hidden>
Reviewed by: Aleksandar Markovic <address@hidden>
Reviewed-by: John Snow <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 52c68b8abb614a744fd1d2099bbb3768a6aad8ee
      
https://github.com/qemu/qemu/commit/52c68b8abb614a744fd1d2099bbb3768a6aad8ee
  Author: Lukáš Doktor <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M python/qemu/qmp.py

  Log Message:
  -----------
  python: Treat None-return of greeting cmd

In case qemu process dies the "monitor.cmd" returns None which gets
passed to the "__negotiate_capabilities" and leads to unhandled
exception. Let's only check the resp in case it has a value.

Signed-off-by: Lukáš Doktor <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Wainer dos Santos Moschetta <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 746f244d9720233f42a5a5745e28a4fac9fe8395
      
https://github.com/qemu/qemu/commit/746f244d9720233f42a5a5745e28a4fac9fe8395
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M python/qemu/machine.py

  Log Message:
  -----------
  python/qemu/machine: Allow to use other serial consoles than default

Currently the QEMU Python module limits the QEMUMachine class to
use the first serial console.

Some machines/guest might use another console than the first one as
the 'boot console'. For example the Raspberry Pi uses the second
(AUX) console.

To be able to use the Nth console as default, we simply need to
connect all the N - 1 consoles to the null chardev.

Add an index argument, so we can use a specific serial console as
default.

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Liam Merwick <address@hidden>
Tested-by: Liam Merwick <address@hidden>
Reviewed-by: Wainer dos Santos Moschetta <address@hidden>
Message-Id: <address@hidden>
[PMD: zero-initialize _console_index in __init__()]
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: a91ba1d3ef321bd7e1d7fd0a90e3f74dad4f5826
      
https://github.com/qemu/qemu/commit/a91ba1d3ef321bd7e1d7fd0a90e3f74dad4f5826
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/avocado_qemu/__init__.py

  Log Message:
  -----------
  Acceptance tests: Extract _console_interaction()

Since we are going to re-use the code shared between
wait_for_console_pattern() and exec_command_and_wait_for_pattern(),
extract the common part into a local function.

Tested-by: Niek Linnenbank <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Liam Merwick <address@hidden>
Tested-by: Liam Merwick <address@hidden>
Reviewed-by: Wainer dos Santos Moschetta <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 647eb26a6c356e8fc1b5e36d0db047c25c1eafd0
      
https://github.com/qemu/qemu/commit/647eb26a6c356e8fc1b5e36d0db047c25c1eafd0
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/avocado_qemu/__init__.py

  Log Message:
  -----------
  Acceptance tests: Add interrupt_interactive_console_until_pattern()

We need a function to interrupt interactive consoles.

Example: Interrupt U-Boot to set different environment values.

Tested-by: Niek Linnenbank <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Liam Merwick <address@hidden>
Tested-by: Liam Merwick <address@hidden>
Reviewed-by: Wainer dos Santos Moschetta <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 8a837088928401f2daf7b41a5230361f183c1794
      
https://github.com/qemu/qemu/commit/8a837088928401f2daf7b41a5230361f183c1794
  Author: Liam Merwick <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis.yml: install rpm2cpio for acceptance tests

The extract_from_rpm() method added for the PVH acceptance tests needs
rpm2cpio to extract a vmlinux binary from an RPM.

Signed-off-by: Liam Merwick <address@hidden>
Reviewed-by: Stefano Garzarella <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 76a901d295fcb1984ba0ddc9cc334d922e35f7c7
      
https://github.com/qemu/qemu/commit/76a901d295fcb1984ba0ddc9cc334d922e35f7c7
  Author: Liam Merwick <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/boot_linux_console.py

  Log Message:
  -----------
  tests/boot_linux_console: add extract_from_rpm method

Add a method to extract a specified file from an RPM to the test's
working directory and return the path to the extracted file.

Signed-off-by: Liam Merwick <address@hidden>
Reviewed-by: Stefano Garzarella <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
[PMD: Rebased]
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 921a9f6db831fb299dcd5336b1861659b02c3964
      
https://github.com/qemu/qemu/commit/921a9f6db831fb299dcd5336b1861659b02c3964
  Author: Liam Merwick <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/boot_linux_console.py

  Log Message:
  -----------
  tests/boot_linux_console: use os.path for filesystem paths

Change extract_from_deb() to use os.path routines to manipulate the
filesystem path returned when extracting a file.

Suggested-by: Wainer dos Santos Moschetta <address@hidden>
Signed-off-by: Liam Merwick <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 45260388727542264d2e09a9013a4e09c45dbe02
      
https://github.com/qemu/qemu/commit/45260388727542264d2e09a9013a4e09c45dbe02
  Author: Liam Merwick <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/boot_linux_console.py

  Log Message:
  -----------
  tests/boot_linux_console: fix extract_from_deb() comment

The second param in extract_from_deb() is 'path' not 'file'

Signed-off-by: Liam Merwick <address@hidden>
Reviewed-by: Stefano Garzarella <address@hidden>
Reviewed-by: Wainer dos Santos Moschetta <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: b6f0a43463a142f0052ddf08811e5845ce88cf24
      
https://github.com/qemu/qemu/commit/b6f0a43463a142f0052ddf08811e5845ce88cf24
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/boot_linux_console.py

  Log Message:
  -----------
  tests/boot_linux_console: Tag Emcraft Smartfusion2 as running 'u-boot'

Avocado tags are handy to automatically select tests matching
the tags. Since this test also runs U-Boot, tag it.

We can run all the tests using U-Boot as once with:

  $ avocado --show=app run -t u-boot tests/acceptance/
  JOB LOG    : avocado/job-results/job-2020-01-21T00.16-ee9344e/job.log
   (1/3) 
tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_arm_emcraft_sf2: 
PASS (16.59 s)
   (2/3) 
tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_arm_raspi2_uboot: 
PASS (0.47 s)
   (3/3) 
tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_aarch64_raspi3_uboot:
 PASS (2.43 s)
  RESULTS    : PASS 3 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | 
CANCEL 0
  JOB TIME   : 19.78 s

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Wainer dos Santos Moschetta <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: b0065e1f197bfd104343911e352c89d8b7eba7b5
      
https://github.com/qemu/qemu/commit/b0065e1f197bfd104343911e352c89d8b7eba7b5
  Author: Thomas Huth <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M .travis.yml
    M tests/acceptance/boot_linux_console.py

  Log Message:
  -----------
  tests/acceptance: Add boot tests for some of the QEMU advent calendar images

The 2018 edition of the QEMU advent calendar 2018 featured Linux images
for various non-x86 machines. We can use them for a boot tests in our
acceptance test suite.

Let's also make sure that we build the corresponding machines in Travis.

Signed-off-by: Thomas Huth <address@hidden>
Reviewed-by: Liam Merwick <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Wainer dos Santos Moschetta <address@hidden>
Message-Id: <address@hidden>
[PMD: Rebased, --python=python3 parameter dropped in commit 5311cb12e]
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 47d4c6e696699337a7ec062f4f54f6c187a94034
      
https://github.com/qemu/qemu/commit/47d4c6e696699337a7ec062f4f54f6c187a94034
  Author: Denis Plotnikov <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    A tests/acceptance/virtio_check_params.py
    R tests/acceptance/virtio_seg_max_adjust.py

  Log Message:
  -----------
  tests: rename virtio_seg_max_adjust to virtio_check_params

Since, virtio_seg_max_adjust checks not only seg_max, but also
virtqueue_size parameter, let's make the test more general and
add new parameters to be checked there in the future.

Signed-off-by: Denis Plotnikov <address@hidden>
Message-Id: <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 0400937be151f6fe7f4fc0e3f0bbad43f623ef89
      
https://github.com/qemu/qemu/commit/0400937be151f6fe7f4fc0e3f0bbad43f623ef89
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/virtio_check_params.py

  Log Message:
  -----------
  tests/acceptance/virtio_check_params: Improve exception logging

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


  Commit: e435f66bd33bd2e4847e6882918e1a016d757eab
      
https://github.com/qemu/qemu/commit/e435f66bd33bd2e4847e6882918e1a016d757eab
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/virtio_check_params.py

  Log Message:
  -----------
  tests/acceptance/virtio_check_params: List machine being tested

Add logging for easier debugging of failures:

  $ avocado --show=machine run tests/acceptance/virtio_check_params.py
   (1/1) 
tests/acceptance/virtio_check_params.py:VirtioMaxSegSettingsCheck.test_machine_types:
  machine: {'name': 'pc-i440fx-2.12', 'seg_max_adjust': 'false', 'device': 
'virtio-scsi-pci'}
  machine: {'name': 'pc-i440fx-2.0', 'seg_max_adjust': 'false', 'device': 
'virtio-scsi-pci'}
  machine: {'name': 'pc-q35-4.2', 'seg_max_adjust': 'false', 'device': 
'virtio-scsi-pci'}
  machine: {'name': 'pc-i440fx-2.5', 'seg_max_adjust': 'false', 'device': 
'virtio-scsi-pci'}
  machine: {'name': 'pc-i440fx-4.2', 'seg_max_adjust': 'false', 'device': 
'virtio-scsi-pci'}
  ...

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


  Commit: 77f50e826faeb5e7c511e9d99adfbd086ffbff4d
      
https://github.com/qemu/qemu/commit/77f50e826faeb5e7c511e9d99adfbd086ffbff4d
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/virtio_check_params.py

  Log Message:
  -----------
  tests/acceptance/virtio_check_params: Default to -nodefaults

We don't need the default options to run this test.

This fixes errors when running a binary built with
--without-default-devices such:

  ERROR: qemu-system-s390x: Unknown device 'virtio-net-ccw' for bus 
'virtual-css-bus'

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


  Commit: 2d6a6e238a2297d92a81eb3425fc8228614ada9f
      
https://github.com/qemu/qemu/commit/2d6a6e238a2297d92a81eb3425fc8228614ada9f
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/virtio_check_params.py

  Log Message:
  -----------
  tests/acceptance/virtio_check_params: Disable the test

This test fails on various CI:

- Using QEMU 4.0:
  
tests/acceptance/x86_cpu_model_versions.py:X86CPUModelAliases.test_none_alias:  
ERROR: 'alias-of' (0.45 s)

- On OSX
  Unexpected error in object_property_find() at qom/object.c:1201:
  qemu-system-x86_64: -device virtio-blk-pci,id=scsi0,drive=drive0: can't apply 
global virtio-blk-device.scsi=true: Property '.scsi' not found

- When removing unavailable machine:
  VirtioMaxSegSettingsCheck.test_machine_types: ERROR: list.remove(x): x not in 
list (0.12 s)

- Using Xen:
  xencall: error: Could not obtain handle on privileged command interface: No 
such file or directory
  xen be core: xen be core: can't open xen interface

- On PPC:
  TestFail: machine type pseries-2.8: No Transactional Memory support in TCG, 
try appending -machine cap-htm=off

- On S390X configured with --without-default-devices:
  ERROR: qemu-system-s390x: -device virtio-scsi-pci,id=scsi0: 'virtio-scsi-pci' 
is not a valid device model name

Disable it for now.

Cc: Denis Plotnikov <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 1d77f1b14f9923dd511f07438ed2f778e3868f40
      
https://github.com/qemu/qemu/commit/1d77f1b14f9923dd511f07438ed2f778e3868f40
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/boot_linux_console.py

  Log Message:
  -----------
  tests/acceptance/boot_linux_console: Do not use VGA on Clipper machine

As we only read the serial console, we don't need to force a
VGA display. This fixes when running a binary built with
--without-default-devices:

  ERROR: qemu-system-alpha: standard VGA not available

We also need the '-nodefaults' argument to avoid:

  ERROR: qemu-system-alpha: Unsupported NIC model: e1000

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


  Commit: b79e55f09b0b7c23517a3224b0e6953849e1b889
      
https://github.com/qemu/qemu/commit/b79e55f09b0b7c23517a3224b0e6953849e1b889
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/version.py

  Log Message:
  -----------
  tests/acceptance/version: Default to -nodefaults

We don't need the default options to run this test.

This fixes errors when running a binary built with
--without-default-devices such:

  ERROR: qemu-system-arm: Unsupported NIC model: virtio-net-pci

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Wainer dos Santos Moschetta <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: d7c9a83344d955300262bba3d7c455a8cfd6f6e0
      
https://github.com/qemu/qemu/commit/d7c9a83344d955300262bba3d7c455a8cfd6f6e0
  Author: Oksana Vohchana <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/migration.py

  Log Message:
  -----------
  tests/acceptance/migration: Factor out assert_migration()

We are going to reuse this code when testing different transport
methods, so factor it out first

Signed-off-by: Oksana Vohchana <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
[PMD: Split patch in 2, reworded subject and description]
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 63adf16d4fc422405dd116829368c2480cbc67b5
      
https://github.com/qemu/qemu/commit/63adf16d4fc422405dd116829368c2480cbc67b5
  Author: Oksana Vohchana <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/migration.py

  Log Message:
  -----------
  tests/acceptance/migration: Factor out do_migrate()

We are going to reuse this code when testing different transport
methods, so factor it out first.

Signed-off-by: Oksana Vohchana <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
[PMD: Split patch in 2, reworded subject and description]
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: b2cf8d470476348b21e8e51fc8d53c3435da244a
      
https://github.com/qemu/qemu/commit/b2cf8d470476348b21e8e51fc8d53c3435da244a
  Author: Oksana Vohchana <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/migration.py

  Log Message:
  -----------
  tests/acceptance/migration: Test UNIX transport when migrating

Along with VM migration via TCP, we can use migration through
the UNIX transport protocol

Signed-off-by: Oksana Vohchana <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
[PMD: Split patch in 2, reworded subject and description]
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 2e768cb682bfe34cf535def50bba90281ea35c88
      
https://github.com/qemu/qemu/commit/2e768cb682bfe34cf535def50bba90281ea35c88
  Author: Oksana Vohchana <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/migration.py

  Log Message:
  -----------
  tests/acceptance/migration: Test EXEC transport when migrating

Along with VM migration via TCP, we can use migration through
the EXEC transport protocol

Signed-off-by: Oksana Vohchana <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
[PMD: Split patch in 2, reworded subject and description]
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: a09186494321f7307b14ac1d80aea515ea88bbe3
      
https://github.com/qemu/qemu/commit/a09186494321f7307b14ac1d80aea515ea88bbe3
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/migration.py

  Log Message:
  -----------
  tests/acceptance/migration: Add the 'migration' tag

By using an Avocado tag, we can run all tests described by that
tag as once:

  $ avocado --show=app run -t migration tests/acceptance/
  JOB ID     : 165477737509503fcfa6d7108057a0a18f2a6559
  JOB LOG    : avocado/job-results/job-2020-02-04T17.29-1654777/job.log
   (1/3) 
tests/acceptance/migration.py:Migration.test_migration_with_tcp_localhost: PASS 
(0.38 s)
   (2/3) tests/acceptance/migration.py:Migration.test_migration_with_unix: PASS 
(0.33 s)
   (3/3) tests/acceptance/migration.py:Migration.test_migration_with_exec: PASS 
(0.07 s)
  RESULTS    : PASS 3 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | 
CANCEL 0

Reviewed-by: Wainer dos Santos Moschetta <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 5427ecd4aba2858e3ba2a433ccf1c81d66d0218f
      
https://github.com/qemu/qemu/commit/5427ecd4aba2858e3ba2a433ccf1c81d66d0218f
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/migration.py

  Log Message:
  -----------
  tests/acceptance/migration: Default to -nodefaults

We don't need the default options to run this test.

This fixes errors when running a binary built with
--without-default-devices such:

  ERROR: qemu-system-arm: Unsupported NIC model: virtio-net-pci

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Wainer dos Santos Moschetta <address@hidden>
Message-Id: <address@hidden>
[PMD: Rebased]
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: bc7f3b0b0d33fb58272a98c862dc9a1fa913fcd3
      
https://github.com/qemu/qemu/commit/bc7f3b0b0d33fb58272a98c862dc9a1fa913fcd3
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M scripts/checkpatch.pl

  Log Message:
  -----------
  scripts/checkpatch.pl: Only allow Python 3 interpreter

Since commit ddf9069963 QEMU requires Python >= 3.5.

PEP 0394 [*] states that 'python3' should be available and
that 'python' is optional.

To avoid problem with unsupported versions, enforce the
shebang interpreter to Python 3.

[*] https://www.python.org/dev/peps/pep-0394/

Reported-by: John Snow <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 15b015690b62c7c463fa6f5cdb2bc669749eefc3
      
https://github.com/qemu/qemu/commit/15b015690b62c7c463fa6f5cdb2bc669749eefc3
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/qemu-iotests/check

  Log Message:
  -----------
  tests/qemu-iotests/check: Allow use of python3 interpreter

As we want to enforce a unique and explicit Python 3 interpreter,
we need let this script handle 'python3' too.

Suggested-by: Kevin Wolf <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 903cb1bf398666014180d00711e2c1a9ffdadd5a
      
https://github.com/qemu/qemu/commit/903cb1bf398666014180d00711e2c1a9ffdadd5a
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/qemu-iotests/030
    M tests/qemu-iotests/040
    M tests/qemu-iotests/041
    M tests/qemu-iotests/044
    M tests/qemu-iotests/045
    M tests/qemu-iotests/055
    M tests/qemu-iotests/056
    M tests/qemu-iotests/057
    M tests/qemu-iotests/065
    M tests/qemu-iotests/093
    M tests/qemu-iotests/096
    M tests/qemu-iotests/118
    M tests/qemu-iotests/124
    M tests/qemu-iotests/129
    M tests/qemu-iotests/132
    M tests/qemu-iotests/136
    M tests/qemu-iotests/139
    M tests/qemu-iotests/147
    M tests/qemu-iotests/148
    M tests/qemu-iotests/151
    M tests/qemu-iotests/152
    M tests/qemu-iotests/155
    M tests/qemu-iotests/163
    M tests/qemu-iotests/165
    M tests/qemu-iotests/169
    M tests/qemu-iotests/196
    M tests/qemu-iotests/199
    M tests/qemu-iotests/205
    M tests/qemu-iotests/245
    M tests/qemu-iotests/257
    M tests/qemu-iotests/258
    M tests/qemu-iotests/281
    M tests/qemu-iotests/nbd-fault-injector.py
    M tests/qemu-iotests/qcow2.py
    M tests/qemu-iotests/qed.py

  Log Message:
  -----------
  tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__)

Use the program search path to find the Python 3 interpreter.

Patch created mechanically by running:

  $ sed -i "s,^#\!/usr/bin/\(env\ \)\?python$,#\!/usr/bin/env python3," \
       $(git grep -l 'if __name__.*__main__')

Reported-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Suggested-by: Daniel P. Berrangé <address@hidden>
Suggested-by: Stefan Hajnoczi <address@hidden>
Acked-by: Stefan Hajnoczi <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: c88ee46cdb9888fbe9ea45c174743d6f7544b737
      
https://github.com/qemu/qemu/commit/c88ee46cdb9888fbe9ea45c174743d6f7544b737
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/docker/travis.py
    M tests/qapi-schema/test-qapi.py
    M tests/vm/centos
    M tests/vm/fedora
    M tests/vm/freebsd
    M tests/vm/netbsd
    M tests/vm/openbsd
    M tests/vm/ubuntu.i386

  Log Message:
  -----------
  tests: Explicit usage of Python 3

Use the program search path to find the Python 3 interpreter.

Patch created mechanically by running:

  $ sed -i "s,^#\!/usr/bin/\(env\ \)\?python$,#\!/usr/bin/env python3," \
       $(git grep -l 'if __name__.*__main__')

Reported-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Suggested-by: Daniel P. Berrangé <address@hidden>
Suggested-by: Stefan Hajnoczi <address@hidden>
Acked-by: Stefan Hajnoczi <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 3d004a371e88a7454eb8ab8c19e6b0bd067b34cd
      
https://github.com/qemu/qemu/commit/3d004a371e88a7454eb8ab8c19e6b0bd067b34cd
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M scripts/analyse-locks-simpletrace.py
    M scripts/decodetree.py
    M scripts/device-crash-test
    M scripts/kvm/kvm_flightrecorder
    M scripts/qapi-gen.py
    M scripts/qmp/qemu-ga-client
    M scripts/qmp/qmp
    M scripts/qmp/qmp-shell
    M scripts/qmp/qom-fuse
    M scripts/render_block_graph.py
    M scripts/replay-dump.py
    M scripts/simpletrace.py
    M scripts/tracetool.py
    M scripts/vmstate-static-checker.py

  Log Message:
  -----------
  scripts: Explicit usage of Python 3 (scripts with __main__)

Use the program search path to find the Python 3 interpreter.

Patch created mechanically by running:

  $ sed -i "s,^#\!/usr/bin/\(env\ \)\?python$,#\!/usr/bin/env python3," \
       $(git grep -l 'if __name__.*__main__')

Reported-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Suggested-by: Daniel P. Berrangé <address@hidden>
Suggested-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Acked-by: Stefan Hajnoczi <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: b92e7dae2b2626c0afc8ac980660b2ffc3e35bf0
      
https://github.com/qemu/qemu/commit/b92e7dae2b2626c0afc8ac980660b2ffc3e35bf0
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M scripts/minikconf.py

  Log Message:
  -----------
  scripts/minikconf: Explicit usage of Python 3

Use the program search path to find the Python 3 interpreter.

Patch created manually after running:

  $ git grep -l 'if __name__.*__main__' \
      | xargs grep -LF '#!/usr/bin/env python3'

Reported-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Suggested-by: Daniel P. Berrangé <address@hidden>
Suggested-by: Stefan Hajnoczi <address@hidden>
Acked-by: Stefan Hajnoczi <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 91aef87a2b8afb333934b02ce2d0d64a3fe11874
      
https://github.com/qemu/qemu/commit/91aef87a2b8afb333934b02ce2d0d64a3fe11874
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M scripts/tracetool/__init__.py
    M scripts/tracetool/backend/__init__.py
    M scripts/tracetool/backend/dtrace.py
    M scripts/tracetool/backend/ftrace.py
    M scripts/tracetool/backend/log.py
    M scripts/tracetool/backend/simple.py
    M scripts/tracetool/backend/syslog.py
    M scripts/tracetool/backend/ust.py
    M scripts/tracetool/format/__init__.py
    M scripts/tracetool/format/c.py
    M scripts/tracetool/format/d.py
    M scripts/tracetool/format/h.py
    M scripts/tracetool/format/log_stap.py
    M scripts/tracetool/format/simpletrace_stap.py
    M scripts/tracetool/format/stap.py
    M scripts/tracetool/format/tcg_h.py
    M scripts/tracetool/format/tcg_helper_c.py
    M scripts/tracetool/format/tcg_helper_h.py
    M scripts/tracetool/format/tcg_helper_wrapper_h.py
    M scripts/tracetool/format/ust_events_c.py
    M scripts/tracetool/format/ust_events_h.py
    M scripts/tracetool/transform.py
    M scripts/tracetool/vcpu.py

  Log Message:
  -----------
  scripts/tracetool: Remove shebang header

Patch created mechanically by running:

  $ chmod 644 $(git grep -lF '#!/usr/bin/env python' \
      | xargs grep -L 'if __name__.*__main__')
  $ sed -i "/^#\!\/usr\/bin\/\(env\ \)\?python.\?$/d" \
      $(git grep -lF '#!/usr/bin/env python' \
      | xargs grep -L 'if __name__.*__main__')

Reported-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Suggested-by: Stefan Hajnoczi <address@hidden>
Acked-by: Stefan Hajnoczi <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 273954e78284aa394b9920a4cf5a19f036616154
      
https://github.com/qemu/qemu/commit/273954e78284aa394b9920a4cf5a19f036616154
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/acceptance/virtio_check_params.py
    M tests/acceptance/x86_cpu_model_versions.py

  Log Message:
  -----------
  tests/acceptance: Remove shebang header

Patch created mechanically by running:

  $ chmod 644 $(git grep -lF '#!/usr/bin/env python' \
      | xargs grep -L 'if __name__.*__main__')
  $ sed -i "/^#\!\/usr\/bin\/\(env\ \)\?python.\?$/d" \
      $(git grep -lF '#!/usr/bin/env python' \
      | xargs grep -L 'if __name__.*__main__')

Reported-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Suggested-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Wainer dos Santos Moschetta <address@hidden>
Acked-by: Stefan Hajnoczi <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 629d5edfaa92a145a3f7df34bd30612f0ada9ef5
      
https://github.com/qemu/qemu/commit/629d5edfaa92a145a3f7df34bd30612f0ada9ef5
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/vm/basevm.py

  Log Message:
  -----------
  tests/vm: Remove shebang header

Patch created mechanically by running:

  $ chmod 644 $(git grep -lF '#!/usr/bin/env python' \
      | xargs grep -L 'if __name__.*__main__')
  $ sed -i "/^#\!\/usr\/bin\/\(env\ \)\?python.\?$/d" \
      $(git grep -lF '#!/usr/bin/env python' \
      | xargs grep -L 'if __name__.*__main__')

Reported-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Suggested-by: Stefan Hajnoczi <address@hidden>
Acked-by: Stefan Hajnoczi <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 7c4775260807f1428484a5cebc7bc360c46a872d
      
https://github.com/qemu/qemu/commit/7c4775260807f1428484a5cebc7bc360c46a872d
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/qemu-iotests/149
    M tests/qemu-iotests/194
    M tests/qemu-iotests/202
    M tests/qemu-iotests/203
    M tests/qemu-iotests/206
    M tests/qemu-iotests/207
    M tests/qemu-iotests/208
    M tests/qemu-iotests/209
    M tests/qemu-iotests/210
    M tests/qemu-iotests/211
    M tests/qemu-iotests/212
    M tests/qemu-iotests/213
    M tests/qemu-iotests/216
    M tests/qemu-iotests/218
    M tests/qemu-iotests/219
    M tests/qemu-iotests/222
    M tests/qemu-iotests/224
    M tests/qemu-iotests/228
    M tests/qemu-iotests/234
    M tests/qemu-iotests/235
    M tests/qemu-iotests/236
    M tests/qemu-iotests/237
    M tests/qemu-iotests/238
    M tests/qemu-iotests/242
    M tests/qemu-iotests/246
    M tests/qemu-iotests/248
    M tests/qemu-iotests/254
    M tests/qemu-iotests/255
    M tests/qemu-iotests/256
    M tests/qemu-iotests/260
    M tests/qemu-iotests/262
    M tests/qemu-iotests/264
    M tests/qemu-iotests/266
    M tests/qemu-iotests/277
    M tests/qemu-iotests/280
    M tests/qemu-iotests/283

  Log Message:
  -----------
  tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__)

Use the program search path to find the Python 3 interpreter.

Patch created mechanically by running:

  $ sed -i "s,^#\!/usr/bin/\(env\ \)\?python$,#\!/usr/bin/env python3," \
      $(git grep -lF '#!/usr/bin/env python' \
      | xargs grep -L 'if __name__.*__main__')

Reported-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Suggested-by: Daniel P. Berrangé <address@hidden>
Suggested-by: Stefan Hajnoczi <address@hidden>
Acked-by: Stefan Hajnoczi <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: d2cdbd54db6e5976d02d7a2c48cb49915d34086d
      
https://github.com/qemu/qemu/commit/d2cdbd54db6e5976d02d7a2c48cb49915d34086d
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M scripts/analyse-9p-simpletrace.py

  Log Message:
  -----------
  scripts: Explicit usage of Python 3 (scripts without __main__)

Use the program search path to find the Python 3 interpreter.

Patch created mechanically by running:

  $ sed -i "s,^#\!/usr/bin/\(env\ \)\?python$,#\!/usr/bin/env python3," \
      $(git grep -lF '#!/usr/bin/env python' \
      | xargs grep -L 'if __name__.*__main__')

Reported-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Suggested-by: Daniel P. Berrangé <address@hidden>
Suggested-by: Stefan Hajnoczi <address@hidden>
Acked-by: Stefan Hajnoczi <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 351aa2706e1d19e2ad878e5d9333ca9e9825d0cd
      
https://github.com/qemu/qemu/commit/351aa2706e1d19e2ad878e5d9333ca9e9825d0cd
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M tests/qemu-iotests/check

  Log Message:
  -----------
  tests/qemu-iotests/check: Only check for Python 3 interpreter

All the iotests Python scripts have been converted to search for
the Python 3 interpreter. Update the ./check script accordingly.

Acked-by: Stefan Hajnoczi <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: b38c2458d4ccbabbfdf1beb9df483b609a9513f8
      
https://github.com/qemu/qemu/commit/b38c2458d4ccbabbfdf1beb9df483b609a9513f8
  Author: Paolo Bonzini <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M scripts/signrom.py

  Log Message:
  -----------
  scripts/signrom: remove Python 2 support, add shebang

Cc: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 6dd360ce3fd599ec373fa1206e850ee106a8e710
      
https://github.com/qemu/qemu/commit/6dd360ce3fd599ec373fa1206e850ee106a8e710
  Author: Paolo Bonzini <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M scripts/minikconf.py
    M scripts/signrom.py
    M tests/qemu-iotests/222
    M tests/qemu-iotests/245

  Log Message:
  -----------
  make all Python scripts executable

Scripts that have a Python shebang are meant to be executed directly from the
shell; give them 755 permissions.

Cc: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 423edd9a31b3c78007bb5d9c9a9b3c0c618a10a8
      
https://github.com/qemu/qemu/commit/423edd9a31b3c78007bb5d9c9a9b3c0c618a10a8
  Author: Paolo Bonzini <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M scripts/analyse-9p-simpletrace.py
    M scripts/analyse-locks-simpletrace.py
    M scripts/device-crash-test
    M scripts/dump-guest-memory.py
    M scripts/kvm/kvm_flightrecorder
    M scripts/kvm/vmxcap
    M scripts/minikconf.py
    M scripts/modules/module_block.py
    M scripts/qapi-gen.py
    M scripts/qapi/doc.py
    M scripts/qmp/qemu-ga-client
    M scripts/qmp/qmp
    M scripts/qmp/qmp-shell
    M scripts/qmp/qom-get
    M scripts/qmp/qom-list
    M scripts/qmp/qom-set
    M scripts/qmp/qom-tree
    M scripts/replay-dump.py
    M scripts/signrom.py
    M scripts/simpletrace.py
    M scripts/vmstate-static-checker.py
    M tests/docker/travis.py
    M tests/guest-debug/test-gdbstub.py
    M tests/migration/guestperf/engine.py
    M tests/migration/guestperf/plot.py
    M tests/migration/guestperf/shell.py
    M tests/qapi-schema/test-qapi.py
    M tests/qemu-iotests/149
    M tests/qemu-iotests/165
    M tests/qemu-iotests/iotests.py
    M tests/qemu-iotests/nbd-fault-injector.py
    M tests/qemu-iotests/qcow2.py
    M tests/qemu-iotests/qed.py
    M tests/vm/basevm.py

  Log Message:
  -----------
  drop "from __future__ import print_function"

This is only needed for Python 2, which we do not support anymore.

Cc: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: Alex Bennée <address@hidden>
Acked-by: Markus Armbruster <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 66e7dde18cc4085ca47124be4ca08fa8e6bcdd3a
      
https://github.com/qemu/qemu/commit/66e7dde18cc4085ca47124be4ca08fa8e6bcdd3a
  Author: Alex Bennée <address@hidden>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    A .readthedocs.yml

  Log Message:
  -----------
  .readthedocs.yml: specify some minimum python requirements

QEMU is all about the Python 3 now so lets also hint that to
ReadTheDocs in its config file.

Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 73d336510cf118fcc2ee7e98e774a193cf661614
      
https://github.com/qemu/qemu/commit/73d336510cf118fcc2ee7e98e774a193cf661614
  Author: Peter Maydell <address@hidden>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

  Changed paths:
    A .readthedocs.yml
    M .travis.yml
    M python/qemu/accel.py
    M python/qemu/machine.py
    M python/qemu/qmp.py
    M qemu-deprecated.texi
    M scripts/analyse-9p-simpletrace.py
    M scripts/analyse-locks-simpletrace.py
    M scripts/checkpatch.pl
    M scripts/decodetree.py
    M scripts/device-crash-test
    M scripts/dump-guest-memory.py
    M scripts/kvm/kvm_flightrecorder
    M scripts/kvm/vmxcap
    M scripts/minikconf.py
    M scripts/modules/module_block.py
    M scripts/qapi-gen.py
    M scripts/qapi/doc.py
    M scripts/qmp/qemu-ga-client
    M scripts/qmp/qmp
    M scripts/qmp/qmp-shell
    M scripts/qmp/qom-fuse
    M scripts/qmp/qom-get
    M scripts/qmp/qom-list
    M scripts/qmp/qom-set
    M scripts/qmp/qom-tree
    M scripts/render_block_graph.py
    M scripts/replay-dump.py
    M scripts/signrom.py
    M scripts/simpletrace.py
    M scripts/tracetool.py
    M scripts/tracetool/__init__.py
    M scripts/tracetool/backend/__init__.py
    M scripts/tracetool/backend/dtrace.py
    M scripts/tracetool/backend/ftrace.py
    M scripts/tracetool/backend/log.py
    M scripts/tracetool/backend/simple.py
    M scripts/tracetool/backend/syslog.py
    M scripts/tracetool/backend/ust.py
    M scripts/tracetool/format/__init__.py
    M scripts/tracetool/format/c.py
    M scripts/tracetool/format/d.py
    M scripts/tracetool/format/h.py
    M scripts/tracetool/format/log_stap.py
    M scripts/tracetool/format/simpletrace_stap.py
    M scripts/tracetool/format/stap.py
    M scripts/tracetool/format/tcg_h.py
    M scripts/tracetool/format/tcg_helper_c.py
    M scripts/tracetool/format/tcg_helper_h.py
    M scripts/tracetool/format/tcg_helper_wrapper_h.py
    M scripts/tracetool/format/ust_events_c.py
    M scripts/tracetool/format/ust_events_h.py
    M scripts/tracetool/transform.py
    M scripts/tracetool/vcpu.py
    M scripts/vmstate-static-checker.py
    M tests/acceptance/avocado_qemu/__init__.py
    M tests/acceptance/boot_linux_console.py
    M tests/acceptance/migration.py
    M tests/acceptance/version.py
    A tests/acceptance/virtio_check_params.py
    R tests/acceptance/virtio_seg_max_adjust.py
    M tests/acceptance/x86_cpu_model_versions.py
    M tests/docker/travis.py
    M tests/guest-debug/test-gdbstub.py
    M tests/migration/guestperf/engine.py
    M tests/migration/guestperf/plot.py
    M tests/migration/guestperf/shell.py
    M tests/qapi-schema/test-qapi.py
    M tests/qemu-iotests/030
    M tests/qemu-iotests/040
    M tests/qemu-iotests/041
    M tests/qemu-iotests/044
    M tests/qemu-iotests/045
    M tests/qemu-iotests/055
    M tests/qemu-iotests/056
    M tests/qemu-iotests/057
    M tests/qemu-iotests/065
    M tests/qemu-iotests/093
    M tests/qemu-iotests/096
    M tests/qemu-iotests/118
    M tests/qemu-iotests/124
    M tests/qemu-iotests/129
    M tests/qemu-iotests/132
    M tests/qemu-iotests/136
    M tests/qemu-iotests/139
    M tests/qemu-iotests/147
    M tests/qemu-iotests/148
    M tests/qemu-iotests/149
    M tests/qemu-iotests/151
    M tests/qemu-iotests/152
    M tests/qemu-iotests/155
    M tests/qemu-iotests/163
    M tests/qemu-iotests/165
    M tests/qemu-iotests/169
    M tests/qemu-iotests/194
    M tests/qemu-iotests/196
    M tests/qemu-iotests/199
    M tests/qemu-iotests/202
    M tests/qemu-iotests/203
    M tests/qemu-iotests/205
    M tests/qemu-iotests/206
    M tests/qemu-iotests/207
    M tests/qemu-iotests/208
    M tests/qemu-iotests/209
    M tests/qemu-iotests/210
    M tests/qemu-iotests/211
    M tests/qemu-iotests/212
    M tests/qemu-iotests/213
    M tests/qemu-iotests/216
    M tests/qemu-iotests/218
    M tests/qemu-iotests/219
    M tests/qemu-iotests/222
    M tests/qemu-iotests/224
    M tests/qemu-iotests/228
    M tests/qemu-iotests/234
    M tests/qemu-iotests/235
    M tests/qemu-iotests/236
    M tests/qemu-iotests/237
    M tests/qemu-iotests/238
    M tests/qemu-iotests/242
    M tests/qemu-iotests/245
    M tests/qemu-iotests/246
    M tests/qemu-iotests/248
    M tests/qemu-iotests/254
    M tests/qemu-iotests/255
    M tests/qemu-iotests/256
    M tests/qemu-iotests/257
    M tests/qemu-iotests/258
    M tests/qemu-iotests/260
    M tests/qemu-iotests/262
    M tests/qemu-iotests/264
    M tests/qemu-iotests/266
    M tests/qemu-iotests/277
    M tests/qemu-iotests/280
    M tests/qemu-iotests/281
    M tests/qemu-iotests/283
    M tests/qemu-iotests/check
    M tests/qemu-iotests/iotests.py
    M tests/qemu-iotests/nbd-fault-injector.py
    M tests/qemu-iotests/qcow2.py
    M tests/qemu-iotests/qed.py
    M tests/vm/basevm.py
    M tests/vm/centos
    M tests/vm/fedora
    M tests/vm/freebsd
    M tests/vm/netbsd
    M tests/vm/openbsd
    M tests/vm/ubuntu.i386

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/philmd-gitlab/tags/python-next-20200207' into staging

- Python 3 cleanups:
  . Remove text about Python 2 in qemu-deprecated (Thomas)
  . Remove shebang header (Paolo, Philippe)
  . scripts/checkpatch.pl now allows Python 3 interpreter (Philippe)
  . Explicit usage of Python 3 interpreter in scripts (Philippe)
  . Fix Python scripts permissions (Paolo, Philippe)
  . Drop 'from __future__ import print_function' (Paolo)
  . Specify minimum python requirements in ReadTheDocs configuration (Alex)
- Test UNIX/EXEC transports with migration (Oksana)
- Added extract_from_rpm helper, improved extract_from_deb (Liam)
- Allow to use other serial consoles than default one (Philippe)
- Various improvements in QEMUMonitorProtocol (Wainer)
- Fix kvm_available() on ppc64le (Wainer)

# gpg: Signature made Fri 07 Feb 2020 15:01:56 GMT
# gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <address@hidden>" 
[full]
# Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE

* remotes/philmd-gitlab/tags/python-next-20200207: (46 commits)
  .readthedocs.yml: specify some minimum python requirements
  drop "from __future__ import print_function"
  make all Python scripts executable
  scripts/signrom: remove Python 2 support, add shebang
  tests/qemu-iotests/check: Only check for Python 3 interpreter
  scripts: Explicit usage of Python 3 (scripts without __main__)
  tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__)
  tests/vm: Remove shebang header
  tests/acceptance: Remove shebang header
  scripts/tracetool: Remove shebang header
  scripts/minikconf: Explicit usage of Python 3
  scripts: Explicit usage of Python 3 (scripts with __main__)
  tests: Explicit usage of Python 3
  tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__)
  tests/qemu-iotests/check: Allow use of python3 interpreter
  scripts/checkpatch.pl: Only allow Python 3 interpreter
  tests/acceptance/migration: Default to -nodefaults
  tests/acceptance/migration: Add the 'migration' tag
  tests/acceptance/migration: Test EXEC transport when migrating
  tests/acceptance/migration: Test UNIX transport when migrating
  ...

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


Compare: https://github.com/qemu/qemu/compare/93c86fff53a2...73d336510cf1



reply via email to

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