[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 8ce3c4: loader: g_realloc(p, 0) frees and ret
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 8ce3c4: loader: g_realloc(p, 0) frees and returns NULL, si... |
Date: |
Tue, 30 Sep 2014 07:00:06 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 8ce3c44c925982d834a8200ee0c9c00a7e9db20e
https://github.com/qemu/qemu/commit/8ce3c44c925982d834a8200ee0c9c00a7e9db20e
Author: Markus Armbruster <address@hidden>
Date: 2014-09-29 (Mon, 29 Sep 2014)
Changed paths:
M include/hw/elf_ops.h
Log Message:
-----------
loader: g_realloc(p, 0) frees and returns NULL, simplify
Once upon a time, it was decided that qemu_realloc(ptr, 0) should
abort. Switching to glib retired that bright idea. A bit of code
that was added to cope with it (commit 3e372cf) is still around. Bury
it.
See also commit 6528499.
Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 45363e46aeebfc99753389649eac7c7fc22bfe52
https://github.com/qemu/qemu/commit/45363e46aeebfc99753389649eac7c7fc22bfe52
Author: Michael S. Tsirkin <address@hidden>
Date: 2014-09-29 (Mon, 29 Sep 2014)
Changed paths:
M hw/virtio/virtio-pci.c
Log Message:
-----------
Revert "virtio-pci: fix migration for pci bus master"
This reverts commit 4d43d3f3c8147ade184df9a1e9e82826edd39e19.
Reported to break PPC guests.
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 22b80e85ff7d6150beefe06bb43d9b14ac4deb05
https://github.com/qemu/qemu/commit/22b80e85ff7d6150beefe06bb43d9b14ac4deb05
Author: Gonglei <address@hidden>
Date: 2014-09-29 (Mon, 29 Sep 2014)
Changed paths:
M hw/pci/pci-hotplug-old.c
Log Message:
-----------
pci-hotplug-old: avoid losing error message
When scsi_bus_legacy_add_drive() produces an error,
we will lose the error message. Using error_report
to report it.
Cc: Markus Armbruster <address@hidden>
Signed-off-by: Gonglei <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: fc50ff0666315be5120c70ad00cd0b0097484b84
https://github.com/qemu/qemu/commit/fc50ff0666315be5120c70ad00cd0b0097484b84
Author: zhanghailiang <address@hidden>
Date: 2014-09-29 (Mon, 29 Sep 2014)
Changed paths:
M hw/mem/pc-dimm.c
Log Message:
-----------
pc-dimm: Don't check dimm->node when there is non-NUMA config
It should not break memory hotplug feature if there is non-NUMA option.
This patch would also allow to use pc-dimm as replacement for initial memory
for non-NUMA configs.
Note: After this patch, the memory hotplug can work normally for Linux guest OS
when there is non-NUMA option and NUMA option. But not support Windows guest OS
to hotplug memory with no-NUMA config, actully, it's Windows limitation.
Reviewed-By: Igor Mammedov <address@hidden>
Signed-off-by: zhanghailiang <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 28d16f38d0d5881f95b074cc802dae8cacc1bf58
https://github.com/qemu/qemu/commit/28d16f38d0d5881f95b074cc802dae8cacc1bf58
Author: zhanghailiang <address@hidden>
Date: 2014-09-29 (Mon, 29 Sep 2014)
Changed paths:
M vl.c
Log Message:
-----------
vl: Adjust the place of calling mlockall to speedup VM's startup
If we configure mlock=on and memory policy=bind at the same time,
It will consume lots of time for system to treat with memory,
especially when call mbind behind mlockall.
Adjust the place of calling mlockall, calling mbind before mlockall
can remarkably reduce the time of VM's startup.
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: zhanghailiang <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 2e456b2b606aef488de27f8212e22382141fa022
https://github.com/qemu/qemu/commit/2e456b2b606aef488de27f8212e22382141fa022
Author: Peter Maydell <address@hidden>
Date: 2014-09-30 (Tue, 30 Sep 2014)
Changed paths:
M hw/mem/pc-dimm.c
M hw/pci/pci-hotplug-old.c
M hw/virtio/virtio-pci.c
M include/hw/elf_ops.h
M vl.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging
pci, pc, virtio, misc bugfixes
A bunch of bugfixes.
Signed-off-by: Michael S. Tsirkin <address@hidden>
# gpg: Signature made Mon 29 Sep 2014 17:59:57 BST using RSA key ID D28D5469
# gpg: Good signature from "Michael S. Tsirkin <address@hidden>"
# gpg: aka "Michael S. Tsirkin <address@hidden>"
* remotes/mst/tags/for_upstream:
vl: Adjust the place of calling mlockall to speedup VM's startup
pc-dimm: Don't check dimm->node when there is non-NUMA config
pci-hotplug-old: avoid losing error message
Revert "virtio-pci: fix migration for pci bus master"
loader: g_realloc(p, 0) frees and returns NULL, simplify
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/45c270b1ea79...2e456b2b606a
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 8ce3c4: loader: g_realloc(p, 0) frees and returns NULL, si...,
GitHub <=