[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] e96284: hmp: gpa2hva and gpa2hpa hostaddr com
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] e96284: hmp: gpa2hva and gpa2hpa hostaddr command |
Date: |
Wed, 26 Apr 2017 08:08:37 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: e9628441df3a7aa0ee83601a0cc9111b91e2319a
https://github.com/qemu/qemu/commit/e9628441df3a7aa0ee83601a0cc9111b91e2319a
Author: Paolo Bonzini <address@hidden>
Date: 2017-04-26 (Wed, 26 Apr 2017)
Changed paths:
M hmp-commands.hx
M monitor.c
Log Message:
-----------
hmp: gpa2hva and gpa2hpa hostaddr command
These commands are useful when testing machine-check passthrough.
gpa2hva is useful to inject a MADV_HWPOISON madvise from gdb, while
gpa2hpa is useful to inject an error with the mce-inject kernel
module.
Signed-off-by: Paolo Bonzini <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Commit: b7da97eef74bf834be244de0796ccb01db3985c9
https://github.com/qemu/qemu/commit/b7da97eef74bf834be244de0796ccb01db3985c9
Author: Thomas Huth <address@hidden>
Date: 2017-04-26 (Wed, 26 Apr 2017)
Changed paths:
M monitor.c
Log Message:
-----------
monitor: Check whether TCG is enabled before running the "info jit" code
The "info jit" command currently aborts on Mac OS X with the message
"qemu_mutex_lock: Invalid argument" when running with "-M accel=qtest".
We should only call into the TCG code here if TCG has really been
enabled and initialized.
Signed-off-by: Thomas Huth <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Tested-by: Peter Maydell <address@hidden>
Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Commit: 6bb87be8938691fa5cf989b7517d7d2084b8c141
https://github.com/qemu/qemu/commit/6bb87be8938691fa5cf989b7517d7d2084b8c141
Author: Thomas Huth <address@hidden>
Date: 2017-04-26 (Wed, 26 Apr 2017)
Changed paths:
M tests/libqtest.c
M tests/libqtest.h
Log Message:
-----------
libqtest: Ignore QMP events when parsing the response for HMP commands
When running certain HMP commands (like "device_del") via QMP, we
can sometimes get a QMP event in the response first, so that the
"g_assert(ret)" statement in qtest_hmp() triggers and the test
fails. Fix this by ignoring such QMP events while looking for the
real return value from QMP.
Signed-off-by: Thomas Huth <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Added note to qtest_hmp/qtest_hmpv's header description to say
it discards events
Commit: 02ef6e878f4c013889767ef239901962600de545
https://github.com/qemu/qemu/commit/02ef6e878f4c013889767ef239901962600de545
Author: Thomas Huth <address@hidden>
Date: 2017-04-26 (Wed, 26 Apr 2017)
Changed paths:
M tests/libqtest.c
M tests/libqtest.h
M tests/pc-cpu-test.c
M tests/qom-test.c
Log Message:
-----------
libqtest: Add a generic function to run a callback function for every machine
Some tests need to run single tests for every available machine of the
current QEMU binary. To avoid code duplication, let's extract this
code that deals with 'query-machines' into a separate function.
Signed-off-by: Thomas Huth <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Commit: 78f86a2b7c6b5c490a612729816473485d7ac570
https://github.com/qemu/qemu/commit/78f86a2b7c6b5c490a612729816473485d7ac570
Author: Thomas Huth <address@hidden>
Date: 2017-04-26 (Wed, 26 Apr 2017)
Changed paths:
M tests/Makefile.include
A tests/test-hmp.c
Log Message:
-----------
tests: Add a tester for HMP commands
HMP commands do not get any automatic testing yet, so on certain
QEMU machines, some HMP commands were causing crashes in the past.
Thus we should test HMP commands in our test suite, too, to avoid
that such problems creep in again in the future.
Signed-off-by: Thomas Huth <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Commit: 41c7c7ef2936722258c7ccf06027daca499c113d
https://github.com/qemu/qemu/commit/41c7c7ef2936722258c7ccf06027daca499c113d
Author: Peter Maydell <address@hidden>
Date: 2017-04-26 (Wed, 26 Apr 2017)
Changed paths:
M hmp-commands.hx
M monitor.c
M tests/Makefile.include
M tests/libqtest.c
M tests/libqtest.h
M tests/pc-cpu-test.c
M tests/qom-test.c
A tests/test-hmp.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/dgilbert/tags/pull-hmp-20170426' into
staging
HMP pull, with tcg fix
# gpg: Signature made Wed 26 Apr 2017 14:55:30 BST
# gpg: using RSA key 0x0516331EBC5BFDE7
# gpg: Good signature from "Dr. David Alan Gilbert (RH2) <address@hidden>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 45F5 C71B 4A0C B7FB 977A 9FA9 0516 331E BC5B FDE7
* remotes/dgilbert/tags/pull-hmp-20170426:
tests: Add a tester for HMP commands
libqtest: Add a generic function to run a callback function for every machine
libqtest: Ignore QMP events when parsing the response for HMP commands
monitor: Check whether TCG is enabled before running the "info jit" code
hmp: gpa2hva and gpa2hpa hostaddr command
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/dcaed66cbe28...41c7c7ef2936
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] e96284: hmp: gpa2hva and gpa2hpa hostaddr command,
GitHub <=