Nethence Newdoc Olddoc Lab Your IP BBDock  

XEN host // Debian/Ubuntu

tested on /amd64 16.04, 17.04, 17.10

installation

lsb_release -a
apt install xen-system-amd64
#debian: xen-linux-system-amd64
dpkg -l | grep qemu
dpkg -l | grep grub-xen

on Ubuntu, XEN is set up as default already,

#grub-install /dev/sda
#update-grub
ls -l /etc/default/grub.d/xen.cfg
grep default= /boot/grub/grub.cfg
grep 'menuentry ' /boot/grub/grub.cfg

on Debian, this might be required (setting up a higher boot priority for XEN),

dpkg-divert --divert /etc/grub.d/08_linux_xen --rename /etc/grub.d/20_linux_xen
update-grub

ready to go,

shutdown -r now

dmesg | grep xen
xl dmesg
xl info
xl list

operations

systemctl list-unit-files | grep xen
systemctl status xenstored.service
systemctl status xen.service
systemctl status xendomains.service

systemctl stop xendomains.service
systemctl stop xen.service
systemctl stop xenstored.service

systemctl start xenstored.service
systemctl start xen.service
systemctl start xendomains.service

networking

see XEN networking

allowing NetBSD guests

vi /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT=""

vi /etc/default/grub.d/xen.cfg

GRUB_CMDLINE_XEN="pv-linear-pt=true"

update-grub
grep linear /boot/grub/grub.cfg
shutdown -r now

ref. https://xenbits.xen.org/xsa/advisory-240.txt

references


Home | GitHub | Docker Hub | Donate | Contact