View previous topic :: View next topic |
Author |
Message |
pablolibo n00b
Joined: 29 May 2011 Posts: 5
|
Posted: Fri Aug 12, 2011 11:43 pm Post subject: Kernel 3.0 and Xen [new features] |
|
|
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 |
|
|
fbcyborg Advocate
Joined: 16 Oct 2005 Posts: 3056 Location: ROMA
|
Posted: Mon Aug 22, 2011 12:20 pm Post subject: |
|
|
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 |
|
|
fbcyborg Advocate
Joined: 16 Oct 2005 Posts: 3056 Location: ROMA
|
|
Back to top |
|
|
maurs Tux's lil' helper
Joined: 16 Oct 2005 Posts: 85
|
Posted: Fri Oct 21, 2011 7:14 pm Post subject: |
|
|
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 |
|
|
themightychris n00b
Joined: 26 Apr 2005 Posts: 9 Location: Philadelphia, PA
|
Posted: Fri Nov 11, 2011 7:05 pm Post subject: |
|
|
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 |
|
|
fbcyborg Advocate
Joined: 16 Oct 2005 Posts: 3056 Location: ROMA
|
Posted: Fri Nov 11, 2011 8:00 pm Post subject: |
|
|
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 |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Mon Apr 16, 2012 11:49 am Post subject: |
|
|
Do you have to change or add anything to grub to get the hypervisor/dom0 features? |
|
Back to top |
|
|
fbcyborg Advocate
Joined: 16 Oct 2005 Posts: 3056 Location: ROMA
|
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Mon Apr 16, 2012 12:01 pm Post subject: |
|
|
thanks, I'll take a look. |
|
Back to top |
|
|
|