Re: [gentoo-user] the xen-source on gentoo

2012-06-17 Thread Pandu Poluan
On Jun 17, 2012 12:29 PM, 赵佳晖 jiahui.tar...@gmail.com wrote:

 In my Processor page, i just find the kvm support..
   --- Paravirtualized guest support
│ │
   │ │  [ ]   Paravirtual steal time accounting
(NEW)   │ │
   │ │  [ ]   KVM paravirtualized clock (NEW)
  │ │
   │ │  [ ]   KVM Guest support (NEW)
  │ │
   │ │  [ ]   Lguest guest support (NEW)
 │ │
   │ │  [ ]   Enable paravirtualization code (NEW)
 │ │
   │ │
 │ │



Please do not top-post.

Try turning on Enable paravirtualization code.

Rgds,


[gentoo-user] the xen-source on gentoo

2012-06-16 Thread 赵佳晖
I want to install the xen on gentoo . But i find the xen-source version is
2.6.38 . So i don't want to use it. Can i use my gentoo-source 3.2.12 with
a patch?

-- 
好好学习,天天向上!!!


Re: [gentoo-user] the xen-source on gentoo

2012-06-16 Thread Michael Orlitzky
On 06/16/12 21:35, 赵佳晖 wrote:
 I want to install the xen on gentoo . But i find the xen-source
 version is 2.6.38 . So i don't want to use it. Can i use my
 gentoo-source 3.2.12 with a patch?
 


Linux 3.0 (and later) can run as guest (domU) and as host (dom0). All
necessary backends (and frontends) are in the upstream kernel. [1]


[1] http://wiki.xensource.com/xenwiki/XenParavirtOps



Re: [gentoo-user] the xen-source on gentoo

2012-06-16 Thread Michael Mol
On Sat, Jun 16, 2012 at 9:35 PM, 赵佳晖 jiahui.tar...@gmail.com wrote:
 I want to install the xen on gentoo . But i find the xen-source version is
 2.6.38 . So i don't want to use it. Can i use my gentoo-source 3.2.12 with a
 patch?

Most of the Xen found its way into mainline by the 3.0.x series.
AFAIK, most of the bugs have been worked out by now; you should be
able to use gentoo-sources 3.2.12 without any additional Xen patches.


-- 
:wq



Re: [gentoo-user] the xen-source on gentoo

2012-06-16 Thread 赵佳晖
I search the xen in the make menuconfig .And the result is below
Symbol: XEN_DOM0 [=n]
 │
  │ Type  : boolean
 │
  │
 │
  │
 │
  │ Symbol: XEN_COMPAT_XENFS [=n]
 │
  │ Type  : boolean
 │
  │ Prompt: Create compatibility mount point /proc/xen
  │
  │   Defined at drivers/xen/Kconfig:97
 │
  │   Depends on: XEN [=n]  XENFS [=n]
  │
  │   Location:
 │
  │ - Device Drivers
 │
  │   - Xen driver support
 │
  │ - Xen filesystem (XENFS [=n])
  │
  │
 │
  │
 │
  │ Symbol: XEN_MAX_DOMAIN_MEMORY [=]
 │
  │ Type  : integer
 │
  │
 │
  │
 │
  │ Symbol: XEN_GNTDEV [=n]
 │
  │ Type  : tristate
  │
  │ Prompt: userspace grant access device driver
  │
  │   Defined at drivers/xen/Kconfig:123
  │
  │   Depends on: XEN [=n]
  │
  │   Location:
 │
  │ - Device Drivers
 │
  │   - Xen driver support
 │
  │   Selects: MMU_NOTIFIER [=y]
Symbol: XEN_PRIVILEGED_GUEST [=n]
 │
  │ Type  : boolean
 │
  │
 │
  │
 │
  │ Symbol: XEN_SELFBALLOONING [=n]
 │
  │ Type  : boolean
 │
  │ Prompt: Dynamically self-balloon kernel memory to target
  │
  │   Defined at drivers/xen/Kconfig:12
 │
  │   Depends on: XEN [=n]  XEN_BALLOON [=n]  CLEANCACHE [=n]  SWAP
[=y]  XEN_TMEM [=n]  │
  │   Location:
 │
  │ - Device Drivers
 │
  │   - Xen driver support
 │
  │ - Xen memory balloon driver (XEN_BALLOON [=n])
 │
  │
 │
  │
 │
  │ Symbol: XEN_PVHVM [=n]
  │
  │ Type  : boolean
 │
  │
 │
  │
 │
  │ Symbol: PCI_XEN [=n]
  │
  │ Type  : boolean
 │
  │   Selects: SWIOTLB_XEN [=n]
 │
  │   Selected by: XEN_PCIDEV_FRONTEND [=n]  PCI [=y]  X86 [=y]  XEN
[=n]  │
  │
 │
  │
 │
  │ Symbol: XEN [=n]
  │
  │ Type  : boolean
 │
  │ Prompt: Xen guest support
  .
for
   - Device Drivers
 │
  │   - Xen driver support
 │
  │ - Xen memory balloon driver (XEN_BALLOON [=n])
i can not find Xen driver support under Device Drivers. it is my kernel's
problem?

2012/6/17 Michael Mol mike...@gmail.com

 On Sat, Jun 16, 2012 at 9:35 PM, 赵佳晖 jiahui.tar...@gmail.com wrote:
  I want to install the xen on gentoo . But i find the xen-source version
 is
  2.6.38 . So i don't want to use it. Can i use 

Re: [gentoo-user] the xen-source on gentoo

2012-06-16 Thread Pandu Poluan
On Jun 17, 2012 10:30 AM, 赵佳晖 jiahui.tar...@gmail.com wrote:

 I search the xen in the make menuconfig .And the result is below
 Symbol: XEN_DOM0 [=n]
   │
   │ Type  : boolean
   │
   │
   │
   │
   │
   │ Symbol: XEN_COMPAT_XENFS [=n]
   │
   │ Type  : boolean
   │
   │ Prompt: Create compatibility mount point /proc/xen
│
   │   Defined at drivers/xen/Kconfig:97
   │
   │   Depends on: XEN [=n]  XENFS [=n]
│
   │   Location:
   │
   │ - Device Drivers
   │
   │   - Xen driver support
   │
   │ - Xen filesystem (XENFS [=n])
│
   │
   │
   │
   │
   │ Symbol: XEN_MAX_DOMAIN_MEMORY [=]
   │
   │ Type  : integer
   │
   │
   │
   │
   │
   │ Symbol: XEN_GNTDEV [=n]
   │
   │ Type  : tristate
│
   │ Prompt: userspace grant access device driver
│
   │   Defined at drivers/xen/Kconfig:123
│
   │   Depends on: XEN [=n]
│
   │   Location:
   │
   │ - Device Drivers
   │
   │   - Xen driver support
   │
   │   Selects: MMU_NOTIFIER [=y]
 Symbol: XEN_PRIVILEGED_GUEST [=n]
   │
   │ Type  : boolean
   │
   │
   │
   │
   │
   │ Symbol: XEN_SELFBALLOONING [=n]
   │
   │ Type  : boolean
   │
   │ Prompt: Dynamically self-balloon kernel memory to target
│
   │   Defined at drivers/xen/Kconfig:12
   │
   │   Depends on: XEN [=n]  XEN_BALLOON [=n]  CLEANCACHE [=n]  SWAP
[=y]  XEN_TMEM [=n]  │
   │   Location:
   │
   │ - Device Drivers
   │
   │   - Xen driver support
   │
   │ - Xen memory balloon driver (XEN_BALLOON [=n])
   │
   │
   │
   │
   │
   │ Symbol: XEN_PVHVM [=n]
│
   │ Type  : boolean
   │
   │
   │
   │
   │
   │ Symbol: PCI_XEN [=n]
│
   │ Type  : boolean
   │
   │   Selects: SWIOTLB_XEN [=n]
   │
   │   Selected by: XEN_PCIDEV_FRONTEND [=n]  PCI [=y]  X86 [=y] 
XEN [=n]  │
   │
   │
   │
   │
   │ Symbol: XEN [=n]
│
   │ Type  : boolean
   │
   │ Prompt: Xen guest support
   .
 for
- Device Drivers
   │
   │   - Xen driver support
   │
   │ - Xen memory balloon driver (XEN_BALLOON [=n])
 i can not find Xen driver support under Device Drivers. it is my kernel's
problem?



Re: [gentoo-user] the xen-source on gentoo

2012-06-16 Thread Pandu Poluan
On Jun 17, 2012 10:59 AM, Pandu Poluan pa...@poluan.info wrote:


 On Jun 17, 2012 10:30 AM, 赵佳晖 jiahui.tar...@gmail.com wrote:
 

[--snip--]


 The Xen config will not be visible until you configure other settings
in the Processor page.

 There are several; rather than listing them all here, please see the
following page by yours truly:


http://en.gentoo-wiki.com/wiki/User:Pepoluan/Paravirtualized_Gentoo_VMs_on_XenServer


I forgot to stress: The page is kind of out-of-date, e.g., comments about
staying away from 3.0. The menuconfig options might also get shuffled
around, but the gist of it is still the same: There are options you need to
set in a certain way before XEN option becomes visible.

Rgds,


Re: [gentoo-user] the xen-source on gentoo

2012-06-16 Thread 赵佳晖
In my Processor page, i just find the kvm support..
  --- Paravirtualized guest support
  │ │
  │ │  [ ]   Paravirtual steal time accounting
(NEW)   │ │
  │ │  [ ]   KVM paravirtualized clock (NEW)
│ │
  │ │  [ ]   KVM Guest support (NEW)
│ │
  │ │  [ ]   Lguest guest support (NEW)
   │ │
  │ │  [ ]   Enable paravirtualization code (NEW)
   │ │
  │ │
   │ │


2012/6/17 Pandu Poluan pa...@poluan.info


 On Jun 17, 2012 10:59 AM, Pandu Poluan pa...@poluan.info wrote:
 
 
  On Jun 17, 2012 10:30 AM, 赵佳晖 jiahui.tar...@gmail.com wrote:
  

 [--snip--]

 
  The Xen config will not be visible until you configure other settings
 in the Processor page.
 
  There are several; rather than listing them all here, please see the
 following page by yours truly:
 
 
 http://en.gentoo-wiki.com/wiki/User:Pepoluan/Paravirtualized_Gentoo_VMs_on_XenServer
 

 I forgot to stress: The page is kind of out-of-date, e.g., comments about
 staying away from 3.0. The menuconfig options might also get shuffled
 around, but the gist of it is still the same: There are options you need to
 set in a certain way before XEN option becomes visible.

 Rgds,




-- 
好好学习,天天向上!!!