From: Avi Kivity <avi@redhat.com>
To: Ulrich Obergfell <uobergfe@redhat.com>
Cc: kvm@vger.kernel.org, zamsden@redhat.com, mtosatti@redhat.com,
Glauber Costa <glommer@redhat.com>
Subject: Re: [RFC 0/4] KVM in-kernel PM Timer implementation
Date: Tue, 14 Dec 2010 17:12:05 +0200 [thread overview]
Message-ID: <4D078945.7080807@redhat.com> (raw)
In-Reply-To: <1656215019.700771292337892260.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>
On 12/14/2010 04:44 PM, Ulrich Obergfell wrote:
> >
> > Partial emulation is not something I like since it causes a fuzzy
> > kernel/user boundary. In this case, transitioning to userspace when
> > interrupts are enabled doesn't look so hot. Are you sure all guests
> > that benefit from this don't enable the pmtimer interrupt? What about
> > the transition? Will we have a time discontinuity when that happens?
>
> Avi,
>
> the idea is to use the '-kvm-pmtmr' option (in code part 4) only
> with guests that do not enable the 'timer carry interrupt'. Guests
> that need to enable the 'timer carry interrupt' should rather use
> the PM Timer emulation in qemu userspace (i.e. they should not be
> started with this option). If a guest is accidentally started with
> this option, the in-kernel PM Timer (in code part 1) detects if
> the guest attempts to enable the 'timer carry interrupt' and falls
> back to PM Timer emulation in qemu userspace (in-kernel PM Timer
> disables itself automatically). So, this is not a combination of
> in-kernel PM Timer register emulation and qemu userspace PM Timer
> interrupt emulation.
>
We really try to avoid guest specific parameters. Having to decide if
the guest has virtio is bad enough, but going into low level details
like that is really bad. The host admin might not even know what
operating systems its guests run.
A guest might even dual boot two different operating systems.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2010-12-14 15:12 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <953393305.700721292337871455.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>
2010-12-14 14:44 ` [RFC 0/4] KVM in-kernel PM Timer implementation Ulrich Obergfell
2010-12-14 15:12 ` Avi Kivity [this message]
[not found] <1956121317.795411292413874075.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>
2010-12-15 11:53 ` Ulrich Obergfell
2012-02-21 18:10 ` Peter Lieven
[not found] <344060531.680691292328457867.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>
2010-12-14 12:09 ` Ulrich Obergfell
2010-12-14 13:34 ` Avi Kivity
2010-12-14 13:40 ` Glauber Costa
2010-12-14 13:49 ` Avi Kivity
2010-12-14 13:52 ` Gleb Natapov
2010-12-14 15:32 ` Anthony Liguori
2010-12-14 15:38 ` Avi Kivity
2010-12-14 16:04 ` Anthony Liguori
2010-12-15 9:33 ` Avi Kivity
2010-12-14 15:29 ` Anthony Liguori
2010-12-14 18:00 ` David S. Ahern
2010-12-14 19:49 ` Anthony Liguori
2010-12-14 19:54 ` David S. Ahern
2010-12-14 21:46 ` Anthony Liguori
2010-12-14 23:59 ` David S. Ahern
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=4D078945.7080807@redhat.com \
--to=avi@redhat.com \
--cc=glommer@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=uobergfe@redhat.com \
--cc=zamsden@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox