qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 20bcf7: vmstate: Make VMSTATE_STRUCT_POINTER


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 20bcf7: vmstate: Make VMSTATE_STRUCT_POINTER take type, no...
Date: Sat, 08 Feb 2014 06:00:05 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 20bcf73fa80c3477b6aaf5f39f18f031ff55de92
      
https://github.com/qemu/qemu/commit/20bcf73fa80c3477b6aaf5f39f18f031ff55de92
  Author: Peter Maydell <address@hidden>
  Date:   2014-02-04 (Tue, 04 Feb 2014)

  Changed paths:
    M hw/arm/pxa2xx.c
    M include/hw/ptimer.h
    M include/migration/vmstate.h

  Log Message:
  -----------
  vmstate: Make VMSTATE_STRUCT_POINTER take type, not ptr-to-type

The VMSTATE_STRUCT_POINTER macros are a bit odd in that they
must be passed an argument "FooType *" rather than just taking
the FooType. They're only used in one place, so it's easy to
tidy this up. This also lets us use the macro to replace the
hand-rolled VMSTATE_PTIMER.

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


  Commit: f9ee9f9ac28d6964772c08d5d428b713d58a3aca
      
https://github.com/qemu/qemu/commit/f9ee9f9ac28d6964772c08d5d428b713d58a3aca
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2014-02-04 (Tue, 04 Feb 2014)

  Changed paths:
    M include/exec/ram_addr.h

  Log Message:
  -----------
  exec: fix ram_list dirty map optimization

The ae2810c4bb3b383176e8e1b33931b16c01483aab patch introduced
optimization for ram_list.dirty_memory update. However it can only
work correctly if hpratio is 1 as the @bitmap parameter stores 1 bits
per system page size (may vary, 4K or 64K on PPC64) and
ram_list.dirty_memory stores 1 bit per TARGET_PAGE_SIZE
(which is hardcoded to 4K).

This fixes hpratio!=1 case to fall back to the slow path.

Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: f6c6483b259a2395ee44cfa966f622e0f2dbe2ae
      
https://github.com/qemu/qemu/commit/f6c6483b259a2395ee44cfa966f622e0f2dbe2ae
  Author: Orit Wasserman <address@hidden>
  Date:   2014-02-04 (Tue, 04 Feb 2014)

  Changed paths:
    M arch_init.c

  Log Message:
  -----------
  Set xbzrle buffers to NULL after freeing them to avoid double free errors

Signed-off-by: Orit Wasserman <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: c91e681a558fc21073ffc491b5a022d5f340fa0b
      
https://github.com/qemu/qemu/commit/c91e681a558fc21073ffc491b5a022d5f340fa0b
  Author: Orit Wasserman <address@hidden>
  Date:   2014-02-04 (Tue, 04 Feb 2014)

  Changed paths:
    M arch_init.c
    M migration.c

  Log Message:
  -----------
  Add check for cache size smaller than page size

Signed-off-by: Orit Wasserman <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: 905f26f2221e139ac0e7317ddac158c50f5cf876
      
https://github.com/qemu/qemu/commit/905f26f2221e139ac0e7317ddac158c50f5cf876
  Author: Gonglei (Arei) <address@hidden>
  Date:   2014-02-04 (Tue, 04 Feb 2014)

  Changed paths:
    M arch_init.c
    M include/migration/migration.h
    M migration.c

  Log Message:
  -----------
  migration:fix free XBZRLE decoded_buf wrong

When qemu do live migration with xbzrle, qemu malloc decoded_buf
at destination end but free it at source end. It will crash qemu
by double free error in some scenarios. Splitting the XBZRLE structure
for clear logic distinguishing src/dst side.

Signed-off-by: ChenLiang <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Reviewed-by: Orit Wasserman <address@hidden>
Signed-off-by: GongLei <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: a5615b14a66e86f620e90c8f4b3537c28bb328d4
      
https://github.com/qemu/qemu/commit/a5615b14a66e86f620e90c8f4b3537c28bb328d4
  Author: Orit Wasserman <address@hidden>
  Date:   2014-02-04 (Tue, 04 Feb 2014)

  Changed paths:
    M migration.c

  Log Message:
  -----------
  XBZRLE cache size should not be larger than guest memory size

Signed-off-by: Orit Wasserman <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: a17b2fd3580d1da96e806c8b58e61255e8c57577
      
https://github.com/qemu/qemu/commit/a17b2fd3580d1da96e806c8b58e61255e8c57577
  Author: Orit Wasserman <address@hidden>
  Date:   2014-02-04 (Tue, 04 Feb 2014)

  Changed paths:
    M arch_init.c
    M page_cache.c

  Log Message:
  -----------
  Don't abort on out of memory when creating page cache

Signed-off-by: Orit Wasserman <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: 89db9987c07977bdb78d5d4b41d65e7acb9a5a2c
      
https://github.com/qemu/qemu/commit/89db9987c07977bdb78d5d4b41d65e7acb9a5a2c
  Author: Orit Wasserman <address@hidden>
  Date:   2014-02-04 (Tue, 04 Feb 2014)

  Changed paths:
    M arch_init.c
    M include/migration/page_cache.h
    M page_cache.c

  Log Message:
  -----------
  Don't abort on memory allocation error

It is better to fail migration in case of failure to
allocate new cache item

Signed-off-by: Orit Wasserman <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: 3ea3bd62451ac79478b440ad9fe2a4cd69783a1f
      
https://github.com/qemu/qemu/commit/3ea3bd62451ac79478b440ad9fe2a4cd69783a1f
  Author: Peter Maydell <address@hidden>
  Date:   2014-02-08 (Sat, 08 Feb 2014)

  Changed paths:
    M arch_init.c
    M hw/arm/pxa2xx.c
    M include/exec/ram_addr.h
    M include/hw/ptimer.h
    M include/migration/migration.h
    M include/migration/page_cache.h
    M include/migration/vmstate.h
    M migration.c
    M page_cache.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/juanquintela/tags/migration/20140204-1' 
into staging

migration/next for 20140204

# gpg: Signature made Tue 04 Feb 2014 15:52:00 GMT using RSA key ID 5872D723
# gpg: Can't check signature: public key not found

* remotes/juanquintela/tags/migration/20140204-1:
  Don't abort on memory allocation error
  Don't abort on out of memory when creating page cache
  XBZRLE cache size should not be larger than guest memory size
  migration:fix free XBZRLE decoded_buf wrong
  Add check for cache size smaller than page size
  Set xbzrle buffers to NULL after freeing them to avoid double free errors
  exec: fix ram_list dirty map optimization
  vmstate: Make VMSTATE_STRUCT_POINTER take type, not ptr-to-type

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


Compare: https://github.com/qemu/qemu/compare/4db0014521a6...3ea3bd62451a

reply via email to

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