Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XenServer guest kernel?
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
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Sun Mar 29, 2015 4:25 pm    Post subject: XenServer guest kernel? Reply with quote

I am preparing to install multiple (five) Gentoo AMD64 VMs inside XenServer on a new server. What do I need to enable in the kernel for it to operate properly inside of Xen? My guess is KVM, but I am not sure. This is my first attempt at making Gentoo run inside of a hypervisor. I intend on only building the stuff required for my hardware into the kernel, along with just ext4 support.

Along with this, I plan on gutting IPv6 from my kernel. How will this affect the OS? I do not use IPv6 on the LAN here and want to clear it out. X/Gnome/KDE/etc will not be running on these VMs. They will be pure, shell-only, SSH-access VMs.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Mon Mar 30, 2015 12:46 am    Post subject: Reply with quote

Anybody? Nobody has experience with Gentoo inside XenServer?
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
mocsokmike
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 120
Location: Budapest, Hungary

PostPosted: Thu Jun 25, 2015 12:30 pm    Post subject: Reply with quote

It might be too late now (just stumbled upon this thread by accident), but here is what I use:
Code:
Processor type and features  --->
    [*] Linux guest support  --->
        [*]   Enable paravirtualization code
        [*]     Xen guest support

Device Drivers --->
    [*] Block devices (NEW) --->
        <*> Xen block-device backend driver
    [*] Network device support --->
        <*> Xen backend network device

It is OK disabling IPv6, I did that too.

==EDIT==
The backend drivers are not needed for the guest VM. This is the proper kernel configuration:
Code:
Processor type and features  --->
   [*] Linux guest support  --->
      [*] Enable paravirtualization code
      [*] Paravirtualization layer for spinlocks
      [*] Xen guest support
      [*] KVM Guest support (including kvmclock)
[*] Networking support  --->
   Networking options  --->
      < > The IPv6 protocol  ----
Device Drivers --->
   [*] Block devices (NEW) --->
      <*> Xen virtual block device support
   [*] Network device support --->
      <*> Xen network device frontend driver
   Xen driver support  --->
      [*] Xen memory balloon driver
      [*]   Scrub pages before returning them to system
      <*> Xen /dev/xen/evtchn device
      <*> Xen filesystem
      [*]   Create compatibility mount point /proc/xen
      [*] Create xen entries under /sys/hypervisor
      <M> userspace grant access device driver
      <M> User-space grant reference allocator driver
      <M> Xen ACPI processor

_________________
format c:
emerge system
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