All of lore.kernel.org
 help / color / mirror / Atom feed
From: Claudio Fontana <cfontana@suse.de>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Richard Henderson" <richard.henderson@linaro.org>,
	"Eduardo Habkost" <ehabkost@redhat.com>,
	"Peter Maydell" <peter.maydell@linaro.org>,
	"Alex Bennée" <alex.bennee@linaro.org>,
	"Daniel P . Berrange" <berrange@redhat.com>
Cc: Laurent Vivier <lvivier@redhat.com>,
	Thomas Huth <thuth@redhat.com>, Jim Fehlig <jfehlig@suse.com>,
	Roman Bolshakov <r.bolshakov@yadro.com>,
	qemu-devel@nongnu.org
Subject: Re: [PATCH v26 00/20] i386 cleanup PART 2
Date: Mon, 8 Mar 2021 16:03:30 +0100	[thread overview]
Message-ID: <9a451974-3d46-64b7-e7ef-c70a05e534cc@suse.de> (raw)
In-Reply-To: <f3700214-baed-e03a-d4e1-028758b07054@amsat.org>

On 3/8/21 3:57 PM, Philippe Mathieu-Daudé wrote:
> On 3/8/21 2:52 PM, Claudio Fontana wrote:
>> On 3/8/21 2:27 PM, Philippe Mathieu-Daudé wrote:
>>> Hi Claudio,
>>>
>>> On 3/8/21 1:57 PM, Claudio Fontana wrote:
>>>> Hi,
>>>>
>>>> anything else for me to do here?
>>>>
>>>> The latest rebased state of this series should be always available here:
>>>>
>>>> https://gitlab.com/hw-claudio/qemu/-/tree/i386_cleanup_8
>>>>
>>>> When it comes to the ARM cleanup series,
>>>> I would like to have the tests pass for ARM, before doing even more changes, could you help me there Philippe?
>>>>
>>>> Maybe applying some of your changes on top would fix the failures? I tried, for example with the arm-cpu-features ones, but it didn't work for me..
>>>
>>> TBH I wrote these patches during my personal spare time and this
>>> became a real Pandora box that drained too much energy. I prefer
>>> to step back and focus on finishing smaller tasks before burning
>>> out. That said I appreciate your effort and am interested in
>>> following / reviewing your work.
>>>
>>> Regards,
>>>
>>> Phil.
>>>
>>
>> Thanks Philippe for sharing this, and I agree completely, it is very draining.
>>
>> The effort of making tests happy that run in artificial environments in particular often feels to me
>> as too disconnected from actually ensuring that there is no real run time regression.
>>
>> qtest_enabled() (implicitly, or explicitly via open-ended else statements) is another painful variable to keep in mind in cpu and machine code, so it is not helpful in my view.
>>
>> I'll try to push more to get the tests running again, if you have any comment or idea, feel free to just point me in the right direction,
>> that is very valuable to me, even without working code.
> 
> Basically I gave up after realizing from Daniel reviews that we need
> QMP commands to query QEMU at runtime its built-in features, so we
> have build-agnostic tests easier to maintain. I agree this is the
> best way to resolve this particular case, but also scale for various
> other cases.
> 

Well, yes, but in order to get things to work, even just a kvm-build fix would be good until we have the perfect solution, no?

We also fixed the tcg tests when doing this for i386, so I think we can fix these issues for arm too.

But this doesn't mean that we don't need the QMP commands to query QEMU at runtime for its "built-in"/module-loaded features.
We need that too, and I suspect this will be more and more needed by libvirt, as QEMU modularizes.

I just think the two things could proceed in parallel..

Ciao,

Claudio






  reply	other threads:[~2021-03-08 15:04 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-01  8:54 [PATCH v26 00/20] i386 cleanup PART 2 Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 01/20] target/i386: Rename helper_fldt, helper_fstt Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 02/20] target/i386: Split out do_fsave, do_frstor, do_fxsave, do_fxrstor Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 03/20] i386: split cpu accelerators from cpu.c, using AccelCPUClass Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 04/20] cpu: call AccelCPUClass::cpu_realizefn in cpu_exec_realizefn Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 05/20] accel: introduce new accessor functions Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 06/20] target/i386: fix host_cpu_adjust_phys_bits error handling Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 07/20] accel-cpu: make cpu_realizefn return a bool Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 08/20] meson: add target_user_arch Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 09/20] i386: split off sysemu-only functionality in tcg-cpu Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 10/20] i386: split smm helper (sysemu) Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 11/20] i386: split tcg excp_helper into sysemu and user parts Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 12/20] i386: move TCG bpt_helper into sysemu/ Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 13/20] i386: split misc helper user stubs and sysemu part Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 14/20] i386: separate fpu_helper sysemu-only parts Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 15/20] i386: split svm_helper into sysemu and stub-only user Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 16/20] i386: split seg_helper into user-only and sysemu parts Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 17/20] i386: split off sysemu part of cpu.c Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 18/20] target/i386: gdbstub: introduce aux functions to read/write CS64 regs Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 19/20] target/i386: gdbstub: only write CR0/CR2/CR3/EFER for sysemu Claudio Fontana
2021-03-01  8:54 ` [PATCH v26 20/20] i386: make cpu_load_efer sysemu-only Claudio Fontana
2021-03-01  9:18 ` [PATCH v26 00/20] i386 cleanup PART 2 no-reply
2021-03-08 12:57 ` Claudio Fontana
2021-03-08 13:27   ` Philippe Mathieu-Daudé
2021-03-08 13:52     ` Claudio Fontana
2021-03-08 14:57       ` Philippe Mathieu-Daudé
2021-03-08 15:03         ` Claudio Fontana [this message]
2021-03-08 15:07         ` Daniel P. Berrangé
2021-03-08 14:02   ` Alex Bennée
2021-05-05  8:27     ` Claudio Fontana
2021-05-05 10:04       ` Alex Bennée
2021-05-05 12:15         ` Philippe Mathieu-Daudé
2021-05-05 12:24           ` Philippe Mathieu-Daudé
2021-05-05 19:31           ` Eduardo Habkost
2021-05-06  7:55             ` Claudio Fontana
2021-05-06  9:10               ` Philippe Mathieu-Daudé
2021-05-06  9:33                 ` Philippe Mathieu-Daudé
2021-05-12  7:17                   ` Philippe Mathieu-Daudé
2021-05-17  6:17                     ` Claudio Fontana
2021-05-19 18:17                       ` Philippe Mathieu-Daudé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9a451974-3d46-64b7-e7ef-c70a05e534cc@suse.de \
    --to=cfontana@suse.de \
    --cc=alex.bennee@linaro.org \
    --cc=berrange@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=f4bug@amsat.org \
    --cc=jfehlig@suse.com \
    --cc=lvivier@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=r.bolshakov@yadro.com \
    --cc=richard.henderson@linaro.org \
    --cc=thuth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.