Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel 3.0 and Xen [new features]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pablolibo
n00b
n00b


Joined: 29 May 2011
Posts: 5

PostPosted: Fri Aug 12, 2011 11:43 pm    Post subject: Kernel 3.0 and Xen [new features] Reply with quote

Hello everybody,

I am currently having a problem with gentoo-sources 3.0 , I am not found the new features on the combatibilidad between xen and kernel 3.0 . Does anyone know how enable DOM0 (xen) in new kernel 3.0?

Any idea?

Thanks in advances
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3020
Location: ROMA

PostPosted: Mon Aug 22, 2011 12:20 pm    Post subject: Reply with quote

Hi!

As far as I know you can do as usual. Enable the following:
Code:
Processor type and features  --->
   [*] Paravirtualized guest support  --->
      [*]   Xen guest support


then:

Code:
Device Drivers  --->
   Xen driver support  --->
      [*] Xen memory balloon driver (NEW)
      [*]   Scrub pages before returning them to system (NEW)
      <*> Xen /dev/xen/evtchn device (NEW)
      [*] Backend driver support (NEW)
      <*> Xen filesystem (NEW)
      [*]   Create compatibility mount point /proc/xen (NEW)
      [*] Create xen entries under /sys/hypervisor (NEW)
      <M> userspace grant access device driver (NEW)
      <M> User-space grant reference allocator driver (NEW)
      <M> xen platform pci device driver (NEW)
   [*] Network device support  --->
      < >   Xen network device frontend driver
      <*>   Xen backend network device


Try and let me know please.
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered


Last edited by fbcyborg on Sun Sep 04, 2011 7:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3020
Location: ROMA

PostPosted: Tue Aug 30, 2011 6:58 am    Post subject: Reply with quote

Also the following is necessary:

Code:
Device Drivers  --->
   [*] Block devices  --->
      <*>   Xen virtual block device support
      <*>   Xen block-device backend driver

Networking support  --->
   Networking options  --->
      <M> 802.1d Ethernet Bridging


I tried to start a VM and I had no one problem with this configuration.
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered


Last edited by fbcyborg on Thu Oct 27, 2011 11:56 am; edited 1 time in total
Back to top
View user's profile Send private message
maurs
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2005
Posts: 85

PostPosted: Fri Oct 21, 2011 7:14 pm    Post subject: Reply with quote

fbcyborg wrote:
Also the following is necessary:

Code:
Device Drivers  --->
   [*] Block devices  --->
      <*>   Xen virtual block device support
      <*>   Block-device backend driver

Networking support  --->
   Networking options  --->
      <M> 802.1d Ethernet Bridging


I tried to start a VM and I had no one problem with this configuration.


thank you for posting this kernel configuration
_________________
MaUrS
[HOW-TO] Gentoo su PC datati (aka Portatile Felice)
Maurs' Blog
VDD Project
Back to top
View user's profile Send private message
themightychris
n00b
n00b


Joined: 26 Apr 2005
Posts: 9
Location: Philadelphia, PA

PostPosted: Fri Nov 11, 2011 7:05 pm    Post subject: Reply with quote

What changes are necessary for compiling a domU kernel? I haven't been able to disable the dom0 or privileged domain config flags or find any up to date documentation online.

I tried using menuconfig to disable the backend drivers but my domU boot hangs at "XENBUS: Waiting for devices to initialise"

here's the relevant bits of my .config:

Code:
linux-3.0.6-gentoo-domU # grep XEN .config
CONFIG_XEN=y
CONFIG_XEN_DOM0=y
CONFIG_XEN_PRIVILEGED_GUEST=y
CONFIG_XEN_PVHVM=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=128
CONFIG_XEN_SAVE_RESTORE=y
# CONFIG_XEN_DEBUG_FS is not set
# CONFIG_XEN_DEBUG is not set
CONFIG_PCI_XEN=y
CONFIG_XEN_PCIDEV_FRONTEND=y
CONFIG_XEN_BLKDEV_FRONTEND=y
# CONFIG_NETXEN_NIC is not set
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_INPUT_XEN_KBDDEV_FRONTEND=y
CONFIG_HVC_XEN=y
# CONFIG_XEN_WDT is not set
CONFIG_XEN_FBDEV_FRONTEND=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=y
# CONFIG_XEN_BACKEND is not set
CONFIG_XENFS=y
CONFIG_XEN_COMPAT_XENFS=y
CONFIG_XEN_SYS_HYPERVISOR=y
CONFIG_XEN_XENBUS_FRONTEND=y
CONFIG_XEN_GNTDEV=m
CONFIG_XEN_GRANT_DEV_ALLOC=m
CONFIG_XEN_PLATFORM_PCI=m
CONFIG_SWIOTLB_XEN=y


Am I missing something?
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3020
Location: ROMA

PostPosted: Fri Nov 11, 2011 8:00 pm    Post subject: Reply with quote

themightychris wrote:
Am I missing something?

No, I don't think so.
This is mine, and it works:

Code:
CONFIG_XEN=y
CONFIG_XEN_DOM0=y
CONFIG_XEN_PRIVILEGED_GUEST=y
CONFIG_XEN_PVHVM=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=128
CONFIG_XEN_SAVE_RESTORE=y
# CONFIG_XEN_DEBUG_FS is not set
# CONFIG_XEN_DEBUG is not set
CONFIG_PCI_XEN=y
CONFIG_XEN_PCIDEV_FRONTEND=y
CONFIG_XEN_BLKDEV_FRONTEND=y
# CONFIG_NETXEN_NIC is not set
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_INPUT_XEN_KBDDEV_FRONTEND=y
CONFIG_HVC_XEN=y
# CONFIG_XEN_WDT is not set
CONFIG_XEN_FBDEV_FRONTEND=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
# CONFIG_XEN_DEV_EVTCHN is not set
# CONFIG_XEN_BACKEND is not set
# CONFIG_XENFS is not set
# CONFIG_XEN_SYS_HYPERVISOR is not set
CONFIG_XEN_XENBUS_FRONTEND=y
# CONFIG_XEN_GNTDEV is not set
CONFIG_XEN_GRANT_DEV_ALLOC=m
CONFIG_XEN_PLATFORM_PCI=m
CONFIG_SWIOTLB_XEN=y


Yours looks very similar to mine.
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1496
Location: Oxfordshire, UK

PostPosted: Mon Apr 16, 2012 11:49 am    Post subject: Reply with quote

Do you have to change or add anything to grub to get the hypervisor/dom0 features?
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3020
Location: ROMA

PostPosted: Mon Apr 16, 2012 11:51 am    Post subject: Reply with quote

Yes, you may look for an example here.
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1496
Location: Oxfordshire, UK

PostPosted: Mon Apr 16, 2012 12:01 pm    Post subject: Reply with quote

thanks, I'll take a look.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum