All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: "Dong, Eddie" <eddie.dong-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: User space for lapic2
Date: Tue, 10 Jul 2007 16:07:46 +0300	[thread overview]
Message-ID: <469384A2.1070407@qumranet.com> (raw)
In-Reply-To: <10EA09EFD8728347A513008B6B0DA77A01BD792E-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>

Dong, Eddie wrote:
> kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote:
>   
>> Avi Kivity wrote:
>>     
>>> Dong, Eddie wrote:
>>>       
>>>> Avi:
>>>> 	To make lapic code into mainline earlier, I am thinking what
>>>> should the user space code look like.  If we wait till lapic branch
>>>> has all same functionality as mainline have today i.e. live
>>>> migration, all guests etc, we may have very long way to go given
>>>> that only Greg (temply off), me have contribution to the code
>>>> besides you. So what I am thinking is to reduce the bar to "no
>>>> regression", which means a user space command to choice kernel
>>>> pic/apic. When choosing user pic/apic, we make sure everything works
>>>> including livemigration and all known good guests; if choosing
>>>> kernel pic/apic, we have better performance but some feature lagging
>>>> 	such as live migration. Does this make sense? If yes, How about
>>>> command option "-irqchip k" and "-irqchip u"? the default value is
>>>> user. 
>>>>
>>>>         
>>> That doesn't work; one day we'll make kernel apic the default, and
>>> then that new userspace won't work with kernels that have in-kernel
>>> pic but not lapic. 
>>>
>>>       
>> After we get everything settled down, we can switch the default
>> setting to "kernel". BTW, I am talking about generic lapic solution,
>> not current one in lapic2 branch. Definitely we need to pull in
>> kernel apic+ioapic first before the push back. But I think now we
>> should make a high level decision on how we will handle this merge
>> and how will user space look like. 
>>
>>     
> Avi:
> 	Can u show clear light here? We need to go forward quickly:-)
> Eddie
>   

If we release a kernel with pic but not lapic, and userspace that 
defaults to user-pic+lapic, then that kernel will not work with a newer 
userspace that defaults to in-kernel pic+lapic.

We need to switch in one go.  I don't mind checking in patches to the 
lapic2 branch, and continually rebasing it against master, but a release 
will only happen when everything works.

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

  parent reply	other threads:[~2007-07-10 13:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-09  0:35 User space for lapic2 Dong, Eddie
     [not found] ` <10EA09EFD8728347A513008B6B0DA77A01B8F537-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-07-09 13:00   ` Avi Kivity
     [not found]     ` <46923177.7080807-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-07-10  0:42       ` Dong, Eddie
     [not found]         ` <10EA09EFD8728347A513008B6B0DA77A01BD733F-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-07-10 13:04           ` Dong, Eddie
     [not found]             ` <10EA09EFD8728347A513008B6B0DA77A01BD792E-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-07-10 13:07               ` Avi Kivity [this message]
     [not found]                 ` <469384A2.1070407-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-07-10 13:22                   ` Dong, Eddie
     [not found]                     ` <10EA09EFD8728347A513008B6B0DA77A01BD7933-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-07-10 13:45                       ` Avi Kivity
     [not found]                         ` <46938D70.7060106-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-07-10 14:08                           ` Dong, Eddie
  -- strict thread matches above, loose matches on Subject: below --
2007-07-10 14:29 Gregory Haskins
     [not found] ` <46935F990200005A000273CA-Igcdv/6uVdMHoYOw/+koYqIwWpluYiW7@public.gmane.org>
2007-07-11  1:34   ` Dong, Eddie
2007-07-11  1:40 Gregory Haskins

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=469384A2.1070407@qumranet.com \
    --to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=eddie.dong-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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.