All of lore.kernel.org
 help / color / mirror / Atom feed
* Several questions from a freshman to Xen
@ 2011-10-13 15:51 Zhengwang Ruan (Royo)
  2011-10-13 18:42 ` Konrad Rzeszutek Wilk
  2011-10-13 19:07 ` Pasi Kärkkäinen
  0 siblings, 2 replies; 8+ messages in thread
From: Zhengwang Ruan (Royo) @ 2011-10-13 15:51 UTC (permalink / raw)
  To: xen-devel

Hi Guys,

I am new man with some confusions to this amazing technology, hope you 
guys give answers to help me better understand Xen. :)

1, You guys have been working on developing many releases, do you guys 
have agreements on developing every source code based on a fixed linux 
kernel version before starting a new release? If so, how could I know 
the corresponding kernel version to a given xen release? I tried to find 
answer for myself on the following wiki page, but it is not latest enough.

http://wiki.xen.org/xenwiki/DistributionSupport

2, I found some interesting source files in xen-4.1.1 release, I listed 
them below:

$ ll
drwx------ 4 royo royo 16384 2011-10-12 00:20 arch/
drwx------ 5 royo royo 16384 2011-06-15 00:03 common/
-rw-r--r-- 1 royo royo 19185 2011-06-15 00:03 COPYING
drwx------ 2 royo royo 16384 2011-06-15 00:03 crypto/
drwx------ 8 royo royo 16384 2011-06-15 00:03 drivers/
drwx------ 9 royo royo 16384 2011-06-15 00:03 include/
-rw-r--r-- 1 royo royo  5529 2011-06-15 00:03 Makefile
-rw-r--r-- 1 royo royo  3498 2011-06-15 00:03 Rules.mk
drwx------ 3 royo royo 16384 2011-06-15 00:03 tools/
drwx------ 4 royo royo 16384 2011-06-15 00:03 xsm/

Are these files going to replace or be added to linux kernel source 
while making dm0? I am amazed that this release can be installed to many 
linux distributions with different kernel, how could you guys achieve this?

Thanks,
Royo

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

* Re: Several questions from a freshman to Xen
  2011-10-13 15:51 Several questions from a freshman to Xen Zhengwang Ruan (Royo)
@ 2011-10-13 18:42 ` Konrad Rzeszutek Wilk
  2011-10-14 13:04   ` Zhengwang Ruan (Royo)
  2011-10-17 14:27   ` Ian Jackson
  2011-10-13 19:07 ` Pasi Kärkkäinen
  1 sibling, 2 replies; 8+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-10-13 18:42 UTC (permalink / raw)
  To: Zhengwang Ruan (Royo); +Cc: xen-devel

On Thu, Oct 13, 2011 at 11:51:01PM +0800, Zhengwang Ruan (Royo) wrote:
> Hi Guys,
> 
> I am new man with some confusions to this amazing technology, hope
> you guys give answers to help me better understand Xen. :)
> 
> 1, You guys have been working on developing many releases, do you
> guys have agreements on developing every source code based on a
> fixed linux kernel version before starting a new release? If so, how

No.
> could I know the corresponding kernel version to a given xen
> release? I tried to find answer for myself on the following wiki
> page, but it is not latest enough.

Anything past 3.0 kernel should work. Every Linux kernel release
we fix bugs and add new features.

Look in Paravirt Wiki for the roadmap of what we want to
have in 3.2 and 3.3 Linux kernel.
> 
> http://wiki.xen.org/xenwiki/DistributionSupport
> 
> 2, I found some interesting source files in xen-4.1.1 release, I
> listed them below:
> 
> $ ll
> drwx------ 4 royo royo 16384 2011-10-12 00:20 arch/
> drwx------ 5 royo royo 16384 2011-06-15 00:03 common/
> -rw-r--r-- 1 royo royo 19185 2011-06-15 00:03 COPYING
> drwx------ 2 royo royo 16384 2011-06-15 00:03 crypto/
> drwx------ 8 royo royo 16384 2011-06-15 00:03 drivers/
> drwx------ 9 royo royo 16384 2011-06-15 00:03 include/
> -rw-r--r-- 1 royo royo  5529 2011-06-15 00:03 Makefile
> -rw-r--r-- 1 royo royo  3498 2011-06-15 00:03 Rules.mk
> drwx------ 3 royo royo 16384 2011-06-15 00:03 tools/
> drwx------ 4 royo royo 16384 2011-06-15 00:03 xsm/
> 
> Are these files going to replace or be added to linux kernel source
> while making dm0? I am amazed that this release can be installed to

Why would they?

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

* Re: Several questions from a freshman to Xen
  2011-10-13 15:51 Several questions from a freshman to Xen Zhengwang Ruan (Royo)
  2011-10-13 18:42 ` Konrad Rzeszutek Wilk
@ 2011-10-13 19:07 ` Pasi Kärkkäinen
  2011-10-14 12:55   ` Zhengwang Ruan (Royo)
  1 sibling, 1 reply; 8+ messages in thread
From: Pasi Kärkkäinen @ 2011-10-13 19:07 UTC (permalink / raw)
  To: Zhengwang Ruan (Royo); +Cc: xen-devel

On Thu, Oct 13, 2011 at 11:51:01PM +0800, Zhengwang Ruan (Royo) wrote:
> Hi Guys,
>

Hello,

> I am new man with some confusions to this amazing technology, hope you  
> guys give answers to help me better understand Xen. :)
>

Maybe this wiki page gives some general info about Xen:
http://wiki.xen.org/xenwiki/XenOverview


And these PDFs:
http://xen.org/files/Marketing/WhatisXen.pdf
http://xen.org/files/Marketing/WhyXen.pdf


> 1, You guys have been working on developing many releases, do you guys  
> have agreements on developing every source code based on a fixed linux  
> kernel version before starting a new release? If so, how could I know  
> the corresponding kernel version to a given xen release? I tried to find  
> answer for myself on the following wiki page, but it is not latest 
> enough.
>

Are you talking about dom0 kernel? or domU kernel?

Xen hypervisor (xen.gz) is the compatibility layer,
so dom0 and domUs (VMs) can all have different Linux kernel versions.

> http://wiki.xen.org/xenwiki/DistributionSupport
>
> 2, I found some interesting source files in xen-4.1.1 release, I listed  
> them below:
>
> $ ll
> drwx------ 4 royo royo 16384 2011-10-12 00:20 arch/
> drwx------ 5 royo royo 16384 2011-06-15 00:03 common/
> -rw-r--r-- 1 royo royo 19185 2011-06-15 00:03 COPYING
> drwx------ 2 royo royo 16384 2011-06-15 00:03 crypto/
> drwx------ 8 royo royo 16384 2011-06-15 00:03 drivers/
> drwx------ 9 royo royo 16384 2011-06-15 00:03 include/
> -rw-r--r-- 1 royo royo  5529 2011-06-15 00:03 Makefile
> -rw-r--r-- 1 royo royo  3498 2011-06-15 00:03 Rules.mk
> drwx------ 3 royo royo 16384 2011-06-15 00:03 tools/
> drwx------ 4 royo royo 16384 2011-06-15 00:03 xsm/
>
> Are these files going to replace or be added to linux kernel source  
> while making dm0? I am amazed that this release can be installed to many  
> linux distributions with different kernel, how could you guys achieve 
> this?
>

Xen hypervisor (xen.gz) is a totally separate binary, it's not "mixed" to/with Linux kernel.

- For Xen dom0 you need to use a Linux kernel that has Xen dom0 support enabled.
- For Xen PV domUs (VMs) you need to use a Linux kernel that has Xen PV domU support enabled.
- For Xen HVM VMs you don't need a special kernel, but having Xen PVHVM drivers in the kernel will boost disk/net performance.

Xen related features in different Linux kernel versions:
http://wiki.xen.org/xenwiki/XenParavirtOps


-- Pasi

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

* Re: Several questions from a freshman to Xen
  2011-10-13 19:07 ` Pasi Kärkkäinen
@ 2011-10-14 12:55   ` Zhengwang Ruan (Royo)
  0 siblings, 0 replies; 8+ messages in thread
From: Zhengwang Ruan (Royo) @ 2011-10-14 12:55 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 3220 bytes --]



On 2011?10?14? 03:07, Pasi Kärkkäinen wrote:
> On Thu, Oct 13, 2011 at 11:51:01PM +0800, Zhengwang Ruan (Royo) wrote:
>> Hi Guys,
>>
> Hello,
>
>> I am new man with some confusions to this amazing technology, hope you
>> guys give answers to help me better understand Xen. :)
>>
> Maybe this wiki page gives some general info about Xen:
> http://wiki.xen.org/xenwiki/XenOverview
>
>
> And these PDFs:
> http://xen.org/files/Marketing/WhatisXen.pdf
> http://xen.org/files/Marketing/WhyXen.pdf
>
>
>> 1, You guys have been working on developing many releases, do you guys
>> have agreements on developing every source code based on a fixed linux
>> kernel version before starting a new release? If so, how could I know
>> the corresponding kernel version to a given xen release? I tried to find
>> answer for myself on the following wiki page, but it is not latest
>> enough.
>>
> Are you talking about dom0 kernel? or domU kernel?
>
> Xen hypervisor (xen.gz) is the compatibility layer,
> so dom0 and domUs (VMs) can all have different Linux kernel versions.

Hi Pasi,


I refer to dom0 here. I got many details on wiki 
http://wiki.xen.org/xenwiki/XenParavirtOps , it helps me understand some.

 From this page, I know you guys developed xen-3.x based on 
linux-2.6.18, and and xen-4.x on 2.6.32, am I right? So these two 
versions of kernel should be supported mostly, right?

For domU, each kernel from kernel.org should be working as a guest?


<http://wiki.xen.org/xenwiki/XenParavirtOps>
>> http://wiki.xen.org/xenwiki/DistributionSupport
>>
>> 2, I found some interesting source files in xen-4.1.1 release, I listed
>> them below:
>>
>> $ ll
>> drwx------ 4 royo royo 16384 2011-10-12 00:20 arch/
>> drwx------ 5 royo royo 16384 2011-06-15 00:03 common/
>> -rw-r--r-- 1 royo royo 19185 2011-06-15 00:03 COPYING
>> drwx------ 2 royo royo 16384 2011-06-15 00:03 crypto/
>> drwx------ 8 royo royo 16384 2011-06-15 00:03 drivers/
>> drwx------ 9 royo royo 16384 2011-06-15 00:03 include/
>> -rw-r--r-- 1 royo royo  5529 2011-06-15 00:03 Makefile
>> -rw-r--r-- 1 royo royo  3498 2011-06-15 00:03 Rules.mk
>> drwx------ 3 royo royo 16384 2011-06-15 00:03 tools/
>> drwx------ 4 royo royo 16384 2011-06-15 00:03 xsm/
>>
>> Are these files going to replace or be added to linux kernel source
>> while making dm0? I am amazed that this release can be installed to many
>> linux distributions with different kernel, how could you guys achieve
>> this?
>>
> Xen hypervisor (xen.gz) is a totally separate binary, it's not "mixed" to/with Linux kernel.

And, xen-4.1.1 is compiled to generate xen.gz which is started by dom0 
and running on/inside dom0 as Hypervisor?

> - For Xen dom0 you need to use a Linux kernel that has Xen dom0 support enabled.
> - For Xen PV domUs (VMs) you need to use a Linux kernel that has Xen PV domU support enabled.
> - For Xen HVM VMs you don't need a special kernel, but having Xen PVHVM drivers in the kernel will boost disk/net

PVHVM drivers are implemented using xenbus? The drivers in xenbus/ 
directory are you called PVHVM drivers?

Thanks,
Royo

> performance.
>
> Xen related features in different Linux kernel versions:
> http://wiki.xen.org/xenwiki/XenParavirtOps
>
>
> -- Pasi
>

[-- Attachment #1.2: Type: text/html, Size: 5125 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

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

* Re: Several questions from a freshman to Xen
  2011-10-13 18:42 ` Konrad Rzeszutek Wilk
@ 2011-10-14 13:04   ` Zhengwang Ruan (Royo)
  2011-10-14 13:58     ` Konrad Rzeszutek Wilk
  2011-10-17 14:27   ` Ian Jackson
  1 sibling, 1 reply; 8+ messages in thread
From: Zhengwang Ruan (Royo) @ 2011-10-14 13:04 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: xen-devel



On 2011年10月14日 02:42, Konrad Rzeszutek Wilk wrote:
> On Thu, Oct 13, 2011 at 11:51:01PM +0800, Zhengwang Ruan (Royo) wrote:
>> Hi Guys,
>>
>> I am new man with some confusions to this amazing technology, hope
>> you guys give answers to help me better understand Xen. :)
>>
>> 1, You guys have been working on developing many releases, do you
>> guys have agreements on developing every source code based on a
>> fixed linux kernel version before starting a new release? If so, how
> No.
>> could I know the corresponding kernel version to a given xen
>> release? I tried to find answer for myself on the following wiki
>> page, but it is not latest enough.
> Anything past 3.0 kernel should work. Every Linux kernel release
> we fix bugs and add new features.

They are the kernel releases in the git repository

http://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git

?


> Look in Paravirt Wiki for the roadmap of what we want to
> have in 3.2 and 3.3 Linux kernel.

See, really good roadmap!


>> http://wiki.xen.org/xenwiki/DistributionSupport
>>
>> 2, I found some interesting source files in xen-4.1.1 release, I
>> listed them below:
>>
>> $ ll
>> drwx------ 4 royo royo 16384 2011-10-12 00:20 arch/
>> drwx------ 5 royo royo 16384 2011-06-15 00:03 common/
>> -rw-r--r-- 1 royo royo 19185 2011-06-15 00:03 COPYING
>> drwx------ 2 royo royo 16384 2011-06-15 00:03 crypto/
>> drwx------ 8 royo royo 16384 2011-06-15 00:03 drivers/
>> drwx------ 9 royo royo 16384 2011-06-15 00:03 include/
>> -rw-r--r-- 1 royo royo  5529 2011-06-15 00:03 Makefile
>> -rw-r--r-- 1 royo royo  3498 2011-06-15 00:03 Rules.mk
>> drwx------ 3 royo royo 16384 2011-06-15 00:03 tools/
>> drwx------ 4 royo royo 16384 2011-06-15 00:03 xsm/
>>
>> Are these files going to replace or be added to linux kernel source
>> while making dm0? I am amazed that this release can be installed to
> Why would they?

Sorry, I misunderstood xen-4.1.1 as part of dom0, and would be merged 
into kernel to produce a dom0, but I know I was wrong. :)

Thanks,
Royo

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

* Re: Several questions from a freshman to Xen
  2011-10-14 13:04   ` Zhengwang Ruan (Royo)
@ 2011-10-14 13:58     ` Konrad Rzeszutek Wilk
  2011-10-14 14:11       ` Zhengwang Ruan (Royo)
  0 siblings, 1 reply; 8+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-10-14 13:58 UTC (permalink / raw)
  To: Zhengwang Ruan (Royo); +Cc: xen-devel

On Fri, Oct 14, 2011 at 09:04:04PM +0800, Zhengwang Ruan (Royo) wrote:
> 
> 
> On 2011年10月14日 02:42, Konrad Rzeszutek Wilk wrote:
> >On Thu, Oct 13, 2011 at 11:51:01PM +0800, Zhengwang Ruan (Royo) wrote:
> >>Hi Guys,
> >>
> >>I am new man with some confusions to this amazing technology, hope
> >>you guys give answers to help me better understand Xen. :)
> >>
> >>1, You guys have been working on developing many releases, do you
> >>guys have agreements on developing every source code based on a
> >>fixed linux kernel version before starting a new release? If so, how
> >No.
> >>could I know the corresponding kernel version to a given xen
> >>release? I tried to find answer for myself on the following wiki
> >>page, but it is not latest enough.
> >Anything past 3.0 kernel should work. Every Linux kernel release
> >we fix bugs and add new features.
> 
> They are the kernel releases in the git repository
> 
> http://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git

Well, not yet since the git.kernel.org had an issue. Instead use
the upstream kernel which has all of those features.

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

* Re: Several questions from a freshman to Xen
  2011-10-14 13:58     ` Konrad Rzeszutek Wilk
@ 2011-10-14 14:11       ` Zhengwang Ruan (Royo)
  0 siblings, 0 replies; 8+ messages in thread
From: Zhengwang Ruan (Royo) @ 2011-10-14 14:11 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: xen-devel



On 2011年10月14日 21:58, Konrad Rzeszutek Wilk wrote:
> On Fri, Oct 14, 2011 at 09:04:04PM +0800, Zhengwang Ruan (Royo) wrote:
>>
>> On 2011年10月14日 02:42, Konrad Rzeszutek Wilk wrote:
>>> On Thu, Oct 13, 2011 at 11:51:01PM +0800, Zhengwang Ruan (Royo) wrote:
>>>> Hi Guys,
>>>>
>>>> I am new man with some confusions to this amazing technology, hope
>>>> you guys give answers to help me better understand Xen. :)
>>>>
>>>> 1, You guys have been working on developing many releases, do you
>>>> guys have agreements on developing every source code based on a
>>>> fixed linux kernel version before starting a new release? If so, how
>>> No.
>>>> could I know the corresponding kernel version to a given xen
>>>> release? I tried to find answer for myself on the following wiki
>>>> page, but it is not latest enough.
>>> Anything past 3.0 kernel should work. Every Linux kernel release
>>> we fix bugs and add new features.
>> They are the kernel releases in the git repository
>>
>> http://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git
> Well, not yet since the git.kernel.org had an issue. Instead use
> the upstream kernel which has all of those features.

Ok, thank you very much!

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

* Re: Several questions from a freshman to Xen
  2011-10-13 18:42 ` Konrad Rzeszutek Wilk
  2011-10-14 13:04   ` Zhengwang Ruan (Royo)
@ 2011-10-17 14:27   ` Ian Jackson
  1 sibling, 0 replies; 8+ messages in thread
From: Ian Jackson @ 2011-10-17 14:27 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: xen-devel, Zhengwang Ruan (Royo)

Konrad Rzeszutek Wilk writes ("Re: [Xen-devel] Several questions from a freshman to Xen"):
> On Thu, Oct 13, 2011 at 11:51:01PM +0800, Zhengwang Ruan (Royo) wrote:
> > I am new man with some confusions to this amazing technology, hope
> > you guys give answers to help me better understand Xen. :)
> > 
> > 1, You guys have been working on developing many releases, do you
> > guys have agreements on developing every source code based on a
> > fixed linux kernel version before starting a new release? If so, how
...
> > could I know the corresponding kernel version to a given xen
> > release? I tried to find answer for myself on the following wiki
> > page, but it is not latest enough.
> 
> Anything past 3.0 kernel should work. Every Linux kernel release
> we fix bugs and add new features.

I think this enquirer would be better directed to xen-users.

Ian.

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

end of thread, other threads:[~2011-10-17 14:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-13 15:51 Several questions from a freshman to Xen Zhengwang Ruan (Royo)
2011-10-13 18:42 ` Konrad Rzeszutek Wilk
2011-10-14 13:04   ` Zhengwang Ruan (Royo)
2011-10-14 13:58     ` Konrad Rzeszutek Wilk
2011-10-14 14:11       ` Zhengwang Ruan (Royo)
2011-10-17 14:27   ` Ian Jackson
2011-10-13 19:07 ` Pasi Kärkkäinen
2011-10-14 12:55   ` Zhengwang Ruan (Royo)

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.