qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] eb5c93: vmstate: Remove redefinition of VMSTA


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] eb5c93: vmstate: Remove redefinition of VMSTATE_UINT32_ARR...
Date: Tue, 29 Sep 2015 06:00:03 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: eb5c936e81e2e292ceefec9b6628862599f71c17
      
https://github.com/qemu/qemu/commit/eb5c936e81e2e292ceefec9b6628862599f71c17
  Author: Soren Brinkmann <address@hidden>
  Date:   2015-09-29 (Tue, 29 Sep 2015)

  Changed paths:
    M include/migration/vmstate.h

  Log Message:
  -----------
  vmstate: Remove redefinition of VMSTATE_UINT32_ARRAY

The macro is defined twice in identical ways.

Signed-off-by: Soren Brinkmann <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Reviewed-by: Amit Shah <address@hidden>
Signed-off-by: Amit Shah <address@hidden>


  Commit: 2f68e39956b7504f6669671fd95b70859afc340d
      
https://github.com/qemu/qemu/commit/2f68e39956b7504f6669671fd95b70859afc340d
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2015-09-29 (Tue, 29 Sep 2015)

  Changed paths:
    M migration/ram.c

  Log Message:
  -----------
  migration/ram.c: Use RAMBlock rather than MemoryRegion

RAM migration mainly works on RAMBlocks but in a few places
uses data from MemoryRegions to access the same information that's
already held in RAMBlocks; clean it up just to avoid the
MemoryRegion use.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Message-Id: <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Reviewed-by: Amit Shah <address@hidden>
Signed-off-by: Amit Shah <address@hidden>


  Commit: 09f6c85e39ee9e57bd245adbe6f400d387061707
      
https://github.com/qemu/qemu/commit/09f6c85e39ee9e57bd245adbe6f400d387061707
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2015-09-29 (Tue, 29 Sep 2015)

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

  Log Message:
  -----------
  Split out end of migration code from migration_thread

The code that gets run at the end of the migration process
is getting large, and I'm about to add more for postcopy.
Split it into a separate function.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: zhanghailiang <address@hidden>
Reviewed-by: Amit Shah <address@hidden>
Signed-off-by: Amit Shah <address@hidden>


  Commit: c50766f5a99ef7bf6c9a86cd07341c389faf7ae6
      
https://github.com/qemu/qemu/commit/c50766f5a99ef7bf6c9a86cd07341c389faf7ae6
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2015-09-29 (Tue, 29 Sep 2015)

  Changed paths:
    M qtest.c

  Log Message:
  -----------
  Init page sizes in qtest

One of my patches used a loop that was based on host page size;
it dies in qtest since qtest hadn't bothered init'ing it.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Reviewed-by: Amit Shah <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Amit Shah <address@hidden>


  Commit: a202a4c001fd35b50d99abcc329bc9e666eb8eed
      
https://github.com/qemu/qemu/commit/a202a4c001fd35b50d99abcc329bc9e666eb8eed
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2015-09-29 (Tue, 29 Sep 2015)

  Changed paths:
    M include/migration/qemu-file.h
    M migration/qemu-file-buf.c
    M migration/qemu-file-stdio.c
    M migration/qemu-file-unix.c
    M migration/rdma.c
    M migration/savevm.c
    M trace-events

  Log Message:
  -----------
  migration: size_t'ify some of qemu-file

This is a start on using size_t more in qemu-file and friends;
it fixes up QEMUFilePutBufferFunc and QEMUFileGetBufferFunc
to take size_t lengths and return ssize_t return values (like read(2))
and fixes up all the different implementations of them.

Note that I've not yet followed this deeply into bdrv_ implementations.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: zhanghailiang <address@hidden>
Reviewed-by: Amit Shah <address@hidden>
Signed-off-by: Amit Shah <address@hidden>


  Commit: 56f3835ff1e70df97f843f4a27abdff6b4a2ae77
      
https://github.com/qemu/qemu/commit/56f3835ff1e70df97f843f4a27abdff6b4a2ae77
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2015-09-29 (Tue, 29 Sep 2015)

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

  Log Message:
  -----------
  migration: qemu-file more size_t'ifying

This time convert the external functions:
  qemu_get_buffer, qemu_peek_buffer
  qemu_put_buffer and qemu_put_buffer_async

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: zhanghailiang <address@hidden>
Reviewed-by: Amit Shah <address@hidden>
Signed-off-by: Amit Shah <address@hidden>


  Commit: 97f3ad35517e0d02c0149637d1bb10713c52b057
      
https://github.com/qemu/qemu/commit/97f3ad35517e0d02c0149637d1bb10713c52b057
  Author: Markus Armbruster <address@hidden>
  Date:   2015-09-29 (Tue, 29 Sep 2015)

  Changed paths:
    M migration/migration.c
    M migration/qemu-file-buf.c
    M migration/qemu-file-stdio.c
    M migration/qemu-file-unix.c
    M migration/qemu-file.c
    M migration/rdma.c
    M migration/savevm.c

  Log Message:
  -----------
  migration: Use g_new() & friends where that makes obvious sense

g_new(T, n) is neater than g_malloc(sizeof(T) * n).  It's also safer,
for two reasons.  One, it catches multiplication overflowing size_t.
Two, it returns T * rather than void *, which lets the compiler catch
more type errors.

This commit only touches allocations with size arguments of the form
sizeof(T).  Same Coccinelle semantic patch as in commit b45c03f.

Signed-off-by: Markus Armbruster <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: zhanghailiang <address@hidden>
Reviewed-by: Amit Shah <address@hidden>
Signed-off-by: Amit Shah <address@hidden>


  Commit: b8fb8cb748497aa070304eec27b03edd3b05373d
      
https://github.com/qemu/qemu/commit/b8fb8cb748497aa070304eec27b03edd3b05373d
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2015-09-29 (Tue, 29 Sep 2015)

  Changed paths:
    M migration/ram.c

  Log Message:
  -----------
  Move dirty page search state into separate structure

Pull the search state for one iteration of the dirty page
search into a structure.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Amit Shah <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Amit Shah <address@hidden>
Signed-off-by: Amit Shah <address@hidden>


  Commit: b9e6092814735853cc1149e2e68245b09f621306
      
https://github.com/qemu/qemu/commit/b9e6092814735853cc1149e2e68245b09f621306
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2015-09-29 (Tue, 29 Sep 2015)

  Changed paths:
    M migration/ram.c

  Log Message:
  -----------
  ram_find_and_save_block: Split out the finding

Split out the finding of the dirty page and all the wrap detection
into a separate function since it was getting a bit hairy.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Amit Shah <address@hidden>

[Fix comment -- Amit]
Signed-off-by: Amit Shah <address@hidden>


  Commit: b2312c680084ea18cd55fa7093397cad2224ec14
      
https://github.com/qemu/qemu/commit/b2312c680084ea18cd55fa7093397cad2224ec14
  Author: Peter Maydell <address@hidden>
  Date:   2015-09-29 (Tue, 29 Sep 2015)

  Changed paths:
    M include/migration/qemu-file.h
    M include/migration/vmstate.h
    M migration/migration.c
    M migration/qemu-file-buf.c
    M migration/qemu-file-stdio.c
    M migration/qemu-file-unix.c
    M migration/qemu-file.c
    M migration/ram.c
    M migration/rdma.c
    M migration/savevm.c
    M qtest.c
    M trace-events

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/amit-migration/tags/for-juan-201509' 
into staging

Migration queue

# gpg: Signature made Tue 29 Sep 2015 07:13:55 BST using RSA key ID 854083B6
# gpg: Good signature from "Amit Shah <address@hidden>"
# gpg:                 aka "Amit Shah <address@hidden>"
# gpg:                 aka "Amit Shah <address@hidden>"

* remotes/amit-migration/tags/for-juan-201509:
  ram_find_and_save_block: Split out the finding
  Move dirty page search state into separate structure
  migration: Use g_new() & friends where that makes obvious sense
  migration: qemu-file more size_t'ifying
  migration: size_t'ify some of qemu-file
  Init page sizes in qtest
  Split out end of migration code from migration_thread
  migration/ram.c: Use RAMBlock rather than MemoryRegion
  vmstate: Remove redefinition of VMSTATE_UINT32_ARRAY

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


Compare: https://github.com/qemu/qemu/compare/6996a002d845...b2312c680084

reply via email to

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