[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180518175451.GD25013@localhost.localdomain>
Date: Fri, 18 May 2018 14:54:51 -0300
From: Eduardo Habkost <ehabkost@...hat.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: "Michael S. Tsirkin" <mst@...hat.com>,
linux-kernel@...r.kernel.org,
Radim Krčmář <rkrcmar@...hat.com>,
Jonathan Corbet <corbet@....net>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
kvm@...r.kernel.org, linux-doc@...r.kernel.org,
qemu-devel@...gnu.org
Subject: Re: [PATCH] kvm: rename HINTS_DEDICATED to KVM_HINTS_REALTIME
On Fri, May 18, 2018 at 07:18:57PM +0200, Paolo Bonzini wrote:
> On 18/05/2018 19:13, Eduardo Habkost wrote:
> >> As much as we'd like to be helpful and validate input, you need a real
> >> time host too. I'm not sure how we'd find out - I suggest we do not
> >> bother for now.
> > I'm worried that people will start enabling the flag in all kinds
> > of scenarios where the guarantees can't be kept, and make the
> > meaning of the flag in practice completely different from its
> > documented meaning.
>
> I don't think we should try to detect anything. As far as QEMU is
> concerned, it's mostly garbage in, garbage out when it comes to invalid
> configurations. It's just a bit, and using it in invalid configurations
> is okay if you're doing it (for example) for debugging.
In this case, I'd like the requirements and recommendations to be
included in QEMU documentation. Especially to point out the most
obvious and more likely mistakes (like not ensuring memory is
pinned at all, or letting the vCPU threads be interrupted).
So, is there a known list of steps required to configure a host
to enable kvm-hints-realtime safely, already? I'd like the
documentation to be better than "you should fiddle with the CPU
affinity on your system and also ensure memory will be pinned;
good luck".
--
Eduardo
Powered by blists - more mailing lists