qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] c7a7db: migration/qemu-file: Add qemu_file_ge


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] c7a7db: migration/qemu-file: Add qemu_file_get_to_fd()
Date: Thu, 16 Feb 2023 09:11:57 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: c7a7db4b517842633ea5ab6c848a10449b5b913a
      
https://github.com/qemu/qemu/commit/c7a7db4b517842633ea5ab6c848a10449b5b913a
  Author: Avihai Horon <avihaih@nvidia.com>
  Date:   2023-02-15 (Wed, 15 Feb 2023)

  Changed paths:
    M migration/qemu-file.c
    M migration/qemu-file.h

  Log Message:
  -----------
  migration/qemu-file: Add qemu_file_get_to_fd()

Add new function qemu_file_get_to_fd() that allows reading data from
QEMUFile and writing it straight into a given fd.

This will be used later in VFIO migration code.

Signed-off-by: Avihai Horon <avihaih@nvidia.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>


  Commit: 163b8663b87fa1bfc34a171dd19ea435d108fa61
      
https://github.com/qemu/qemu/commit/163b8663b87fa1bfc34a171dd19ea435d108fa61
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-15 (Wed, 15 Feb 2023)

  Changed paths:
    M migration/block.c
    M migration/trace-events

  Log Message:
  -----------
  migration/block: Convert remaining DPRINTF() debug macro to trace events

Finish the conversion from commit fe80c0241d
("migration: using trace_ to replace DPRINTF").

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>


  Commit: abbbd04da2b2bdda5ee7dcbbbc89e03e019ade6b
      
https://github.com/qemu/qemu/commit/abbbd04da2b2bdda5ee7dcbbbc89e03e019ade6b
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2023-02-15 (Wed, 15 Feb 2023)

  Changed paths:
    M migration/ram.c

  Log Message:
  -----------
  migration: In case of postcopy, the memory ends in res_postcopy_only

So remove last assignation of res_compatible.

Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Signed-off-by: Juan Quintela <quintela@redhat.com>


  Commit: 24f254ed794bbd217fbceb6b5840dd4fa6545383
      
https://github.com/qemu/qemu/commit/24f254ed794bbd217fbceb6b5840dd4fa6545383
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2023-02-15 (Wed, 15 Feb 2023)

  Changed paths:
    M hw/s390x/s390-stattrib.c
    M hw/vfio/migration.c
    M hw/vfio/trace-events
    M include/migration/register.h
    M migration/block-dirty-bitmap.c
    M migration/block.c
    M migration/migration.c
    M migration/ram.c
    M migration/savevm.c
    M migration/savevm.h
    M migration/trace-events

  Log Message:
  -----------
  migration: Remove unused res_compatible

Nothing assigns to it after previous commit.

Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Signed-off-by: Juan Quintela <quintela@redhat.com>


  Commit: 24beea4efe6e6b65fd6248ede936cd3278b2bf8a
      
https://github.com/qemu/qemu/commit/24beea4efe6e6b65fd6248ede936cd3278b2bf8a
  Author: Juan Quintela <quintela@redhat.com>
  Date:   2023-02-15 (Wed, 15 Feb 2023)

  Changed paths:
    M hw/s390x/s390-stattrib.c
    M hw/vfio/migration.c
    M include/migration/register.h
    M migration/block-dirty-bitmap.c
    M migration/block.c
    M migration/migration.c
    M migration/ram.c
    M migration/savevm.c
    M migration/savevm.h

  Log Message:
  -----------
  migration: Rename res_{postcopy,precopy}_only

Once that res_compatible is removed, they don't make sense anymore.
We remove the _only preffix.  And to make things clearer we rename
them to must_precopy and can_postcopy.

Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Signed-off-by: Juan Quintela <quintela@redhat.com>


  Commit: 6dffbe36af79e26a4d23f94a9a1c1201de99c261
      
https://github.com/qemu/qemu/commit/6dffbe36af79e26a4d23f94a9a1c1201de99c261
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2023-02-16 (Thu, 16 Feb 2023)

  Changed paths:
    M hw/s390x/s390-stattrib.c
    M hw/vfio/migration.c
    M hw/vfio/trace-events
    M include/migration/register.h
    M migration/block-dirty-bitmap.c
    M migration/block.c
    M migration/migration.c
    M migration/qemu-file.c
    M migration/qemu-file.h
    M migration/ram.c
    M migration/savevm.c
    M migration/savevm.h
    M migration/trace-events

  Log Message:
  -----------
  Merge tag 'migration-20230215-pull-request' of 
https://gitlab.com/juan.quintela/qemu into staging

Migration Pull request

This pull request contains:

* Add qemu_file_get_to_fd() a.k.a. make vfio happy(Avihai)
* migration/block is now DPRINTF() free zone (Philippe)
* remove res_compat and improve docs (me)

Please apply.

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEEGJn/jt6/WMzuA0uC9IfvGFhy1yMFAmPtOxgACgkQ9IfvGFhy
# 1yM+8w/+Nrm40o8B+0M1X/2O8SPaXE0Oxll5qk5AgfC+2Ef/n5661ZzOM1xQcqzv
# CN3bj3g7dKN05nGhqW5ZFrEZliJCGksx2FBKMq9H6R5YBSMo/+GHT4ugPqsujudl
# RBafIHzp4h4nTh/4aJ4Kr2Vn/bVQzGVyv5c6yUdUhKhE1QfCLu9AMC5vN1hfWxBz
# IQBvMkLNXXhWOTdkVAElVlFOM6GZzWb1UYDkBaQHjjw/dN0MdCFFj7tIaBIyU2Eb
# KyQCoYeJjjWrljsrfzfCucrW+mbVGmCe1TiCEnaAmmgzOI0NwARmUcdYdCyZ4Nhh
# flNjpqQB6H4/ekI0mus2YPMPEkHyVgBMuF8fHV3YDwxcQ25U39RLymVfAoKPNg88
# S1EcQ9h2QVqdML7bR9vTmPOZKk5vD25H7B8LQIJpT8PHVg3ZzzRaOIR8UHmmFXx/
# PSL1rGfPcCLJ3P1XlVjwBApebMHyid9c+Sohda9L9HPer0jlB+mGQUEV8J67DJiT
# xlffFgJmYu3+AJu9BoqrG0AUW6zA78jSs4Tbp78qbIVA4uzGkWI9JvROMfG9Qcc7
# vruuL0sUXHVUhzW2F+0M+b1rVhaHHQYvFo3mIqdHrd5mGicdgh1HUbaJuEJxeJnh
# oFt6SZbIx3N/pllcvMsxQa+rFI/po+FEkRwIF02SzTRWYHB0qos=
# =KpKO
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 15 Feb 2023 20:05:44 GMT
# gpg:                using RSA key 1899FF8EDEBF58CCEE034B82F487EF185872D723
# gpg: Good signature from "Juan Quintela <quintela@redhat.com>" [full]
# gpg:                 aka "Juan Quintela <quintela@trasno.org>" [full]
# Primary key fingerprint: 1899 FF8E DEBF 58CC EE03  4B82 F487 EF18 5872 D723

* tag 'migration-20230215-pull-request' of 
https://gitlab.com/juan.quintela/qemu:
  migration: Rename res_{postcopy,precopy}_only
  migration: Remove unused res_compatible
  migration: In case of postcopy, the memory ends in res_postcopy_only
  migration/block: Convert remaining DPRINTF() debug macro to trace events
  migration/qemu-file: Add qemu_file_get_to_fd()

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


Compare: https://github.com/qemu/qemu/compare/003ba52a8b32...6dffbe36af79



reply via email to

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