public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Carsten Otte <cotte-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	"Zhang,
	Xiantao" <xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: Re: [Patch][RFC]Split kvm_vcpu to support new archs.
Date: Mon, 15 Oct 2007 10:32:00 +0200	[thread overview]
Message-ID: <47132580.80705@de.ibm.com> (raw)
In-Reply-To: <471075A4.5030809-atKUWr5tajBWk0Htik3J/w@public.gmane.org>

Avi Kivity wrote:
> Zhang, Xiantao wrote:
[in struct kvm_vcpu]
>>  	int interrupt_window_open;
> arch specific, though maybe it's close enough to generic

I thought about this field for a while. What we really want, is that 
the common code can figure wheter or not it is a good idea to send an 
interrupt. All architectures (even including s390) could encode an 
interrupt number in a 64bit value. To me, it looks like a callback for 
this like
int kvm_arch_interrupt_window_open(u64 interrupt);
would be the right abstraction. No need to solve this whole thing with 
this patch though, that aims at splitting kvm_vcpu.

so long,
Carsten

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

      parent reply	other threads:[~2007-10-15  8:32 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-12  6:07 [Patch][RFC]Split kvm_vcpu to support new archs Zhang, Xiantao
     [not found] ` <42DFA526FC41B1429CE7279EF83C6BDC808C85-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-12  8:37   ` Christian Ehrhardt
     [not found]     ` <470F3240.7060008-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2007-10-12  8:51       ` Zhang, Xiantao
     [not found]         ` <42DFA526FC41B1429CE7279EF83C6BDC808D59-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-12  9:04           ` Carsten Otte
     [not found]             ` <470F38A6.1030106-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-10-12 10:36               ` Zhang, Xiantao
     [not found]                 ` <42DFA526FC41B1429CE7279EF83C6BDC808D7D-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-12 10:40                   ` Carsten Otte
     [not found]                     ` <470F4F26.3050709-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-10-12 10:42                       ` Zhang, Xiantao
2007-10-12  9:00   ` Carsten Otte
     [not found]     ` <470F37A5.8090104-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-10-12  9:11       ` Zhang, Xiantao
     [not found]         ` <42DFA526FC41B1429CE7279EF83C6BDC808D68-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-12  9:17           ` Carsten Otte
     [not found]             ` <470F3B9A.8040108-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-10-12  9:20               ` Zhang, Xiantao
2007-10-13  7:37   ` Avi Kivity
     [not found]     ` <471075A4.5030809-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-15  4:22       ` Zhang, Xiantao
     [not found]         ` <42DFA526FC41B1429CE7279EF83C6BDC808F90-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-15  9:14           ` Avi Kivity
     [not found]             ` <47132F84.9070002-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-16  9:55               ` Zhang, Xiantao
     [not found]                 ` <42DFA526FC41B1429CE7279EF83C6BDC809429-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-16 10:09                   ` Dong, Eddie
2007-10-16 10:21                   ` Avi Kivity
     [not found]                     ` <471490A8.5050502-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-16 10:27                       ` Zhang, Xiantao
     [not found]                         ` <42DFA526FC41B1429CE7279EF83C6BDC809434-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-16 10:32                           ` Avi Kivity
     [not found]                             ` <4714933E.2050201-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-16 11:31                               ` Zhang, Xiantao
2007-10-15  8:32       ` Carsten Otte [this message]

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=47132580.80705@de.ibm.com \
    --to=cotte-ta70fqpds9bqt0dzr+alfa@public.gmane.org \
    --cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
    --cc=carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox