Merge remote-tracking branch 'remotes/vivier2/tags/trivial-branch-for-6.0-pull-request' into staging

Trivial patches 20210129

# gpg: Signature made Fri 29 Jan 2021 08:32:17 GMT
# gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg:                issuer "laurent@vivier.eu"
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
# gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" [full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* remotes/vivier2/tags/trivial-branch-for-6.0-pull-request:
  target/rx: Fix compiler errors for build with sanitizers
  net/slirp.c: Fix spelling error in error message
  tcg/tci: Restrict tci_write_reg16() to 64-bit hosts
  MAINTAINERS: Update 9pfs tree URL

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
Peter Maydell
2021-01-29 10:10:43 +00:00
4 changed files with 10 additions and 8 deletions

View File

@ -1828,7 +1828,7 @@ X: hw/9pfs/xen-9p*
F: fsdev/ F: fsdev/
F: docs/interop/virtfs-proxy-helper.rst F: docs/interop/virtfs-proxy-helper.rst
F: tests/qtest/virtio-9p-test.c F: tests/qtest/virtio-9p-test.c
T: git https://github.com/gkurz/qemu.git 9p-next T: git https://gitlab.com/gkurz/qemu.git 9p-next
virtio-blk virtio-blk
M: Stefan Hajnoczi <stefanha@redhat.com> M: Stefan Hajnoczi <stefanha@redhat.com>

View File

@ -473,7 +473,7 @@ static int net_slirp_init(NetClientState *peer, const char *model,
return -1; return -1;
} }
if (dhcp.s_addr == host.s_addr || dhcp.s_addr == dns.s_addr) { if (dhcp.s_addr == host.s_addr || dhcp.s_addr == dns.s_addr) {
error_setg(errp, "DNS must be different from host and DNS"); error_setg(errp, "DHCP must be different from host and DNS");
return -1; return -1;
} }

View File

@ -201,14 +201,14 @@ void helper_scmpu(CPURXState *env)
if (env->regs[3] == 0) { if (env->regs[3] == 0) {
return; return;
} }
while (env->regs[3] != 0) { do {
tmp0 = cpu_ldub_data_ra(env, env->regs[1]++, GETPC()); tmp0 = cpu_ldub_data_ra(env, env->regs[1]++, GETPC());
tmp1 = cpu_ldub_data_ra(env, env->regs[2]++, GETPC()); tmp1 = cpu_ldub_data_ra(env, env->regs[2]++, GETPC());
env->regs[3]--; env->regs[3]--;
if (tmp0 != tmp1 || tmp0 == '\0') { if (tmp0 != tmp1 || tmp0 == '\0') {
break; break;
} }
} } while (env->regs[3] != 0);
env->psw_z = tmp0 - tmp1; env->psw_z = tmp0 - tmp1;
env->psw_c = (tmp0 >= tmp1); env->psw_c = (tmp0 >= tmp1);
} }
@ -287,14 +287,14 @@ void helper_suntil(CPURXState *env, uint32_t sz)
if (env->regs[3] == 0) { if (env->regs[3] == 0) {
return ; return ;
} }
while (env->regs[3] != 0) { do {
tmp = cpu_ldufn[sz](env, env->regs[1], GETPC()); tmp = cpu_ldufn[sz](env, env->regs[1], GETPC());
env->regs[1] += 1 << sz; env->regs[1] += 1 << sz;
env->regs[3]--; env->regs[3]--;
if (tmp == env->regs[2]) { if (tmp == env->regs[2]) {
break; break;
} }
} } while (env->regs[3] != 0);
env->psw_z = tmp - env->regs[2]; env->psw_z = tmp - env->regs[2];
env->psw_c = (tmp <= env->regs[2]); env->psw_c = (tmp <= env->regs[2]);
} }
@ -306,14 +306,14 @@ void helper_swhile(CPURXState *env, uint32_t sz)
if (env->regs[3] == 0) { if (env->regs[3] == 0) {
return ; return ;
} }
while (env->regs[3] != 0) { do {
tmp = cpu_ldufn[sz](env, env->regs[1], GETPC()); tmp = cpu_ldufn[sz](env, env->regs[1], GETPC());
env->regs[1] += 1 << sz; env->regs[1] += 1 << sz;
env->regs[3]--; env->regs[3]--;
if (tmp != env->regs[2]) { if (tmp != env->regs[2]) {
break; break;
} }
} } while (env->regs[3] != 0);
env->psw_z = env->regs[3]; env->psw_z = env->regs[3];
env->psw_c = (tmp <= env->regs[2]); env->psw_c = (tmp <= env->regs[2]);
} }

View File

@ -128,11 +128,13 @@ static void tci_write_reg8(tcg_target_ulong *regs, TCGReg index, uint8_t value)
tci_write_reg(regs, index, value); tci_write_reg(regs, index, value);
} }
#if TCG_TARGET_REG_BITS == 64
static void static void
tci_write_reg16(tcg_target_ulong *regs, TCGReg index, uint16_t value) tci_write_reg16(tcg_target_ulong *regs, TCGReg index, uint16_t value)
{ {
tci_write_reg(regs, index, value); tci_write_reg(regs, index, value);
} }
#endif
static void static void
tci_write_reg32(tcg_target_ulong *regs, TCGReg index, uint32_t value) tci_write_reg32(tcg_target_ulong *regs, TCGReg index, uint32_t value)