>dpkg -l | grep -P '^ii|^hi' | grep -P 'qemu|xen'
ii  libxen-4.15:amd64                    4.15.1-1+ub20u04.3                amd64        Public libs for Xen
ii  libxenstore3.0:amd64                 4.15.1-1+ub20u04.3                amd64        Xenstore communications library for Xen
ii  libxentoolcore1:amd64                4.15.1-1+ub20u04.3                amd64        helper for qemu & libxenstore
ii  qemuu                                6.1.0+1-1+ub20u04.3               amd64        qemu-system-i386 (6.1.0/xen-4.15) with 9pfs support
ii  xen-hypervisor-4.15-amd64            4.15.1-1+ub20u04.3                amd64        Xen Hypervisor on AMD64
ii  xen-system-amd64                     4.15.1-1+ub20u04.3                amd64        Xen System on AMD64 (meta-package)
ii  xen-utils-4.15                       4.15.1-1+ub20u04.3                amd64        XEN administrative tools
ii  xen-utils-common                     4.15.1-1+ub20u04.3                all          Xen administrative tools - common files
ii  xenstore-utils                       4.15.1-1+ub20u04.3                amd64        Xenstore command line utilities for Xen

>dpkg-deb -I xen-utils-common_4.15.1-1+ub20u04.3_all.deb
 new Debian package, version 2.0.
 size 247084 bytes: control archive=4172 bytes.
    1128 bytes,    39 lines      conffiles            
     522 bytes,    15 lines      control              
    5870 bytes,    73 lines      md5sums              
    7396 bytes,   161 lines   *  postinst             #!/bin/sh
    1805 bytes,    56 lines   *  postrm               #!/bin/sh
     298 bytes,    23 lines   *  preinst              #!/bin/sh
     357 bytes,     7 lines   *  prerm                #!/bin/sh
 Package: xen-utils-common
 Source: xen
 Version: 4.15.1-1+ub20u04.3
 Architecture: all
 Maintainer: Debian Xen Team 
 Installed-Size: 475
 Depends: lsb-base, python3, udev, xenstore-utils, ucf
 Section: kernel
 Priority: optional
 Description: Xen administrative tools - common files
  The userspace tools to manage a system virtualized through the Xen virtual
  machine monitor.
  .
  This package is only required on the host system (Domain 0) and not on the
  virtual guest systems (Domain U).

>dpkg-deb -I qemuu_6.1.0+1-1+ub20u04.3_amd64.deb
 new Debian package, version 2.0.
 size 22063196 bytes: control archive=10844 bytes.
    1309 bytes,    12 lines      control              
   32162 bytes,   386 lines      md5sums              
 Package: qemuu
 Source: xen (4.15.1-1+ub20u04.3)
 Version: 6.1.0+1-1+ub20u04.3
 Architecture: amd64
 Maintainer: Debian Xen Team 
 Installed-Size: 266395
 Depends: libaio1 (>= 0.3.93), libasound2 (>= 1.0.16), libbrlapi0.7, libbz2-1.0, libc6 (>= 2.29), libcacard0 (>= 2.2), libcap-ng0 (>= 0.7.9), libcurl3-gnutls (>= 7.16.3), libfuse3-3 (>= 3.2.3), libgcc-s1 (>= 4.7), libgfapi0 (>= 7.2), libglib2.0-0 (>= 2.39.4), libgnutls30 (>= 3.6.12), libiscsi7 (>= 1.18.0), libjpeg8 (>= 8c), liblzo2-2 (>= 2.02), libncursesw6 (>= 6), libnettle7, libnfs13 (>= 1.11.0), libnuma1 (>= 2.0.11), libpixman-1-0 (>= 0.19.6), libpng16-16 (>= 1.6.2-1), librados2 (>= 0.72.2), librbd1 (>= 15.2.14-0ubuntu0.20.04.1), libsasl2-2 (>= 2.1.27+dfsg), libsdl2-2.0-0 (>= 2.0.10), libseccomp2 (>= 2.1.0), libslirp0 (>= 4.0.0), libspice-server1 (>= 0.14.2), libssh-4 (>= 0.8.4), libtinfo6 (>= 6), libudev1 (>= 183), libusb-1.0-0 (>= 2:1.0.23~), libusbredirparser1 (>= 0.6), libvdeplug2, libxen-4.15 (>= 4.15.1), libxenstore3.0 (>= 4.2~), libxentoolcore1 (>= 4.15.1), libxkbcommon0 (>= 0.5.0), libzstd1 (>= 1.3.8), zlib1g (>= 1:1.2.0)
 Provides: qemu-system-i386
 Section: admin
 Priority: optional
 Description: qemu-system-i386 (6.1.0/xen-4.15) with 9pfs support
  Warning: This is a custom testing build of Xen.

>cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.3 LTS"
VERSION_ID="20.04"
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=focal
UBUNTU_CODENAME=focal

>cat /etc/debian_version
bullseye/sid

>xl dmesg | head -n135
 __  __            _  _    _ ____   _
 \ \/ /___ _ __   | || |  / | ___| / |
  \  // _ \ '_ \  | || |_ | |___ \ | |
  /  \  __/ | | | |__   _|| |___) || |
 /_/\_\___|_| |_|    |_|(_)_|____(_)_|

(XEN) Xen version 4.15.1 (pbuser@hldns.com) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0) debug=n Fri Dec  3 20:04:48 PST 2021
(XEN) Latest ChangeSet: 544e547a63175ac6e-x86/P2M: deal with partial success of p2m_set_entry()-Tue 23 Nov 2021 04:26
(XEN) build-id: de24939e7a61b6439bc5dbe875d28c8c9a71ba3f
(XEN) Bootloader: GNU GRUB 0.97
(XEN) Command line: dom0_mem=700M,max:748M guest_loglvl=all loglvl=all sched=credit2 xsave=0 cpufreq=xen:performance console=vga vga=gfx-1280x1024x16 conring_size=48k xpti=false
(XEN) Xen image load base address: 0
(XEN) Video information:
(XEN)  VGA is graphics mode 1280x1024, 16 bpp
(XEN)  VBE/DDC methods: V2; EDID transfer time: 1 seconds
(XEN) Disc information:
(XEN)  Found 3 MBR signatures
(XEN)  Found 3 EDD information structures
(XEN) CPU Vendor: Intel, Family 6 (0x6), Model 23 (0x17), Stepping 10 (raw 0001067a)
(XEN) Xen-e820 RAM map:
(XEN)  [0000000000000000, 000000000009dbff] (usable)
(XEN)  [000000000009f800, 000000000009ffff] (reserved)
(XEN)  [00000000000f0000, 00000000000fffff] (reserved)
(XEN)  [0000000000100000, 00000000dfedffff] (usable)
(XEN)  [00000000dfee0000, 00000000dfee1fff] (ACPI NVS)
(XEN)  [00000000dfee2000, 00000000dfeeffff] (ACPI data)
(XEN)  [00000000dfef0000, 00000000dfefffff] (reserved)
(XEN)  [00000000f4000000, 00000000f7ffffff] (reserved)
(XEN)  [00000000fec00000, 00000000ffffffff] (reserved)
(XEN)  [0000000100000000, 000000011fffffff] (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 0x00000000e0000000, 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) 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: 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) PCI: MCFG configuration 0: base f4000000 segment 0000 buses 00 - 3f
(XEN) PCI: MCFG area at f4000000 reserved in E820
(XEN) PCI: Using MCFG for segment 0000 bus 00-3f
(XEN) Using ACPI (MADT) for SMP configuration information
(XEN) SMP: Allowing 4 CPUs (2 hotplug CPUs)
(XEN) IRQ limits: 24 GSI, 392 MSI/MSI-X
(XEN) CPU0: 7500 ... 700 MHz
(XEN) CPU0: Intel machine check reporting enabled
(XEN) Unrecognised CPU model 0x17 - assuming vulnerable to LazyFPU
(XEN) Unrecognised CPU model 0x17 - assuming vulnerable to MDS
(XEN) Speculative mitigation facilities:
(XEN)   Hardware hints:
(XEN)   Hardware features:
(XEN)   Compiled-in support: INDIRECT_THUNK SHADOW_PAGING
(XEN)   Xen settings: BTI-Thunk RETPOLINE, SPEC_CTRL: No, Other: BRANCH_HARDEN
(XEN)   L1TF: believed vulnerable, maxphysaddr L1D 36, CPUID 36, Safe address c00000000
(XEN)   Support for HVM VMs: RSB EAGER_FPU
(XEN)   Support for PV VMs: RSB EAGER_FPU
(XEN)   XPTI (64-bit PV only): Dom0 disabled, DomU disabled (without PCID)
(XEN)   PV L1TF shadowing: Dom0 disabled, DomU enabled
(XEN) Using scheduler: SMP Credit Scheduler rev2 (credit2)
(XEN) Initializing Credit2 scheduler
(XEN)  load_precision_shift: 18
(XEN)  load_window_shift: 30
(XEN)  underload_balance_tolerance: 0
(XEN)  overload_balance_tolerance: -3
(XEN)  runqueues arrangement: socket
(XEN)  cap enforcement granularity: 10ms
(XEN) load tracking window length 1073741824 ns
(XEN) Platform timer is 14.318MHz HPET
(XEN) Detected 3062.670 MHz processor.
(XEN) Freed 1024kB unused BSS memory
(XEN) alt table ffff82d040456430 -> ffff82d040464430
(XEN) I/O virtualisation disabled
(XEN) nr_sockets: 2
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1
(XEN) mwait-idle: does not run on family 6 model 23
(XEN) VMX: Supported advanced features:
(XEN)  - APIC MMIO access virtualisation
(XEN)  - APIC TPR shadow
(XEN)  - Virtual NMI
(XEN)  - MSR direct-access bitmap
(XEN) HVM: ASIDs disabled.
(XEN) HVM: VMX enabled
(XEN) HVM: Hardware Assisted Paging (HAP) not detected
(XEN) alt table ffff82d040456430 -> ffff82d040464430
(XEN) Brought up 2 CPUs
(XEN) Scheduling granularity: cpu, 1 CPU per sched-resource
(XEN) Adding cpu 0 to runqueue 0
(XEN)  First cpu on runqueue, activating
(XEN) Adding cpu 1 to runqueue 0
(XEN) mcheck_poll: Machine check polling timer started.
(XEN) HPET: 0 timers usable for broadcast (4 total)
(XEN) NX (Execute Disable) protection active
(XEN) Dom0 has maximum 416 PIRQs
(XEN) *** Building a PV Dom0 ***
(XEN)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x3600000
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   0000000110000000->0000000114000000 (157399 pages to be allocated)
(XEN)  Init. ramdisk: 000000011ead7000->000000011ffffc00
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff81000000->ffffffff83600000
(XEN)  Init. ramdisk: 0000000000000000->0000000000000000
(XEN)  Phys-Mach map: 0000008000000000->000000800015e000
(XEN)  Start info:    ffffffff83600000->ffffffff836004b8
(XEN)  Xenstore ring: 0000000000000000->0000000000000000
(XEN)  Console ring:  0000000000000000->0000000000000000

>brctl show
bridge name	bridge id		STP enabled	interfaces
br0		8000.00241d23f6ed	no		eth0
							vif1.0
							vif2.0
							vif3.0
							vif4.0
							vif5.0

>qemu-system-i386 -version
QEMU emulator version 6.1.0
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers

>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.3.0-10ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2) 

>systemctl status lvm2-pvscan@8:39.service
● lvm2-pvscan@8:39.service - LVM event activation on device 8:39
     Loaded: loaded (/lib/systemd/system/lvm2-pvscan@.service; static; vendor preset: enabled)
     Active: active (exited) since Sat 2021-12-04 13:29:32 PST; 3min 47s ago
       Docs: man:pvscan(8)
    Process: 357 ExecStart=/sbin/lvm pvscan --cache --activate ay 8:39 (code=exited, status=0/SUCCESS)
   Main PID: 357 (code=exited, status=0/SUCCESS)

Dec 04 13:29:21 xen2004 systemd[1]: Starting LVM event activation on device 8:39...
Dec 04 13:29:22 xen2004 lvm[357]:   pvscan[357] PV /dev/sdc7 online, VG maxvm is complete.
Dec 04 13:29:22 xen2004 lvm[357]:   pvscan[357] VG maxvm run autoactivation.
Dec 04 13:29:32 xen2004 lvm[357]:   62 logical volume(s) in volume group "maxvm" now active
Dec 04 13:29:32 xen2004 systemd[1]: Finished LVM event activation on device 8:39.

>systemctl status dnsmasq

>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
             └─override.conf
     Active: active (exited) since Sat 2021-12-04 13:29:50 PST; 3min 29s ago
    Process: 1082 ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities (code=exited, status=0/SUCCESS)
    Process: 1089 ExecStartPre=/sbin/lvm pvscan --cache --activate ay 8:39 (code=exited, status=0/SUCCESS)
    Process: 1101 ExecStart=/usr/lib/xen-4.15/bin/xendomains start (code=exited, status=0/SUCCESS)
   Main PID: 1101 (code=exited, status=0/SUCCESS)
      Tasks: 16 (limit: 677)
     Memory: 14.7M
     CGroup: /system.slice/xendomains.service
             ├─1388 /usr/bin/qemu-system-i386 -xen-domid 1 -no-shutdown -chardev socket,id=libxl-cmd,path=/run/xen/qmp-libxl-1,server=on,wait=off -mon chardev=libxl-cmd,mode=control -chardev socket,id=libxenstat-cmd,path=/run/xen/qmp-libxenstat-1,server=on,wait=off -mon chardev=libxenstat-cmd,mode=control -nodefaults -no-user-config -xen-attach -name ub2004 -vnc 127.0.0.1:0,to=99 -display none -k en-us -machine xenpv -m 404
             ├─1456 /usr/lib/xen-4.15/bin/xl create --quiet --defconfig /etc/xen/auto/a_ub2004
             ├─1723 /usr/lib/xen-4.15/bin/xl create --quiet --defconfig /etc/xen/auto/b_a8respin
             ├─2294 /usr/lib/xen-4.15/bin/xl create --quiet --defconfig /etc/xen/auto/c_mga8
             ├─2819 /usr/lib/xen-4.15/bin/xl create --quiet --defconfig /etc/xen/auto/e_fc33min
             └─3519 /usr/lib/xen-4.15/bin/xl create --quiet --defconfig /etc/xen/auto/f_buster

Dec 04 13:29:49 xen2004 root[3457]: /etc/xen/scripts/block: Writing backend/vbd/5/51728/physical-device-path /dev/dm-19 to xenstore.
Dec 04 13:29:49 xen2004 root[3459]: /etc/xen/scripts/block: Writing backend/vbd/5/51728/hotplug-status connected to xenstore.
Dec 04 13:29:49 xen2004 root[3477]: /etc/xen/scripts/vif-bridge: online type_if=vif XENBUS_PATH=backend/vif/5/0
Dec 04 13:29:49 xen2004 root[3497]: /etc/xen/scripts/vif-bridge: br0 MTU is 1500
Dec 04 13:29:49 xen2004 root[3500]: /etc/xen/scripts/vif-bridge: Writing /local/domain/5/device/vif/0/mtu 1500 to xenstore.
Dec 04 13:29:49 xen2004 root[3502]: /etc/xen/scripts/vif-bridge: adding vif5.0 to bridge br0
Dec 04 13:29:49 xen2004 root[3515]: /etc/xen/scripts/vif-bridge: Successful vif-bridge online for vif5.0, bridge br0.
Dec 04 13:29:49 xen2004 root[3516]: /etc/xen/scripts/vif-bridge: Writing backend/vif/5/0/hotplug-status connected to xenstore.
Dec 04 13:29:50 xen2004 xendomains[1101]: Starting auto Xen domains: a_ub2004 b_a8respin c_mga8 e_fc33min f_buster *   [done]
Dec 04 13:29:50 xen2004 systemd[1]: Finished Xendomains - start and stop guests on boot and shutdown.

>xl info
host                   : xen2004
release                : 5.3.0-18-generic
version                : #19-Ubuntu SMP Tue Oct 8 20:14:06 UTC 2019
machine                : x86_64
nr_cpus                : 2
max_cpu_id             : 3
nr_nodes               : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 3062.670
hw_caps                : bfebfbff:0008e3bd:20100800:00000001:00000000:00000000:00000000:00000000
virt_caps              : pv hvm shadow
total_memory           : 4094
free_memory            : 22
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 15
xen_extra              : .1
xen_version            : 4.15.1
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          : 544e547a63175ac6e-x86/P2M: deal with partial success of p2m_set
xen_commandline        : dom0_mem=700M,max:748M guest_loglvl=all loglvl=all sched=credit2 xsave=0 cpufreq=xen:performance console=vga vga=gfx-1280x1024x16 conring_size=48k xpti=false
cc_compiler            : gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
cc_compile_by          : pbuser
cc_compile_domain      : hldns.com
cc_compile_date        : Fri Dec  3 20:04:48 PST 2021
build_id               : de24939e7a61b6439bc5dbe875d28c8c9a71ba3f
xend_config_format     : 4

>xl list
Name                                        ID   Mem VCPUs	State	Time(s)
Domain-0                                     0   700     2     r-----      36.4
ub2004                                       1   404     2     -b----       9.4
a8respin                                     2   304     2     -b----      10.5
mga8                                         3  1224     2     -b----      11.7
fc33min                                      4   704     2     -b----      12.4
buster                                       5   684     2     -b----       8.8

>iptables -S -t nat
-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P OUTPUT ACCEPT
-P POSTROUTING ACCEPT

>systemctl list-unit-files | grep "enabled         enabled" | sort
autovt@.service                        enabled         enabled      
blk-availability.service               enabled         enabled      
console-setup.service                  enabled         enabled      
cron.service                           enabled         enabled      
dbus-org.freedesktop.resolve1.service  enabled         enabled      
dbus-org.freedesktop.timesync1.service enabled         enabled      
dmesg.service                          enabled         enabled      
dm-event.socket                        enabled         enabled      
fstrim.timer                           enabled         enabled      
getty@.service                         enabled         enabled      
haveged.service                        enabled         enabled      
irqbalance.service                     enabled         enabled      
logrotate.timer                        enabled         enabled      
lvm2-lvmpolld.socket                   enabled         enabled      
lvm2-monitor.service                   enabled         enabled      
networking.service                     enabled         enabled      
ondemand.service                       enabled         enabled      
remote-fs.target                       enabled         enabled      
rsync.service                          enabled         enabled      
rsyslog.service                        enabled         enabled      
setvtrgb.service                       enabled         enabled      
sshd.service                           enabled         enabled      
ssh.service                            enabled         enabled      
syslog.service                         enabled         enabled      
systemd-pstore.service                 enabled         enabled      
systemd-resolved.service               enabled         enabled      
systemd-timesyncd.service              enabled         enabled      
uuidd.socket                           enabled         enabled      
xenconsoled.service                    enabled         enabled      
xendomains.service                     enabled         enabled      
xen-init-dom0.service                  enabled         enabled      
xen-qemu-dom0-disk-backend.service     enabled         enabled      
xenstored.service                      enabled         enabled      
xen-watchdog.service                   enabled         enabled      

>ps aux | grep xen
root          25  0.1  0.0      0     0 ?        S    13:29   0:00 [xenbus]
root          26  0.1  0.0      0     0 ?        S    13:29   0:00 [xenwatch]
root         761  1.2  0.5   5992  3132 ?        S    13:29   0:03 /usr/sbin/xenstored --pid-file /var/run/xen/xenstored.pid
root         776  0.0  0.4  68796  2600 ?        Ssl  13:29   0:00 /usr/sbin/xenconsoled -i --log=none --log-dir=/var/log/xen/console
root         845  0.0  2.3 242292 14244 ?        Sl   13:29   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 /run/xen/qemu-dom0.pid
root        1388  0.0  4.0 410516 24440 ?        Ssl  13:29   0:00 /usr/bin/qemu-system-i386 -xen-domid 1 -no-shutdown -chardev socket,id=libxl-cmd,path=/run/xen/qmp-libxl-1,server=on,wait=off -mon chardev=libxl-cmd,mode=control -chardev socket,id=libxenstat-cmd,path=/run/xen/qmp-libxenstat-1,server=on,wait=off -mon chardev=libxenstat-cmd,mode=control -nodefaults -no-user-config -xen-attach -name ub2004 -vnc 127.0.0.1:0,to=99 -display none -k en-us -machine xenpv -m 404
root        1456  0.0  0.4  72144  2596 ?        Ssl  13:29   0:00 /usr/lib/xen-4.15/bin/xl create --quiet --defconfig /etc/xen/auto/a_ub2004
root        1723  0.0  0.4  72144  2808 ?        Ssl  13:29   0:00 /usr/lib/xen-4.15/bin/xl create --quiet --defconfig /etc/xen/auto/b_a8respin
root        2294  0.0  0.4  72144  2620 ?        Ssl  13:29   0:00 /usr/lib/xen-4.15/bin/xl create --quiet --defconfig /etc/xen/auto/c_mga8
root        2819  0.0  0.4  72144  2596 ?        Ssl  13:29   0:00 /usr/lib/xen-4.15/bin/xl create --quiet --defconfig /etc/xen/auto/e_fc33min
root        3519  0.0  0.4  72144  2592 ?        Ssl  13:29   0:00 /usr/lib/xen-4.15/bin/xl create --quiet --defconfig /etc/xen/auto/f_buster
root        3536  0.0  0.0   2992   168 ?        Ss   13:29   0:00 /usr/sbin/xenwatchdogd 30 15
root        3662  0.0  0.7  12168  4604 pts/5    S+   13:33   0:00 sudo ./dump_xen_trace.multi tlviewer
root        3663  0.0  0.2   2608  1648 pts/5    S+   13:33   0:00 sh ./dump_xen_trace.multi tlviewer
root        3729  0.0  0.1   9340   724 pts/5    S+   13:33   0:00 grep xen

>cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
#source-directory /etc/network/interfaces.d

# The loopback network interface
auto lo
iface lo inet loopback

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-nameservers 1.1.1.1 4.2.2.2 8.8.4.4
        dns-search 192.168.1.1

source-directory interfaces.d


>cat /etc/network/interfaces.d/virbr0

>systemd-analyze time
Startup finished in 8.142s (kernel) + 35.385s (userspace) = 43.528s 
multi-user.target reached after 35.289s in userspace

>systemd-analyze blame
15.846s ifupdown-pre.service                
15.175s xendomains.service                  
11.875s lvm2-pvscan@8:21.service            
10.193s lvm2-pvscan@8:39.service            
 3.581s dev-sdb12.device                    
 2.605s data2.mount                         
 2.571s data3.mount                         
 1.368s data4.mount                         
 1.266s systemd-resolved.service            
 1.073s xenstored.service                   
  989ms systemd-logind.service              
  791ms kexec.service                       
  727ms rsyslog.service                     
  679ms user@1000.service                   
  625ms networking.service                  
  610ms xen-init-dom0.service               
  576ms ssh.service                         
  466ms dev-mqueue.mount                    
  457ms proc-xen.mount                      
  448ms sys-kernel-debug.mount              
  443ms dev-sda3.swap                       
  438ms sys-kernel-tracing.mount            
  409ms blk-availability.service            
  407ms kmod-static-nodes.service           
  404ms lvm2-monitor.service                
  393ms modprobe@drm.service                
  371ms systemd-journald.service            
  354ms systemd-modules-load.service        
  336ms systemd-random-seed.service         
  298ms systemd-sysusers.service            
  259ms systemd-timesyncd.service           
  248ms systemd-sysctl.service              
  246ms systemd-udev-trigger.service        
  213ms systemd-udevd.service               
  189ms xen-watchdog.service                
  160ms systemd-tmpfiles-setup.service      
  156ms var-lib-xenstored.mount             
  148ms systemd-remount-fs.service          
  147ms systemd-tmpfiles-setup-dev.service  
  140ms rc-local.service                    
   75ms systemd-update-utmp-runlevel.service
   72ms console-setup.service               
   67ms plymouth.service                    
   66ms systemd-journal-flush.service       
   65ms setvtrgb.service                    
   46ms systemd-update-utmp.service         
   33ms xenconsoled.service                 
   31ms systemd-user-sessions.service       
   30ms sys-fs-fuse-connections.mount       
   28ms sys-kernel-config.mount             
   27ms kexec-load.service                  
   26ms user-runtime-dir@1000.service       
   24ms xen-qemu-dom0-disk-backend.service  

>grep XEN_ /boot/config-5.3.0* | sort
CONFIG_DRM_XEN_FRONTEND=m
CONFIG_HVC_XEN_FRONTEND=y
CONFIG_INPUT_XEN_KBDDEV_FRONTEND=m
CONFIG_NETXEN_NIC=m
CONFIG_SND_XEN_FRONTEND=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_XEN_FRONT_PGDIR_SHBUF=m
CONFIG_XEN_GNTDEV_DMABUF=y
CONFIG_XEN_GNTDEV=m
CONFIG_XEN_GRANT_DEV_ALLOC=m
CONFIG_XEN_GRANT_DMA_ALLOC=y
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_PVCALLS_BACKEND is not set
CONFIG_XEN_PVCALLS_FRONTEND=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_DEFAULT=y
CONFIG_XEN_SCSI_BACKEND=m
CONFIG_XEN_SCSI_FRONTEND=m
CONFIG_XEN_SYMS=y
CONFIG_XEN_SYS_HYPERVISOR=y
CONFIG_XEN_WDT=m
CONFIG_XEN_XENBUS_FRONTEND=y

>tree /boot
/boot
├── config-5.3.0-18-generic
├── efi
│   └── EFI
│       └── ubuntu
│           ├── xen-4.15-amd64.efi
│           └── xen-4.15-amd64-xsm.efi
├── flask
│   └── xenpolicy-4.15
├── grub
│   └── menu.lst
├── initrd.img -> initrd.img-5.3.0-18-generic
├── initrd.img-5.3.0-18-generic
├── initrd.img.old -> initrd.img-5.3.0-18-generic
├── kcfg
│   ├── xen-4.15.config
│   └── xen-4.15-xsm.config
├── System.map-5.3.0-18-generic
├── vmlinuz -> vmlinuz-5.3.0-18-generic
├── vmlinuz-5.3.0-18-generic
├── vmlinuz.old -> vmlinuz-5.3.0-18-generic
├── xen-4.15-amd64.gz
├── xen-4.15-amd64-xsm.gz
└── xen.gz -> xen-4.15-amd64.gz

6 directories, 17 files

>netstat -an | grep ^tcp
tcp        0      0 127.0.0.1:5900          0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN     
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 192.168.1.9:22          192.168.1.107:49404     ESTABLISHED