>dpkg -l | grep -P '^ii|^hi' | grep -P 'qemu|xen'
ii  libxenstore3.0                      4.10.0-artful5                    amd64        Xenstore communication library for Xen
ii  qemuu                               2.10+ub17u10.1                    amd64        qemu-system-i386 (2.10) with 9pfs support
ii  xen                                 4.10.0-artful5                    amd64        Demo Source build of Upstream Xen
ii  xen-virbr0                          0.1-2                             all          Setup a virbr0 bridge and dnsmasq on a
ii  xenstore-utils                      4.10.0-artful5                    amd64        Xenstore command line utilities for Xen

>dpkg-deb -I xen_4.10.0-artful5_amd64.deb
 new debian package, version 2.0.
 size 11846200 bytes: control archive=17048 bytes.
    2454 bytes,    86 lines      conffiles            
     778 bytes,    12 lines      control              
   43350 bytes,   529 lines      md5sums              
    5793 bytes,   139 lines   *  postinst             #!/bin/bash
     865 bytes,    16 lines   *  postrm               #!/bin/sh
     243 bytes,    14 lines   *  prerm                #!/bin/sh
     299 bytes,    15 lines      shlibs               
      95 bytes,     3 lines      triggers             
 Package: xen
 Version: 4.10.0-artful5
 Architecture: amd64
 Maintainer: Mark Pryor 
 Installed-Size: 25159
 Depends: e2fslibs (>= 1.37), libaio1 (>= 0.3.93), libbrlapi0.6, libbz2-1.0, libc6 (>= 2.17), libgnutls30 (>= 3.5.6), liblzma5 (>= 5.1.1alpha+20120614), liblzo2-2, libncurses5 (>= 6), libnl-3-200 (>= 3.2.7), libnl-route-3-200 (>= 3.2.21), libpci3 (>= 1:3.5.2-1), libsystemd0, libtinfo5 (>= 6), libuuid1 (>= 2.16), libvdeplug2, libxenstore3.0, libyajl2 (>= 2.0.4), zlib1g (>= 1:1.1.4), python2.7, python:any (>= 2.7.5-5~), init-system-helpers (>= 1.18~), xenstore-utils
 Recommends: bridge-utils
 Section: kernel
 Priority: optional
 Homepage: http://www.xenproject.org/downloads.html
 Description: Demo Source build of Upstream Xen
  Xen is a type 1 hypervisor.

>dpkg-deb -I qemuu_2.10+ub17u10.1_amd64.deb
 new debian package, version 2.0.
 size 7325042 bytes: control archive=3862 bytes.
    1104 bytes,    13 lines      control              
    7660 bytes,   108 lines      md5sums              
 Package: qemuu
 Source: xen (4.10.0-artful5)
 Version: 2.10+ub17u10.1
 Architecture: amd64
 Maintainer: Mark Pryor 
 Installed-Size: 29957
 Depends: glusterfs-common, libaio1 (>= 0.3.93), libasound2 (>= 1.0.16), libbrlapi0.6, libbz2-1.0, libc6 (>= 2.15), libcacard0 (>= 2.2), libcap-ng0, libcap2 (>= 1:2.10), libcurl3-gnutls (>= 7.16.3), libfdt1, libgcc1 (>= 1:4.7), libglib2.0-0 (>= 2.37.1), libgnutls30 (>= 3.5.6), libjpeg8 (>= 8c), liblzo2-2, libncursesw5 (>= 6), libnettle6, libnfs8 (>= 1.11.0), libnuma1 (>= 2.0.11), libpixman-1-0 (>= 0.19.6), libpng16-16 (>= 1.6.2-1), libpulse0 (>= 0.99.1), librados2 (>= 0.72.2), librbd1 (>= 12.0.3), libsasl2-2, libsdl2-2.0-0 (>= 2.0.4), libseccomp2 (>= 2.1.0), libspice-server1 (>= 0.12.6), libssh2-1 (>= 1.5.0), libtinfo5 (>= 6), libusb-1.0-0 (>= 2:1.0.19), libusbredirparser1 (>= 0.6), libvdeplug2, libxenstore3.0, xen, zlib1g (>= 1:1.2.0)
 Provides: qemuu
 Section: admin
 Priority: optional
 Homepage: http://www.xenproject.org/downloads.html
 Description: qemu-system-i386 (2.10) with 9pfs support
  Warning: This is a custom testing build of Xen.

>cat /etc/os-release
NAME="Ubuntu"
VERSION="17.10 (Artful Aardvark)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 17.10"
VERSION_ID="17.10"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=artful
UBUNTU_CODENAME=artful

>xl dmesg | head -n85
 __  __            _  _    _  ___   ___  
 \ \/ /___ _ __   | || |  / |/ _ \ / _ \ 
  \  // _ \ '_ \  | || |_ | | | | | | | |
  /  \  __/ | | | |__   _|| | |_| | |_| |
 /_/\_\___|_| |_|    |_|(_)_|\___(_)___/ 
                                         
(XEN) Xen version 4.10.0 (pbuser@prymar56.org) (gcc (Ubuntu 7.2.0-8ubuntu3) 7.2.0) debug=n  Thu Feb 15 16:57:18 PST 2018
(XEN) Latest ChangeSet: 3921128fcb3501318f523-xen/arm: vsmc: Dont implement function IDs that dont exist-Thu 8 Feb 2018 16:25
(XEN) Bootloader: GNU GRUB 0.97
(XEN) Command line: dom0_mem=512M,max:608M guest_loglvl=all loglvl=all console=vga vga=gfx-1280x1024x16 conring_size=48k sched=credit2 cpufreq=none
(XEN) Xen image load base address: 0
(XEN) Video information:
(XEN)  VGA is graphics mode 1280x1024, 16 bpp
(XEN)  VBE/DDC methods: none; EDID transfer time: 0 seconds
(XEN)  EDID info not retrieved because no DDC retrieval method detected
(XEN) Disc information:
(XEN)  Found 3 MBR signatures
(XEN)  Found 3 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009dc00 (usable)
(XEN)  000000000009f800 - 00000000000a0000 (reserved)
(XEN)  00000000000f0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 00000000dfee0000 (usable)
(XEN)  00000000dfee0000 - 00000000dfee2000 (ACPI NVS)
(XEN)  00000000dfee2000 - 00000000dfef0000 (ACPI data)
(XEN)  00000000dfef0000 - 00000000dff00000 (reserved)
(XEN)  00000000f4000000 - 00000000f8000000 (reserved)
(XEN)  00000000fec00000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 0000000120000000 (usable)
(XEN) New Xen image base address: 0xdf800000
(XEN) ACPI: RSDP 000F7100, 0014 (r0 GBT   )
(XEN) ACPI: RSDT DFEE2040, 003C (r1 GBT    GBTUACPI 42302E31 GBTU  1010101)
(XEN) ACPI: FACP DFEE20C0, 0074 (r1 GBT    GBTUACPI 42302E31 GBTU  1010101)
(XEN) ACPI: DSDT DFEE2180, 4C86 (r1 GBT    GBTUACPI     1000 MSFT  100000C)
(XEN) ACPI: FACS DFEE0000, 0040
(XEN) ACPI: HPET DFEE6F80, 0038 (r1 GBT    GBTUACPI 42302E31 GBTU       98)
(XEN) ACPI: MCFG DFEE7000, 003C (r1 GBT    GBTUACPI 42302E31 GBTU  1010101)
(XEN) ACPI: EUDS DFEE7040, 0000 (r1 GBT                    0             0)
(XEN) ACPI: TAMG DFEE7560, 6852 (r1 GBT    GBT   B0 5455312E BG    20101)
(XEN) ACPI: APIC DFEE6E80, 0084 (r1 GBT    GBTUACPI 42302E31 GBTU  1010101)
(XEN) System RAM: 4094MB (4192756kB)
(XEN) No NUMA configuration found
(XEN) Faking a node at 0000000000000000-0000000120000000
(XEN) Domain heap initialised
(XEN) Allocated console ring of 64 KiB.
(XEN) vesafb: framebuffer at 0xe0000000, mapped to 0xffff82c000201000, using 4096k, total 262144k
(XEN) vesafb: mode is 1280x1024x16, linelength=2560, font 8x16
(XEN) vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
(XEN) CPU Vendor: Intel, Family 6 (0x6), Model 23 (0x17), Stepping 10 (raw 0001067a)
(XEN) found SMP MP-table at 000f5700
(XEN) DMI 2.4 present.
(XEN) Using APIC driver default
(XEN) ACPI: PM-Timer IO Port: 0x408 (24 bits)
(XEN) ACPI: SLEEP INFO: pm1x_cnt[1:404,1:0], pm1x_evt[1:400,1:0]
(XEN) ACPI:             wakeup_vec[dfee000c], vec_size[20]
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
(XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
(XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
(XEN) ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
(XEN) ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
(XEN) ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1])
(XEN) ACPI: LAPIC_NMI (acpi_id[0x03] dfl dfl lint[0x1])
(XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
(XEN) ACPI: IRQ0 used by override.
(XEN) ACPI: IRQ2 used by override.
(XEN) ACPI: IRQ9 used by override.
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) ACPI: HPET id: 0x8086a201 base: 0xfed00000
(XEN) ERST table was not found
(XEN) Using ACPI (MADT) for SMP configuration information
(XEN) SMP: Allowing 4 CPUs (2 hotplug CPUs)
(XEN) IRQ limits: 24 GSI, 376 MSI/MSI-X
(XEN) xstate: size: 0x240 and states: 0x3
(XEN) CPU0: Intel machine check reporting enabled
(XEN) Speculative mitigation facilities:
(XEN) BTI mitigations: Thunk N/A, Others: RSB_NATIVE RSB_VMEXIT
(XEN) Using scheduler: SMP Credit Scheduler rev2 (credit2)
(XEN) Initializing Credit2 scheduler
(XEN)  load_precision_shift: 18
(XEN)  load_window_shift: 30

>systemctl status lvm2-pvscan@8:33.service
* lvm2-pvscan@8:33.service - LVM2 PV scan on device 8:33
   Loaded: loaded (/lib/systemd/system/lvm2-pvscan@.service; static; vendor preset: enabled)
  Drop-In: /etc/systemd/system/lvm2-pvscan@8:33.service.d
           `-fix.conf
   Active: active (exited) since Thu 2018-02-15 17:25:11 PST; 23min ago
     Docs: man:pvscan(8)
  Process: 773 ExecStart=/sbin/lvm pvscan --cache --activate ay 8:33 (code=exited, status=0/SUCCESS)
 Main PID: 773 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 4915)
   CGroup: /system.slice/system-lvm2\x2dpvscan.slice/lvm2-pvscan@8:33.service

Feb 15 17:25:11 xen1710 systemd[1]: Starting LVM2 PV scan on device 8:33...
Feb 15 17:25:11 xen1710 lvm[773]:   46 logical volume(s) in volume group "maxvm" now active
Feb 15 17:25:11 xen1710 systemd[1]: Started LVM2 PV scan on device 8:33.

>systemctl status dnsmasq
* dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
   Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/dnsmasq.service.d
           `-xen.conf
   Active: active (running) since Thu 2018-02-15 17:25:15 PST; 23min ago
  Process: 1104 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=exited, status=0/SUCCESS)
  Process: 1085 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0/SUCCESS)
  Process: 1082 ExecStartPre=/bin/bash -c cat /dev/null > /var/lib/misc/dnsmasq.leases;/usr/bin/touch /var/log/dhcp.log.xx (code=exited, status=0/SUCCESS)
  Process: 1060 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
 Main PID: 1102 (dnsmasq)
    Tasks: 2 (limit: 4915)
   CGroup: /system.slice/dnsmasq.service
           |-1102 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service --trust-anchor=.,19036,8,2,49aac11d7b6f6446702e54a1607371607a1a41855200fd2ce1cdde32f24e8fb5 --trust-anchor=.,20326,8,2,e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
           `-1103 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service --trust-anchor=.,19036,8,2,49aac11d7b6f6446702e54a1607371607a1a41855200fd2ce1cdde32f24e8fb5 --trust-anchor=.,20326,8,2,e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d

Feb 15 17:25:15 xen1710 systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.
Feb 15 17:25:15 xen1710 dnsmasq[1102]: no servers found in /run/dnsmasq/resolv.conf, will retry
Feb 15 17:27:01 xen1710 dnsmasq-dhcp[1102]: DHCPDISCOVER(virbr0) 192.168.122.75 00:16:3e:7a:b2:d5
Feb 15 17:27:01 xen1710 dnsmasq-dhcp[1102]: DHCPOFFER(virbr0) 192.168.122.75 00:16:3e:7a:b2:d5
Feb 15 17:27:01 xen1710 dnsmasq-dhcp[1102]: DHCPDISCOVER(virbr0) 192.168.122.75 00:16:3e:7a:b2:d5
Feb 15 17:27:01 xen1710 dnsmasq-dhcp[1102]: DHCPOFFER(virbr0) 192.168.122.75 00:16:3e:7a:b2:d5
Feb 15 17:27:01 xen1710 dnsmasq-dhcp[1102]: DHCPREQUEST(virbr0) 192.168.122.75 00:16:3e:7a:b2:d5
Feb 15 17:27:01 xen1710 dnsmasq-dhcp[1102]: DHCPACK(virbr0) 192.168.122.75 00:16:3e:7a:b2:d5 pv1604
Feb 15 17:27:01 xen1710 root[3674]: add 192.168.122.75 pv1604
Feb 15 17:27:01 xen1710 dnsmasq-script[1102]: iptables: No chain/target/match by that name.

>systemctl status xendomains
* xendomains.service - Xendomains - start and stop guests on boot and shutdown
   Loaded: loaded (/lib/systemd/system/xendomains.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/xendomains.service.d
           `-fix.conf
   Active: active (exited) since Thu 2018-02-15 17:25:41 PST; 23min ago
  Process: 1161 ExecStart=/usr/lib/xen/bin/xendomains start (code=exited, status=0/SUCCESS)
  Process: 1156 ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities (code=exited, status=0/SUCCESS)
 Main PID: 1161 (code=exited, status=0/SUCCESS)
    Tasks: 24 (limit: 4915)
   CGroup: /system.slice/xendomains.service
           |-1765 /usr/sbin/xl create --quiet --defconfig /etc/xen/auto/a_pvdeb9.cfg
           |-2128 /usr/sbin/xl create --quiet --defconfig /etc/xen/auto/b_debexp
           |-2353 /usr/bin/qemu-system-i386 -xen-domid 3 -chardev socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-3,server,nowait -no-shutdown -mon chardev=libxl-cmd,mode=control -chardev socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-3,server,nowait -mon chardev=libxenstat-cmd,mode=control -nodefaults -no-user-config -xen-attach -name debsid -vnc 127.0.0.1:0,to=99 -display none -k en-us -xen-attach -machine xenpv -m 384
           |-2426 /usr/sbin/xl create --quiet --defconfig /etc/xen/auto/c_debsid
           |-2734 /usr/sbin/xl create --quiet --defconfig /etc/xen/auto/d_pv1604
           |-3122 /usr/bin/qemu-system-i386 -xen-domid 5 -chardev socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-5,server,nowait -no-shutdown -mon chardev=libxl-cmd,mode=control -chardev socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-5,server,nowait -mon chardev=libxenstat-cmd,mode=control -nodefaults -no-user-config -xen-attach -name c7min -vnc 127.0.0.1:0,to=99 -display none -k en-us -machine xenpv -m 984
           |-3197 /usr/sbin/xl create --quiet --defconfig /etc/xen/auto/e_c7min
           |-3508 /usr/bin/qemu-system-i386 -xen-domid 6 -chardev socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-6,server,nowait -no-shutdown -mon chardev=libxl-cmd,mode=control -chardev socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-6,server,nowait -mon chardev=libxenstat-cmd,mode=control -nodefaults -no-user-config -name ub1804 -vnc 127.0.0.1:0,to=99 -display none -xen-attach -vga xenfb -machine xenpv -m 385
           `-3581 /usr/sbin/xl create --quiet --defconfig /etc/xen/auto/f_ub1804

Feb 15 17:25:39 xen1710 root[3409]: /etc/xen/scripts/block: Writing backend/vbd/6/51712/physical-device-path /dev/dm-40 to xenstore.
Feb 15 17:25:39 xen1710 root[3411]: /etc/xen/scripts/block: Writing backend/vbd/6/51712/hotplug-status connected to xenstore.
Feb 15 17:25:39 xen1710 root[3497]: /etc/xen/scripts/block: Writing backend/vbd/6/51728/physical-device fd:6 to xenstore.
Feb 15 17:25:39 xen1710 root[3499]: /etc/xen/scripts/block: Writing backend/vbd/6/51728/physical-device-path /dev/dm-6 to xenstore.
Feb 15 17:25:39 xen1710 root[3501]: /etc/xen/scripts/block: Writing backend/vbd/6/51728/hotplug-status connected to xenstore.
Feb 15 17:25:39 xen1710 root[3540]: /etc/xen/scripts/vif-bridge: online type_if=vif XENBUS_PATH=backend/vif/6/0
Feb 15 17:25:39 xen1710 root[3577]: /etc/xen/scripts/vif-bridge: Successful vif-bridge online for vif6.0, bridge br0.
Feb 15 17:25:39 xen1710 root[3578]: /etc/xen/scripts/vif-bridge: Writing backend/vif/6/0/hotplug-status connected to xenstore.
Feb 15 17:25:41 xen1710 xendomains[1161]: Starting auto Xen domains: a_pvdeb9.cfg b_debexp c_debsid d_pv1604 e_c7min f_ub1804 *   [done]
Feb 15 17:25:41 xen1710 systemd[1]: Started Xendomains - start and stop guests on boot and shutdown.

>xl info
host                   : xen1710
release                : 4.13.0-16-generic
version                : #19-Ubuntu SMP Wed Oct 11 18:35:14 UTC 2017
machine                : x86_64
nr_cpus                : 2
max_cpu_id             : 3
nr_nodes               : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 3062
hw_caps                : bfebfbff:0408e3bd:20100800:00000001:00000000:00000000:00000000:00000000
virt_caps              : hvm
total_memory           : 4094
free_memory            : 120
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 10
xen_extra              : .0
xen_version            : 4.10.0
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 
xen_scheduler          : credit2
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : 3921128fcb3501318f523-xen/arm: vsmc: Dont implement function ID
xen_commandline        : dom0_mem=512M,max:608M guest_loglvl=all loglvl=all console=vga vga=gfx-1280x1024x16 conring_size=48k sched=credit2 cpufreq=none
cc_compiler            : gcc (Ubuntu 7.2.0-8ubuntu3) 7.2.0
cc_compile_by          : pbuser
cc_compile_domain      : prymar56.org
cc_compile_date        : Thu Feb 15 16:57:18 PST 2018
build_id               : f34f3e53b125d6d31ce1a7a279c817bab1a33c92
xend_config_format     : 4

>xl list
Name                                        ID   Mem VCPUs	State	Time(s)
Domain-0                                     0   512     2     r-----      46.4
pvdeb9                                       1   884     2     -b----      11.1
debexp                                       2   384     2     -b----       8.0
debsid                                       3   384     2     -b----       7.6
pv1604                                       4   384     2     -b----       7.8
c7min                                        5   984     2     -b----      10.6
ub1804                                       6   383     2     -b----       4.6

>iptables -S -t nat
-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P OUTPUT ACCEPT
-P POSTROUTING ACCEPT
-A PREROUTING -p tcp -m tcp --dport 1175 -j DNAT --to-destination 192.168.122.75:22
-A POSTROUTING -s 192.168.122.0/24 -d 224.0.0.0/24 -j RETURN
-A POSTROUTING -s 192.168.122.0/24 -d 255.255.255.255/32 -j RETURN
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -p tcp -j MASQUERADE --to-ports 1024-65535
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -p udp -j MASQUERADE --to-ports 1024-65535
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -j MASQUERADE

>systemctl list-unit-files | grep enab | sort
apt-daily.timer                            enabled        
apt-daily-upgrade.timer                    enabled        
autovt@.service                            enabled        
console-setup.service                      enabled        
cron.service                               enabled        
dbus-org.freedesktop.resolve1.service      enabled        
default.target                             enabled        
dm-event.socket                            enabled        
dnsmasq.service                            enabled        
getty@.service                             enabled        
keyboard-setup.service                     enabled        
lvm2-lvmetad.socket                        enabled        
lvm2-lvmpolld.socket                       enabled        
lvm2-monitor.service                       enabled        
motd-news.timer                            enabled        
multi-user.target                          enabled        
networking.service                         enabled        
ondemand.service                           enabled        
rc-local.service                           enabled-runtime
rc.local.service                           enabled-runtime
remote-fs.target                           enabled        
resolvconf.service                         enabled        
rsyslog.service                            enabled        
runlevel2.target                           enabled        
runlevel3.target                           enabled        
runlevel4.target                           enabled        
serial-getty@.service                      enabled-runtime
setvtrgb.service                           enabled        
sshd.service                               enabled        
ssh.service                                enabled        
syslog.service                             enabled        
systemd-fsck-root.service                  enabled-runtime
systemd-resolved.service                   enabled        
systemd-timesyncd.service                  enabled        
xenconsoled.service                        enabled        
xendomains.service                         enabled        
xendriverdomain.service                    enabled        
xen-init-dom0.service                      enabled        
xen-qemu-dom0-disk-backend.service         enabled        
xenstored.service                          enabled        

>ps aux | grep xen
root        21  0.0  0.0      0     0 ?        S    17:24   0:00 [xenbus]
root        22  0.0  0.0      0     0 ?        S    17:24   0:00 [xenwatch]
root       600  0.1  1.6  62768  6928 ?        S    17:24   0:01 /usr/sbin/oxenstored --pid-file /var/run/xen/xenstored.pid
root       612  0.0  0.6 103604  2616 ?        SLsl 17:24   0:00 /usr/sbin/xenconsoled -i --log=none --log-dir=/var/log/xen/console
root       637  0.0  2.5 387564 10956 ?        Sl   17:24   0:00 /usr/bin/qemu-system-i386 -xen-domid 0 -xen-attach -name dom0 -nographic -M xenpv -daemonize -monitor /dev/null -serial /dev/null -parallel /dev/null -nodefaults -no-user-config -pidfile /var/run/xen/qemu-dom0.pid
root      1765  0.0  0.6 125588  2928 ?        SLsl 17:25   0:00 /usr/sbin/xl create --quiet --defconfig /etc/xen/auto/a_pvdeb9.cfg
root      2128  0.0  0.6 125588  2936 ?        SLsl 17:25   0:00 /usr/sbin/xl create --quiet --defconfig /etc/xen/auto/b_debexp
root      2353  0.0  5.8 486696 24808 ?        Ssl  17:25   0:00 /usr/bin/qemu-system-i386 -xen-domid 3 -chardev socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-3,server,nowait -no-shutdown -mon chardev=libxl-cmd,mode=control -chardev socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-3,server,nowait -mon chardev=libxenstat-cmd,mode=control -nodefaults -no-user-config -xen-attach -name debsid -vnc 127.0.0.1:0,to=99 -display none -k en-us -xen-attach -machine xenpv -m 384
root      2426  0.0  0.7 125588  3032 ?        SLsl 17:25   0:00 /usr/sbin/xl create --quiet --defconfig /etc/xen/auto/c_debsid
root      2734  0.0  0.6 125588  2976 ?        SLsl 17:25   0:00 /usr/sbin/xl create --quiet --defconfig /etc/xen/auto/d_pv1604
root      3122  0.0  5.4 499164 23136 ?        Ssl  17:25   0:00 /usr/bin/qemu-system-i386 -xen-domid 5 -chardev socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-5,server,nowait -no-shutdown -mon chardev=libxl-cmd,mode=control -chardev socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-5,server,nowait -mon chardev=libxenstat-cmd,mode=control -nodefaults -no-user-config -xen-attach -name c7min -vnc 127.0.0.1:0,to=99 -display none -k en-us -machine xenpv -m 984
root      3197  0.0  0.6 125588  2964 ?        SLsl 17:25   0:00 /usr/sbin/xl create --quiet --defconfig /etc/xen/auto/e_c7min
root      3508  0.0  5.1 497624 22072 ?        Ssl  17:25   0:00 /usr/bin/qemu-system-i386 -xen-domid 6 -chardev socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-6,server,nowait -no-shutdown -mon chardev=libxl-cmd,mode=control -chardev socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-6,server,nowait -mon chardev=libxenstat-cmd,mode=control -nodefaults -no-user-config -name ub1804 -vnc 127.0.0.1:0,to=99 -display none -xen-attach -vga xenfb -machine xenpv -m 385
root      3581  0.0  0.7 125784  3092 ?        SLsl 17:25   0:00 /usr/sbin/xl create --quiet --defconfig /etc/xen/auto/f_ub1804
root      3803  0.0  0.9  58068  3928 pts/6    S+   17:48   0:00 sudo ./dump_xen_trace tlviewer
root      3804  0.0  0.4   4592  1836 pts/6    S+   17:48   0:00 sh ./dump_xen_trace tlviewer
root      3832  0.0  0.4  15428  1980 pts/6    S+   17:48   0:00 grep xen

>systemd-analyze time
Startup finished in 6.550s (kernel) + 49.031s (userspace) = 55.581s

>systemd-analyze blame
         25.518s xendomains.service
         17.065s networking.service
          3.241s dev-sda8.device
          2.773s apt-daily.service
          1.185s lvm2-monitor.service
          1.111s apt-daily-upgrade.service
          1.105s systemd-resolved-update-resolvconf.service
          1.080s keyboard-setup.service
           903ms dnsmasq.service
           776ms systemd-modules-load.service
           757ms grub-common.service
           662ms systemd-tmpfiles-setup-dev.service
           625ms ssh.service
           597ms xenstored.service
           517ms rsyslog.service
           435ms xendriverdomain.service
           329ms systemd-udevd.service
           323ms systemd-random-seed.service
           318ms systemd-logind.service
           294ms systemd-udev-trigger.service
           291ms data2.mount
           289ms dev-mqueue.mount
           281ms data3.mount
           264ms sys-kernel-debug.mount
           259ms resolvconf.service
           253ms systemd-journald.service
           228ms proc-xen.mount
           216ms xen-init-dom0.service
           204ms systemd-sysctl.service
           195ms data4.mount
           183ms kmod-static-nodes.service
           180ms lvm2-pvscan@8:33.service
           164ms lvm2-pvscan@8:21.service
           152ms systemd-journal-flush.service
           151ms systemd-timesyncd.service
           129ms console-setup.service
           121ms systemd-resolved.service
           119ms user@1000.service
           104ms systemd-remount-fs.service
           100ms systemd-tmpfiles-setup.service
            84ms systemd-tmpfiles-clean.service
            53ms dev-sda3.swap
            52ms systemd-user-sessions.service
            48ms systemd-update-utmp.service
            46ms setvtrgb.service
            40ms rc-local.service
            32ms xenconsoled.service
            30ms sys-kernel-config.mount
            24ms xen-qemu-dom0-disk-backend.service
            16ms sys-fs-fuse-connections.mount
            15ms systemd-update-utmp-runlevel.service
            12ms var-lib-xenstored.mount

>cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

#source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback
	dns-nameserver 4.2.2.2 
	dns-nameserver 8.8.8.8 

#allow-hotplug eth0
iface eth0 inet manual

auto br0
iface br0 inet static
        address 192.168.1.9
        netmask 255.255.255.0
        network 192.168.1.0
        gateway 192.168.1.1
        accept_ra 0
        preferred-lifetime 200000
        bridge_ports eth0
        bridge_fd 0
        bridge_maxwait 1
	dns-nameserver 8.8.8.8 
	dns-nameserver 4.2.2.2 
	dns-nameserver 192.168.1.1
	dns-search 192.168.1.1

source-directory interfaces.d

>cat /etc/network/interfaces.d/virbr0
auto virbr0
iface virbr0 inet static
address 192.168.122.1
network 192.168.122.0
netmask 255.255.255.0
bridge_ports none
bridge_fd 0
bridge_maxwait 1
        dns-nameserver 8.8.8.8 
        dns-nameserver 192.168.1.1
        dns-search 192.168.1.1
        post-up /sbin/iptables-restore -n < /etc/iptables/virbr0.rules
	post-down /sbin/iptables-restore -n < /etc/iptables/virbr0_down.rules
	pre-up echo 1 > /proc/sys/net/ipv4/ip_forward

>grep -P '_XEN|_HYPERVIS|PARAVIRT' /boot/config-4.13* | sort
CONFIG_HVC_XEN_FRONTEND=y
CONFIG_HVC_XEN=y
CONFIG_HYPERVISOR_GUEST=y
CONFIG_INPUT_XEN_KBDDEV_FRONTEND=m
CONFIG_MMC_SDHCI_XENON=m
CONFIG_NET_9P_XEN=m
CONFIG_PARAVIRT_CLOCK=y
# CONFIG_PARAVIRT_DEBUG is not set
CONFIG_PARAVIRT_SPINLOCKS=y
# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
CONFIG_PARAVIRT=y
CONFIG_PCI_XEN=y
CONFIG_SWIOTLB_XEN=y
CONFIG_SYS_HYPERVISOR=y
CONFIG_TCG_XEN=m
CONFIG_XEN_512GB=y
CONFIG_XEN_ACPI_PROCESSOR=y
CONFIG_XEN_ACPI=y
CONFIG_XEN_AUTO_XLATE=y
CONFIG_XEN_BACKEND=y
CONFIG_XEN_BALLOON_MEMORY_HOTPLUG_LIMIT=512
CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_BLKDEV_BACKEND=m
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_COMPAT_XENFS=y
# CONFIG_XEN_DEBUG_FS is not set
CONFIG_XEN_DEV_EVTCHN=m
CONFIG_XEN_DOM0=y
CONFIG_XEN_EFI=y
CONFIG_XEN_FBDEV_FRONTEND=m
CONFIG_XENFS=m
CONFIG_XEN_GNTDEV=m
CONFIG_XEN_GRANT_DEV_ALLOC=m
CONFIG_XEN_HAVE_PVMMU=y
CONFIG_XEN_HAVE_VPMU=y
CONFIG_XEN_MCE_LOG=y
CONFIG_XEN_NETDEV_BACKEND=m
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_XEN_PCIDEV_BACKEND=m
CONFIG_XEN_PCIDEV_FRONTEND=m
CONFIG_XEN_PRIVCMD=m
CONFIG_XEN_PVHVM_SMP=y
CONFIG_XEN_PVHVM=y
CONFIG_XEN_PVH=y
CONFIG_XEN_PV_SMP=y
CONFIG_XEN_PV=y
CONFIG_XEN_SAVE_RESTORE=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_SCSI_BACKEND=m
CONFIG_XEN_SCSI_FRONTEND=m
CONFIG_XEN_SELFBALLOONING=y
CONFIG_XEN_SYMS=y
CONFIG_XEN_SYS_HYPERVISOR=y
CONFIG_XEN_TMEM=m
CONFIG_XEN_WDT=m
CONFIG_XEN_XENBUS_FRONTEND=y
CONFIG_XEN=y

>readelf -d /usr/bin/qemu-system-i386 | sort -k5

 0x0000000000000000 (NULL)               0x0
 0x0000000000000002 (PLTRELSZ)           25128 (bytes)
 0x0000000000000003 (PLTGOT)             0xc34e58
 0x0000000000000005 (STRTAB)             0x610a8
 0x0000000000000006 (SYMTAB)             0x15b08
 0x0000000000000007 (RELA)               0xb8f38
 0x0000000000000008 (RELASZ)             2091120 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000000000000a (STRSZ)              333016 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x000000000000000c (INIT)               0x2bd9d0
 0x000000000000000d (FINI)               0x68f31c
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000015 (DEBUG)              0x0
 0x0000000000000017 (JMPREL)             0x2b77a8
 0x0000000000000019 (INIT_ARRAY)         0xa76458
 0x000000000000001a (FINI_ARRAY)         0xa76f78
 0x000000000000001b (INIT_ARRAYSZ)       2848 (bytes)
 0x000000000000001c (FINI_ARRAYSZ)       8 (bytes)
 0x000000000000001e (FLAGS)              BIND_NOW
 0x000000006ffffef5 (GNU_HASH)           0x2d0
 0x000000006ffffff0 (VERSYM)             0xb2580
 0x000000006ffffff9 (RELACOUNT)          87050
 0x000000006ffffffe (VERNEED)            0xb89f8
 0x000000006fffffff (VERNEEDNUM)         24
  Tag        Type                         Name/Value
Dynamic section at offset 0xa34a18 contains 64 entries:
 0x0000000000000001 (NEEDED)             Shared library: [libaio.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libasound.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libbrlapi.so.0.6]
 0x0000000000000001 (NEEDED)             Shared library: [libcacard.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libfdt.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libglib-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgmodule-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgnutls.so.30]
 0x0000000000000001 (NEEDED)             Shared library: [libjpeg.so.8]
 0x0000000000000001 (NEEDED)             Shared library: [liblzo2.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libncursesw.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libnettle.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libnuma.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libpixman-1.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libpng16.so.16]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libpulse.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [librt.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libsasl2.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libSDL2-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libseccomp.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libspice-server.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libtinfo.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libusb-1.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libusbredirparser.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libutil.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libvdeplug.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libxenctrl.so.4.10]
 0x0000000000000001 (NEEDED)             Shared library: [libxendevicemodel.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libxenevtchn.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libxenforeignmemory.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libxengnttab.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libxenstore.so.3.0]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x000000006ffffffb (FLAGS_1)            Flags: NOW PIE
 0x000000000000001d (RUNPATH)            Library runpath: [/usr/lib/xen/lib]

>tree /boot
/boot
|-- abi-4.10.0-35-generic
|-- abi-4.13.0-16-generic
|-- config-4.10.0-35-generic
|-- config-4.13.0-16-generic
|-- efi
|   `-- EFI
|       `-- ubuntu
|           `-- xen-4.10.0.efi
|-- flask
|   `-- xenpolicy-4.10.0
|-- grub
|   |-- gfxblacklist.txt
|   |-- grub.cfg
|   |-- grubenv
|   |-- menu.xxx
|   `-- unicode.pf2
|-- initrd.img-4.10.0-35-generic
|-- initrd.img-4.13.0-16-generic
|-- kcfg
|   `-- xen-4.10.0.config
|-- System.map-4.10.0-35-generic
|-- System.map-4.13.0-16-generic
|-- vmlinuz-4.10.0-35-generic
|-- vmlinuz-4.13.0-16-generic
|-- xen-4.10.0.gz
|-- xen-4.10.gz -> xen-4.10.0.gz
|-- xen-4.gz -> xen-4.10.0.gz
`-- xen.gz -> xen-4.10.0.gz

6 directories, 22 files

>netstat -an | grep ^tcp
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:6010          0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:5355            0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:5900          0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:5901          0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:5902          0.0.0.0:*               LISTEN     
tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN     
tcp        0      0 192.168.1.9:22          192.168.1.107:44722     ESTABLISHED