mirror of https://gitee.com/openkylin/qemu.git
trivial patches for 2017-08-14
-----BEGIN PGP SIGNATURE----- iQFDBAABCAAtFiEEe3O61ovnosKJMUsicBtPaxppPlkFAlmRhFcPHG1qdEB0bHMu bXNrLnJ1AAoJEHAbT2saaT5ZFYMIAMHSUNij3qFTk1O2TI8h30DXUcTqzJPyZgdl qqNJDqVN/vHlyZksixY2ggwSMdccp3/BRLOHKemoIR6oI17111NlPL/dlfpp5cbA /8HiwasGmHzhdn0SnNRibdvlZkslppOcSeuJyd8RTnMe+cH49/WZf+CHwTxu063s lVbdt3eHa/pzkGg6M0ho5veCko4/hHJO1hSRaYBwy4NCcoCk4EAArtNnlKpZORz+ W/baq6v+qm3RDx2i39Xrot1/KZ57fBs8778e8GC453UmUpNzGYBULUqUt9KpRceX XFupYhOAFvc0BYnO42qibAdJlJLiOj0YzZlTmdXLUGWUzNq+giM= =psjp -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-fetch' into staging trivial patches for 2017-08-14 # gpg: Signature made Mon 14 Aug 2017 12:07:03 BST # gpg: using RSA key 0x701B4F6B1A693E59 # gpg: Good signature from "Michael Tokarev <mjt@tls.msk.ru>" # gpg: aka "Michael Tokarev <mjt@corpit.ru>" # gpg: aka "Michael Tokarev <mjt@debian.org>" # Primary key fingerprint: 6EE1 95D1 886E 8FFB 810D 4324 457C E0A0 8044 65C5 # Subkey fingerprint: 7B73 BAD6 8BE7 A2C2 8931 4B22 701B 4F6B 1A69 3E59 * remotes/mjt/tags/trivial-patches-fetch: hw/misc/mmio_interface: Return after error_setg() to avoid crash qemu-iotests: remove comment about root privileges requirement qemu-iotests: remove commented out variables qemu-iotests: get rid of _full_imgproto_details() qemu-doc: Fix "-net van" typo libqtest: Fix typo in comments unicore32: abort when entering "x 0" on the monitor Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
87ecd4f340
|
@ -63,10 +63,12 @@ static void mmio_interface_realize(DeviceState *dev, Error **errp)
|
|||
|
||||
if (!s->host_ptr) {
|
||||
error_setg(errp, "host_ptr property must be set");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!s->subregion) {
|
||||
error_setg(errp, "subregion property must be set");
|
||||
return;
|
||||
}
|
||||
|
||||
memory_region_init_ram_ptr(&s->ram_mem, OBJECT(s), "ram",
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "cpu.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "qemu/error-report.h"
|
||||
|
||||
#undef DEBUG_UC32
|
||||
|
||||
|
@ -271,8 +272,7 @@ int uc32_cpu_handle_mmu_fault(CPUState *cs, vaddr address,
|
|||
|
||||
hwaddr uc32_cpu_get_phys_page_debug(CPUState *cs, vaddr addr)
|
||||
{
|
||||
UniCore32CPU *cpu = UNICORE32_CPU(cs);
|
||||
|
||||
cpu_abort(CPU(cpu), "%s not supported yet\n", __func__);
|
||||
return addr;
|
||||
error_report("function uc32_cpu_get_phys_page_debug not "
|
||||
"implemented, aborting");
|
||||
return -1;
|
||||
}
|
||||
|
|
|
@ -117,7 +117,7 @@ QDict *qtest_qmp_receive(QTestState *s);
|
|||
* @s: #QTestState instance to operate on.
|
||||
* @s: #event event to wait for.
|
||||
*
|
||||
* Continuosly polls for QMP responses until it receives the desired event.
|
||||
* Continuously polls for QMP responses until it receives the desired event.
|
||||
*/
|
||||
void qtest_qmp_eventwait(QTestState *s, const char *event);
|
||||
|
||||
|
@ -126,7 +126,7 @@ void qtest_qmp_eventwait(QTestState *s, const char *event);
|
|||
* @s: #QTestState instance to operate on.
|
||||
* @s: #event event to wait for.
|
||||
*
|
||||
* Continuosly polls for QMP responses until it receives the desired event.
|
||||
* Continuously polls for QMP responses until it receives the desired event.
|
||||
* Returns a copy of the event for further investigation.
|
||||
*/
|
||||
QDict *qtest_qmp_eventwait_ref(QTestState *s, const char *event);
|
||||
|
@ -571,7 +571,7 @@ static inline QDict *qmp_receive(void)
|
|||
* qmp_eventwait:
|
||||
* @s: #event event to wait for.
|
||||
*
|
||||
* Continuosly polls for QMP responses until it receives the desired event.
|
||||
* Continuously polls for QMP responses until it receives the desired event.
|
||||
*/
|
||||
static inline void qmp_eventwait(const char *event)
|
||||
{
|
||||
|
@ -582,7 +582,7 @@ static inline void qmp_eventwait(const char *event)
|
|||
* qmp_eventwait_ref:
|
||||
* @s: #event event to wait for.
|
||||
*
|
||||
* Continuosly polls for QMP responses until it receives the desired event.
|
||||
* Continuously polls for QMP responses until it receives the desired event.
|
||||
* Returns a copy of the event for further investigation.
|
||||
*/
|
||||
static inline QDict *qmp_eventwait_ref(const char *event)
|
||||
|
|
|
@ -123,12 +123,6 @@ fi
|
|||
# we need common
|
||||
. "$source_iotests/common"
|
||||
|
||||
#if [ `id -u` -ne 0 ]
|
||||
#then
|
||||
# echo "check: QA must be run as root"
|
||||
# exit 1
|
||||
#fi
|
||||
|
||||
TIMESTAMP_FILE=check.time-$IMGPROTO-$IMGFMT
|
||||
|
||||
tmp="${TEST_DIR}"/$$
|
||||
|
@ -228,10 +222,7 @@ rm -f check.full
|
|||
[ -f $TIMESTAMP_FILE ] || touch $TIMESTAMP_FILE
|
||||
|
||||
FULL_IMGFMT_DETAILS=`_full_imgfmt_details`
|
||||
FULL_IMGPROTO_DETAILS=`_full_imgproto_details`
|
||||
FULL_HOST_DETAILS=`_full_platform_details`
|
||||
#FULL_MKFS_OPTIONS=`_scratch_mkfs_options`
|
||||
#FULL_MOUNT_OPTIONS=`_scratch_mount_options`
|
||||
|
||||
cat <<EOF
|
||||
QEMU -- "$QEMU_PROG" $QEMU_OPTIONS
|
||||
|
@ -239,14 +230,12 @@ QEMU_IMG -- "$QEMU_IMG_PROG" $QEMU_IMG_OPTIONS
|
|||
QEMU_IO -- "$QEMU_IO_PROG" $QEMU_IO_OPTIONS
|
||||
QEMU_NBD -- "$QEMU_NBD_PROG" $QEMU_NBD_OPTIONS
|
||||
IMGFMT -- $FULL_IMGFMT_DETAILS
|
||||
IMGPROTO -- $FULL_IMGPROTO_DETAILS
|
||||
IMGPROTO -- $IMGPROTO
|
||||
PLATFORM -- $FULL_HOST_DETAILS
|
||||
TEST_DIR -- $TEST_DIR
|
||||
SOCKET_SCM_HELPER -- $SOCKET_SCM_HELPER
|
||||
|
||||
EOF
|
||||
#MKFS_OPTIONS -- $FULL_MKFS_OPTIONS
|
||||
#MOUNT_OPTIONS -- $FULL_MOUNT_OPTIONS
|
||||
|
||||
seq="check"
|
||||
|
||||
|
|
|
@ -482,11 +482,6 @@ _full_imgfmt_details()
|
|||
fi
|
||||
}
|
||||
|
||||
_full_imgproto_details()
|
||||
{
|
||||
echo "$IMGPROTO"
|
||||
}
|
||||
|
||||
_full_platform_details()
|
||||
{
|
||||
os=`uname -s`
|
||||
|
|
Loading…
Reference in New Issue