[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 2a4e02: hostmem: set default prealloc_threads
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] 2a4e02: hostmem: set default prealloc_threads to valid value |
Date: |
Tue, 14 Apr 2020 14:30:28 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 2a4e02d104b15e0335fbb71af7e069751d7d33b7
https://github.com/qemu/qemu/commit/2a4e02d104b15e0335fbb71af7e069751d7d33b7
Author: Igor Mammedov <address@hidden>
Date: 2020-04-14 (Tue, 14 Apr 2020)
Changed paths:
M backends/hostmem.c
Log Message:
-----------
hostmem: set default prealloc_threads to valid value
Commit 4ebc74dbbf removed default prealloc_threads initialization
by mistake, and that makes QEMU crash with division on zero at
numpages_per_thread = numpages / memset_num_threads;
when QEMU is started with following backend
-object memory-backend-ram,id=ram-node0,prealloc=yes,size=128M
Return back initialization removed by 4ebc74dbbf to fix issue.
Fixes: 4ebc74dbbf7ad50e4101629f3f5da5fdc1544051
Reported-by: Raphael Norwitz <address@hidden>
Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Commit: e43651ff88c59d96d9d860310b13a99307e9c9bd
https://github.com/qemu/qemu/commit/e43651ff88c59d96d9d860310b13a99307e9c9bd
Author: Igor Mammedov <address@hidden>
Date: 2020-04-14 (Tue, 14 Apr 2020)
Changed paths:
M tests/qtest/numa-test.c
Log Message:
-----------
tests: numa: test one backend with prealloc enabled
Cannibalize one backend in the HMAT test to make sure that
prealloc=y is tested.
Signed-off-by: Igor Mammedov <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Commit: 9f5a0664187e9411c5c6b7dbd21a1f50922cf698
https://github.com/qemu/qemu/commit/9f5a0664187e9411c5c6b7dbd21a1f50922cf698
Author: Volker RĂ¼melin <address@hidden>
Date: 2020-04-14 (Tue, 14 Apr 2020)
Changed paths:
M target/i386/hax-windows.c
Log Message:
-----------
hax: Windows doesn't like posix device names
Patch acb9f95a7c "i386: Fix GCC warning with snprintf when HAX
is enabled" replaced Windows device names with posix device
names. Revert this.
Fixes: acb9f95a7c "i386: Fix GCC warning with snprintf when HAX is enabled"
Signed-off-by: Volker RĂ¼melin <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Commit: 2f7cc1fbd6f6655d900ca7f45973b9bd5330c6dd
https://github.com/qemu/qemu/commit/2f7cc1fbd6f6655d900ca7f45973b9bd5330c6dd
Author: Peter Maydell <address@hidden>
Date: 2020-04-14 (Tue, 14 Apr 2020)
Changed paths:
M backends/hostmem.c
M target/i386/hax-windows.c
M tests/qtest/numa-test.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging
Bugfixes, and reworking of the atomics documentation.
# gpg: Signature made Tue 14 Apr 2020 15:38:01 BST
# gpg: using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
# gpg: issuer "address@hidden"
# gpg: Good signature from "Paolo Bonzini <address@hidden>" [full]
# gpg: aka "Paolo Bonzini <address@hidden>" [full]
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1
# Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83
* remotes/bonzini/tags/for-upstream:
hax: Windows doesn't like posix device names
tests: numa: test one backend with prealloc enabled
hostmem: set default prealloc_threads to valid value
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/a457215ed2aa...2f7cc1fbd6f6
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 2a4e02: hostmem: set default prealloc_threads to valid value,
Peter Maydell <=