[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v10 05/23] tcg: add options for enabling MTTCG
From: |
Pranith Kumar |
Subject: |
Re: [Qemu-devel] [PATCH v10 05/23] tcg: add options for enabling MTTCG |
Date: |
Wed, 8 Feb 2017 16:35:16 -0500 |
Hi Alex,
On Tue, Feb 7, 2017 at 5:06 AM, Alex Bennée <address@hidden> wrote:
>
> Pranith Kumar <address@hidden> writes:
>
> >> +
> >> +void qemu_tcg_configure(QemuOpts *opts, Error **errp)
> >> +{
> >> + const char *t = qemu_opt_get(opts, "thread");
> >> + if (t) {
> >> + if (strcmp(t, "multi") == 0) {
> >> + if (TCG_OVERSIZED_GUEST) {
> >> + error_setg(errp, "No MTTCG when guest word size >
> hosts");
> >> + } else {
> >> + if (!check_tcg_memory_orders_compatible()) {
> >> + error_report("Guest requires stronger MO that
> host");
> >>
> >
> > s/MO that host/MO than host/?
>
> Good catch.
>
> >
> > Also, this message is a bit cryptic for end users. How about saying
> "Guest
> > and host architectures are incompatible, you may encounter errors!" or
> > something similar?
>
> "Guest assumes a stronger memory ordering than the host provides, this
> may cause strange/hard to debug errors."
>
> ?
>
s/assumes/expects/?
Otherwise, this statement looks good to me.
Thanks,
--
Pranith
- [Qemu-devel] [PATCH v10 03/23] mttcg: Add missing tb_lock/unlock() in cpu_exec_step(), (continued)
- [Qemu-devel] [PATCH v10 03/23] mttcg: Add missing tb_lock/unlock() in cpu_exec_step(), Alex Bennée, 2017/02/06
- [Qemu-devel] [PATCH v10 04/23] tcg: move TCG_MO/BAR types into own file, Alex Bennée, 2017/02/06
- [Qemu-devel] [PATCH v10 01/23] docs: new design document multi-thread-tcg.txt, Alex Bennée, 2017/02/06
- [Qemu-devel] [PATCH v10 02/23] mttcg: translate-all: Enable locking debug in a debug build, Alex Bennée, 2017/02/06
- [Qemu-devel] [PATCH v10 07/23] tcg: rename tcg_current_cpu to tcg_current_rr_cpu, Alex Bennée, 2017/02/06
- [Qemu-devel] [PATCH v10 06/23] tcg: add kick timer for single-threaded vCPU emulation, Alex Bennée, 2017/02/06
- [Qemu-devel] [PATCH v10 10/23] tcg: enable tb_lock() for SoftMMU, Alex Bennée, 2017/02/06
- [Qemu-devel] [PATCH v10 05/23] tcg: add options for enabling MTTCG, Alex Bennée, 2017/02/06
- [Qemu-devel] [PATCH v10 12/23] tcg: handle EXCP_ATOMIC exception for system emulation, Alex Bennée, 2017/02/06
- [Qemu-devel] [PATCH v10 09/23] tcg: remove global exit_request, Alex Bennée, 2017/02/06
- [Qemu-devel] [PATCH v10 08/23] tcg: drop global lock during TCG code execution, Alex Bennée, 2017/02/06
- [Qemu-devel] [PATCH v10 13/23] cputlb: add assert_cpu_is_self checks, Alex Bennée, 2017/02/06
- [Qemu-devel] [PATCH v10 11/23] tcg: enable thread-per-vCPU, Alex Bennée, 2017/02/06
- [Qemu-devel] [PATCH v10 14/23] cputlb: tweak qemu_ram_addr_from_host_nofail reporting, Alex Bennée, 2017/02/06
- [Qemu-devel] [PATCH v10 17/23] cputlb: add tlb_flush_by_mmuidx async routines, Alex Bennée, 2017/02/06
- [Qemu-devel] [PATCH v10 15/23] cputlb: introduce tlb_flush_* async work., Alex Bennée, 2017/02/06
- [Qemu-devel] [PATCH v10 18/23] cputlb: atomically update tlb fields used by tlb_reset_dirty, Alex Bennée, 2017/02/06
- [Qemu-devel] [PATCH v10 16/23] cputlb and arm/sparc targets: convert mmuidx flushes from varg to bitmap, Alex Bennée, 2017/02/06