From: Marcelo Tosatti <mtosatti@redhat.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: kvm <kvm@vger.kernel.org>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: qemu-kvm upstreaming: Do we need -no-kvm-pit and -no-kvm-pit-reinjection semantics?
Date: Thu, 19 Jan 2012 15:25:32 -0200 [thread overview]
Message-ID: <20120119172532.GC11381@amt.cnet> (raw)
In-Reply-To: <4F17D56F.9090309@siemens.com>
On Thu, Jan 19, 2012 at 09:33:51AM +0100, Jan Kiszka wrote:
> Hi all,
>
> I've finished a first version of cleaned-up in-kernel KVM PIT support.
> That will be rolled out once the base support for irqchip has been merged.
>
> I'm now wondering if and how to model two control knobs we have in qemu-kvm:
>
> o -no-kvm-pit, ie. disable the in-kernel PIT even when {A,IOA,}PIC
> are kernel based (default: off, ie. use in-kernel PIT)
It can be useful for debugging.
> o -no-kvm-pit-reinjection, ie. control over the lost ticks reinjection
> logic in the kernel (default: off, ie. do reinject)
If the guest kernel does not compensate for lost ticks, reinjection is
needed. Otherwise, it might cause problems.
Therefore this option is needed.
> So far I dropped the former and modeled the latter via a qdev property.
> But I tend to think that even the latter knob is superfluous. In that
> case I would also deprecate the original switches in qemu-kvm, just like
> recently done with -tdf.
>
> Other thoughts?
>
> Jan
>
> --
> Siemens AG, Corporate Technology, CT T DE IT 1
> Corporate Competence Center Embedded Linux
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: qemu-devel <qemu-devel@nongnu.org>, kvm <kvm@vger.kernel.org>
Subject: Re: [Qemu-devel] qemu-kvm upstreaming: Do we need -no-kvm-pit and -no-kvm-pit-reinjection semantics?
Date: Thu, 19 Jan 2012 15:25:32 -0200 [thread overview]
Message-ID: <20120119172532.GC11381@amt.cnet> (raw)
In-Reply-To: <4F17D56F.9090309@siemens.com>
On Thu, Jan 19, 2012 at 09:33:51AM +0100, Jan Kiszka wrote:
> Hi all,
>
> I've finished a first version of cleaned-up in-kernel KVM PIT support.
> That will be rolled out once the base support for irqchip has been merged.
>
> I'm now wondering if and how to model two control knobs we have in qemu-kvm:
>
> o -no-kvm-pit, ie. disable the in-kernel PIT even when {A,IOA,}PIC
> are kernel based (default: off, ie. use in-kernel PIT)
It can be useful for debugging.
> o -no-kvm-pit-reinjection, ie. control over the lost ticks reinjection
> logic in the kernel (default: off, ie. do reinject)
If the guest kernel does not compensate for lost ticks, reinjection is
needed. Otherwise, it might cause problems.
Therefore this option is needed.
> So far I dropped the former and modeled the latter via a qdev property.
> But I tend to think that even the latter knob is superfluous. In that
> case I would also deprecate the original switches in qemu-kvm, just like
> recently done with -tdf.
>
> Other thoughts?
>
> Jan
>
> --
> Siemens AG, Corporate Technology, CT T DE IT 1
> Corporate Competence Center Embedded Linux
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2012-01-19 17:32 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-19 8:33 qemu-kvm upstreaming: Do we need -no-kvm-pit and -no-kvm-pit-reinjection semantics? Jan Kiszka
2012-01-19 8:33 ` [Qemu-devel] " Jan Kiszka
2012-01-19 17:25 ` Marcelo Tosatti [this message]
2012-01-19 17:25 ` Marcelo Tosatti
2012-01-19 17:38 ` Jan Kiszka
2012-01-19 17:38 ` [Qemu-devel] " Jan Kiszka
2012-01-19 17:53 ` Marcelo Tosatti
2012-01-19 17:53 ` [Qemu-devel] " Marcelo Tosatti
2012-01-19 18:01 ` Jan Kiszka
2012-01-19 18:01 ` [Qemu-devel] " Jan Kiszka
2012-01-20 10:14 ` Marcelo Tosatti
2012-01-20 10:14 ` [Qemu-devel] " Marcelo Tosatti
2012-01-20 10:22 ` Jan Kiszka
2012-01-20 10:22 ` [Qemu-devel] " Jan Kiszka
2012-01-20 10:25 ` Daniel P. Berrange
2012-01-20 11:13 ` Jan Kiszka
2012-01-20 11:45 ` Daniel P. Berrange
2012-01-20 12:00 ` Jan Kiszka
2012-01-20 12:42 ` Daniel P. Berrange
2012-01-20 12:51 ` Jan Kiszka
2012-01-20 12:54 ` Daniel P. Berrange
2012-01-20 13:02 ` Jan Kiszka
2012-01-20 13:06 ` Daniel P. Berrange
2012-01-20 10:39 ` Jamie Lokier
2012-01-20 10:39 ` [Qemu-devel] " Jamie Lokier
2012-01-20 11:13 ` Jan Kiszka
2012-01-20 12:00 ` Paolo Bonzini
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=20120119172532.GC11381@amt.cnet \
--to=mtosatti@redhat.com \
--cc=jan.kiszka@siemens.com \
--cc=kvm@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
/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.