public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* RFC/patch 0/3 portability: please review
@ 2007-10-30 17:44 Carsten Otte
       [not found] ` <1193766253.7800.43.camel-WIxn4w2hgUz3YA32ykw5MLlKpX0K8NHHQQ4Iyu8u01E@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Carsten Otte @ 2007-10-30 17:44 UTC (permalink / raw)
  To: Avi Kivity, Hollis Blanchard, Zhang, Xiantao
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org

Thanks to Xiantao and Hollis for your quick review of last patch series.
Thanks Avi for finding time to pick up last patches on your trip to
Japan.

This series of patches moves more code from kvm_main.c to x86.c. I start
seeing the light at the end of the tunnel, I think these should be the
last big blocks that don't fit into kvm_main.c for s390. From here on, I
think I will use a much smaller hammer to get all the details right. :-)

Please review the patches to make sure nothing gets moved out that
should be common.


-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: RFC/patch 0/3 portability: please review
       [not found] ` <1193766253.7800.43.camel-WIxn4w2hgUz3YA32ykw5MLlKpX0K8NHHQQ4Iyu8u01E@public.gmane.org>
@ 2007-10-30 20:34   ` Zhang, Xiantao
       [not found]     ` <42DFA526FC41B1429CE7279EF83C6BDC8B5856-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
  2007-10-31  0:36   ` Avi Kivity
  1 sibling, 1 reply; 8+ messages in thread
From: Zhang, Xiantao @ 2007-10-30 20:34 UTC (permalink / raw)
  To: Carsten Otte, Avi Kivity, Hollis Blanchard
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Carsten Otte wrote:
> Thanks to Xiantao and Hollis for your quick review of last patch
> series. Thanks Avi for finding time to pick up last patches on your
> trip to Japan.
> 
> This series of patches moves more code from kvm_main.c to x86.c. I
> start seeing the light at the end of the tunnel, I think these should
> be the last big blocks that don't fit into kvm_main.c for s390. From
> here on, I think I will use a much smaller hammer to get all the
> details right. :-) 
> 
> Please review the patches to make sure nothing gets moved out that
> should be common.

Basically, It doesn't impact our side. For patch 2/3, we had better find
an approach to handle mmio-realted functions, becasue they may exist in
most archs. 
For IA64, if this move happens, we have to duplicate them in IA64 side.

Thanks 
Xiantao




>
------------------------------------------------------------------------
-
> 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/ _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: RFC/patch 0/3 portability: please review
       [not found]     ` <42DFA526FC41B1429CE7279EF83C6BDC8B5856-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2007-10-30 21:53       ` Carsten Otte
       [not found]         ` <4727A7D6.5010406-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Carsten Otte @ 2007-10-30 21:53 UTC (permalink / raw)
  To: Zhang, Xiantao
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Hollis Blanchard,
	Avi Kivity

Zhang, Xiantao wrote:
> Basically, It doesn't impact our side. For patch 2/3, we had better find
> an approach to handle mmio-realted functions, becasue they may exist in
> most archs. 
> For IA64, if this move happens, we have to duplicate them in IA64 side.
Thanks for your feedback. This matches Hollis' view, I'll try to 
rework that patch. We're really the only platform without mmio, that's 
a s390 special case. I'll leave it in common and find a way around for 
s390.

cheers,
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: RFC/patch 0/3 portability: please review
       [not found]         ` <4727A7D6.5010406-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
@ 2007-10-30 22:00           ` Hollis Blanchard
  2007-10-30 22:10             ` Carsten Otte
  2007-10-31  2:17             ` Zhang, Xiantao
  0 siblings, 2 replies; 8+ messages in thread
From: Hollis Blanchard @ 2007-10-30 22:00 UTC (permalink / raw)
  To: carsteno-tA70FqPdS9bQT0dZR+AlfA
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Avi Kivity,
	Zhang,  Xiantao

On Tue, 2007-10-30 at 22:53 +0100, Carsten Otte wrote:
> Zhang, Xiantao wrote:
> > Basically, It doesn't impact our side. For patch 2/3, we had better find
> > an approach to handle mmio-realted functions, becasue they may exist in
> > most archs. 
> > For IA64, if this move happens, we have to duplicate them in IA64 side.
> Thanks for your feedback. This matches Hollis' view, I'll try to 
> rework that patch. We're really the only platform without mmio, that's 
> a s390 special case. I'll leave it in common and find a way around for 
> s390.

Well, those functions right now are hacks that assume the only in-kernel
device is an APIC. That won't even build for anybody who doesn't have
vcpu->apic... that's why I say go ahead and move them, and we can worry
about it later.

-- 
Hollis Blanchard
IBM Linux Technology Center


-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: RFC/patch 0/3 portability: please review
  2007-10-30 22:00           ` Hollis Blanchard
@ 2007-10-30 22:10             ` Carsten Otte
       [not found]               ` <4727ABBE.5090903-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
  2007-10-31  2:17             ` Zhang, Xiantao
  1 sibling, 1 reply; 8+ messages in thread
From: Carsten Otte @ 2007-10-30 22:10 UTC (permalink / raw)
  To: Hollis Blanchard
  Cc: carsteno-tA70FqPdS9bQT0dZR+AlfA,
	kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Avi Kivity,
	Zhang, Xiantao

Hollis Blanchard wrote:
> On Tue, 2007-10-30 at 22:53 +0100, Carsten Otte wrote:
>> Zhang, Xiantao wrote:
>>> Basically, It doesn't impact our side. For patch 2/3, we had better find
>>> an approach to handle mmio-realted functions, becasue they may exist in
>>> most archs. 
>>> For IA64, if this move happens, we have to duplicate them in IA64 side.
>> Thanks for your feedback. This matches Hollis' view, I'll try to 
>> rework that patch. We're really the only platform without mmio, that's 
>> a s390 special case. I'll leave it in common and find a way around for 
>> s390.
> 
> Well, those functions right now are hacks that assume the only in-kernel
> device is an APIC. That won't even build for anybody who doesn't have
> vcpu->apic... that's why I say go ahead and move them, and we can worry
> about it later.
Right. Xiantao, does ia64 have an apic? Or do you intend to use the 
code different from x86?

-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: RFC/patch 0/3 portability: please review
       [not found] ` <1193766253.7800.43.camel-WIxn4w2hgUz3YA32ykw5MLlKpX0K8NHHQQ4Iyu8u01E@public.gmane.org>
  2007-10-30 20:34   ` Zhang, Xiantao
@ 2007-10-31  0:36   ` Avi Kivity
  1 sibling, 0 replies; 8+ messages in thread
From: Avi Kivity @ 2007-10-31  0:36 UTC (permalink / raw)
  To: Carsten Otte
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	Zhang,  Xiantao, Hollis Blanchard

Carsten Otte wrote:
> Thanks to Xiantao and Hollis for your quick review of last patch series.
> Thanks Avi for finding time to pick up last patches on your trip to
> Japan.
>
> This series of patches moves more code from kvm_main.c to x86.c. I start
> seeing the light at the end of the tunnel, I think these should be the
> last big blocks that don't fit into kvm_main.c for s390. From here on, I
> think I will use a much smaller hammer to get all the details right. :-)
>
>   

Thanks; all three applied.

-- 
Any sufficiently difficult bug is indistinguishable from a feature.


-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: RFC/patch 0/3 portability: please review
       [not found]               ` <4727ABBE.5090903-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
@ 2007-10-31  2:15                 ` Zhang, Xiantao
  0 siblings, 0 replies; 8+ messages in thread
From: Zhang, Xiantao @ 2007-10-31  2:15 UTC (permalink / raw)
  To: carsteno-tA70FqPdS9bQT0dZR+AlfA, Hollis Blanchard
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Avi Kivity

Carsten Otte wrote:
> Hollis Blanchard wrote:
>> On Tue, 2007-10-30 at 22:53 +0100, Carsten Otte wrote:
>>> Zhang, Xiantao wrote:
>>>> Basically, It doesn't impact our side. For patch 2/3, we had
>>>> better find an approach to handle mmio-realted functions, becasue
>>>> they may exist in most archs. For IA64, if this move happens, we
>>>> have to duplicate them in IA64 side. 
>>> Thanks for your feedback. This matches Hollis' view, I'll try to
>>> rework that patch. We're really the only platform without mmio,
>>> that's a s390 special case. I'll leave it in common and find a way
>>> around for s390.
>> 
>> Well, those functions right now are hacks that assume the only
>> in-kernel device is an APIC. That won't even build for anybody who
>> doesn't have vcpu->apic... that's why I say go ahead and move them,
>> and we can worry about it later.
> Right. Xiantao, does ia64 have an apic? Or do you intend to use the
> code different from x86?

Yes, IA64 has sapic which has mostly same logic with apic. So, we can
reuse all ioapic code belongs to x86. I will find the approach to handle
it once IA64 code in.

-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: RFC/patch 0/3 portability: please review
  2007-10-30 22:00           ` Hollis Blanchard
  2007-10-30 22:10             ` Carsten Otte
@ 2007-10-31  2:17             ` Zhang, Xiantao
  1 sibling, 0 replies; 8+ messages in thread
From: Zhang, Xiantao @ 2007-10-31  2:17 UTC (permalink / raw)
  To: Hollis Blanchard, carsteno-tA70FqPdS9bQT0dZR+AlfA
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Avi Kivity

Hollis Blanchard wrote:
> On Tue, 2007-10-30 at 22:53 +0100, Carsten Otte wrote:
>> Zhang, Xiantao wrote:
>>> Basically, It doesn't impact our side. For patch 2/3, we had better
>>> find an approach to handle mmio-realted functions, becasue they may
>>> exist in most archs. For IA64, if this move happens, we have to
>>> duplicate them in IA64 side. 
>> Thanks for your feedback. This matches Hollis' view, I'll try to
>> rework that patch. We're really the only platform without mmio,
>> that's a s390 special case. I'll leave it in common and find a way
>> around for s390.
> 
> Well, those functions right now are hacks that assume the only
> in-kernel device is an APIC. That won't even build for anybody who
> doesn't have vcpu->apic... that's why I say go ahead and move them,
> and we can worry about it later.
IA64 has apic, and would reuse all ioapic code for in-kernel ioapic
emualtion. But for now, we can move it, and handle it later. :)

-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-10-31  2:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-30 17:44 RFC/patch 0/3 portability: please review Carsten Otte
     [not found] ` <1193766253.7800.43.camel-WIxn4w2hgUz3YA32ykw5MLlKpX0K8NHHQQ4Iyu8u01E@public.gmane.org>
2007-10-30 20:34   ` Zhang, Xiantao
     [not found]     ` <42DFA526FC41B1429CE7279EF83C6BDC8B5856-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-30 21:53       ` Carsten Otte
     [not found]         ` <4727A7D6.5010406-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-10-30 22:00           ` Hollis Blanchard
2007-10-30 22:10             ` Carsten Otte
     [not found]               ` <4727ABBE.5090903-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-10-31  2:15                 ` Zhang, Xiantao
2007-10-31  2:17             ` Zhang, Xiantao
2007-10-31  0:36   ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox