From e9a1ec6920c88f7d4e2f1a293e241aed05462bf4 Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Wed, 7 Feb 2024 21:44:27 +0000 Subject: [PATCH] Add FreeBSD build target - only with mgmt, SSH + users for now --- .../hvn2.lab.ipng.ch/host2-0/etc/rc.conf | 7 + .../hvn2.lab.ipng.ch/host2-0/etc/rc.local | 7 + .../hvn2.lab.ipng.ch/host2-0/etc/resolv.conf | 4 + .../host2-0/etc/ssh/sshd_config | 121 +++++++++ .../host2-0/home/ipng/.ssh/authorized_keys | 6 + .../host2-0/root/.ssh/authorized_keys | 6 + .../host2-0/root/lab-build/perms | 6 + .../host2-0/root/lab-build/sshd | 9 + .../hvn2.lab.ipng.ch/host2-0/root/libvirt.xml | 254 ++++++++++++++++++ .../hvn2.lab.ipng.ch/host2-1/etc/rc.conf | 7 + .../hvn2.lab.ipng.ch/host2-1/etc/rc.local | 7 + .../hvn2.lab.ipng.ch/host2-1/etc/resolv.conf | 4 + .../host2-1/etc/ssh/sshd_config | 121 +++++++++ .../host2-1/home/ipng/.ssh/authorized_keys | 6 + .../host2-1/root/.ssh/authorized_keys | 6 + .../host2-1/root/lab-build/perms | 6 + .../host2-1/root/lab-build/sshd | 9 + .../hvn2.lab.ipng.ch/host2-1/root/libvirt.xml | 254 ++++++++++++++++++ .../hvn2.lab.ipng.ch/tap2-0/etc/rc.conf | 7 + .../hvn2.lab.ipng.ch/tap2-0/etc/rc.local | 7 + .../hvn2.lab.ipng.ch/tap2-0/etc/resolv.conf | 4 + .../tap2-0/etc/ssh/sshd_config | 121 +++++++++ .../tap2-0/home/ipng/.ssh/authorized_keys | 6 + .../tap2-0/root/.ssh/authorized_keys | 6 + .../tap2-0/root/lab-build/perms | 6 + .../tap2-0/root/lab-build/sshd | 9 + .../hvn2.lab.ipng.ch/tap2-0/root/libvirt.xml | 254 ++++++++++++++++++ .../hvn2.lab.ipng.ch/vpp2-0/etc/rc.conf | 7 + .../hvn2.lab.ipng.ch/vpp2-0/etc/rc.local | 7 + .../hvn2.lab.ipng.ch/vpp2-0/etc/resolv.conf | 4 + .../vpp2-0/etc/ssh/sshd_config | 121 +++++++++ .../vpp2-0/home/ipng/.ssh/authorized_keys | 6 + .../vpp2-0/root/.ssh/authorized_keys | 6 + .../vpp2-0/root/lab-build/perms | 6 + .../vpp2-0/root/lab-build/sshd | 9 + .../hvn2.lab.ipng.ch/vpp2-0/root/libvirt.xml | 254 ++++++++++++++++++ .../hvn2.lab.ipng.ch/vpp2-1/etc/rc.conf | 7 + .../hvn2.lab.ipng.ch/vpp2-1/etc/rc.local | 7 + .../hvn2.lab.ipng.ch/vpp2-1/etc/resolv.conf | 4 + .../vpp2-1/etc/ssh/sshd_config | 121 +++++++++ .../vpp2-1/home/ipng/.ssh/authorized_keys | 6 + .../vpp2-1/root/.ssh/authorized_keys | 6 + .../vpp2-1/root/lab-build/perms | 6 + .../vpp2-1/root/lab-build/sshd | 9 + .../hvn2.lab.ipng.ch/vpp2-1/root/libvirt.xml | 254 ++++++++++++++++++ .../hvn2.lab.ipng.ch/vpp2-2/etc/rc.conf | 7 + .../hvn2.lab.ipng.ch/vpp2-2/etc/rc.local | 7 + .../hvn2.lab.ipng.ch/vpp2-2/etc/resolv.conf | 4 + .../vpp2-2/etc/ssh/sshd_config | 121 +++++++++ .../vpp2-2/home/ipng/.ssh/authorized_keys | 6 + .../vpp2-2/root/.ssh/authorized_keys | 6 + .../vpp2-2/root/lab-build/perms | 6 + .../vpp2-2/root/lab-build/sshd | 9 + .../hvn2.lab.ipng.ch/vpp2-2/root/libvirt.xml | 254 ++++++++++++++++++ .../hvn2.lab.ipng.ch/vpp2-3/etc/rc.conf | 7 + .../hvn2.lab.ipng.ch/vpp2-3/etc/rc.local | 7 + .../hvn2.lab.ipng.ch/vpp2-3/etc/resolv.conf | 4 + .../vpp2-3/etc/ssh/sshd_config | 121 +++++++++ .../vpp2-3/home/ipng/.ssh/authorized_keys | 6 + .../vpp2-3/root/.ssh/authorized_keys | 6 + .../vpp2-3/root/lab-build/perms | 6 + .../vpp2-3/root/lab-build/sshd | 9 + .../hvn2.lab.ipng.ch/vpp2-3/root/libvirt.xml | 254 ++++++++++++++++++ config/common/generic.yaml | 4 + create | 17 +- overlays/freebsd/common/etc/rc.conf.j2 | 8 + overlays/freebsd/common/etc/rc.local | 8 + overlays/freebsd/common/etc/resolv.conf.j2 | 6 + overlays/freebsd/common/etc/ssh/sshd_config | 121 +++++++++ .../common/home/ipng/.ssh/authorized_keys | 11 + .../freebsd/common/root/.ssh/authorized_keys | 1 + overlays/freebsd/common/root/lab-build/perms | 7 + overlays/freebsd/common/root/libvirt.xml.j2 | 1 + 73 files changed, 3121 insertions(+), 3 deletions(-) create mode 100644 build/freebsd/hvn2.lab.ipng.ch/host2-0/etc/rc.conf create mode 100644 build/freebsd/hvn2.lab.ipng.ch/host2-0/etc/rc.local create mode 100644 build/freebsd/hvn2.lab.ipng.ch/host2-0/etc/resolv.conf create mode 100644 build/freebsd/hvn2.lab.ipng.ch/host2-0/etc/ssh/sshd_config create mode 100644 build/freebsd/hvn2.lab.ipng.ch/host2-0/home/ipng/.ssh/authorized_keys create mode 100644 build/freebsd/hvn2.lab.ipng.ch/host2-0/root/.ssh/authorized_keys create mode 100644 build/freebsd/hvn2.lab.ipng.ch/host2-0/root/lab-build/perms create mode 100644 build/freebsd/hvn2.lab.ipng.ch/host2-0/root/lab-build/sshd create mode 100644 build/freebsd/hvn2.lab.ipng.ch/host2-0/root/libvirt.xml create mode 100644 build/freebsd/hvn2.lab.ipng.ch/host2-1/etc/rc.conf create mode 100644 build/freebsd/hvn2.lab.ipng.ch/host2-1/etc/rc.local create mode 100644 build/freebsd/hvn2.lab.ipng.ch/host2-1/etc/resolv.conf create mode 100644 build/freebsd/hvn2.lab.ipng.ch/host2-1/etc/ssh/sshd_config create mode 100644 build/freebsd/hvn2.lab.ipng.ch/host2-1/home/ipng/.ssh/authorized_keys create mode 100644 build/freebsd/hvn2.lab.ipng.ch/host2-1/root/.ssh/authorized_keys create mode 100644 build/freebsd/hvn2.lab.ipng.ch/host2-1/root/lab-build/perms create mode 100644 build/freebsd/hvn2.lab.ipng.ch/host2-1/root/lab-build/sshd create mode 100644 build/freebsd/hvn2.lab.ipng.ch/host2-1/root/libvirt.xml create mode 100644 build/freebsd/hvn2.lab.ipng.ch/tap2-0/etc/rc.conf create mode 100644 build/freebsd/hvn2.lab.ipng.ch/tap2-0/etc/rc.local create mode 100644 build/freebsd/hvn2.lab.ipng.ch/tap2-0/etc/resolv.conf create mode 100644 build/freebsd/hvn2.lab.ipng.ch/tap2-0/etc/ssh/sshd_config create mode 100644 build/freebsd/hvn2.lab.ipng.ch/tap2-0/home/ipng/.ssh/authorized_keys create mode 100644 build/freebsd/hvn2.lab.ipng.ch/tap2-0/root/.ssh/authorized_keys create mode 100644 build/freebsd/hvn2.lab.ipng.ch/tap2-0/root/lab-build/perms create mode 100644 build/freebsd/hvn2.lab.ipng.ch/tap2-0/root/lab-build/sshd create mode 100644 build/freebsd/hvn2.lab.ipng.ch/tap2-0/root/libvirt.xml create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-0/etc/rc.conf create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-0/etc/rc.local create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-0/etc/resolv.conf create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-0/etc/ssh/sshd_config create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-0/home/ipng/.ssh/authorized_keys create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-0/root/.ssh/authorized_keys create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-0/root/lab-build/perms create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-0/root/lab-build/sshd create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-0/root/libvirt.xml create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-1/etc/rc.conf create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-1/etc/rc.local create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-1/etc/resolv.conf create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-1/etc/ssh/sshd_config create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-1/home/ipng/.ssh/authorized_keys create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-1/root/.ssh/authorized_keys create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-1/root/lab-build/perms create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-1/root/lab-build/sshd create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-1/root/libvirt.xml create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-2/etc/rc.conf create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-2/etc/rc.local create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-2/etc/resolv.conf create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-2/etc/ssh/sshd_config create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-2/home/ipng/.ssh/authorized_keys create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-2/root/.ssh/authorized_keys create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-2/root/lab-build/perms create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-2/root/lab-build/sshd create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-2/root/libvirt.xml create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-3/etc/rc.conf create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-3/etc/rc.local create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-3/etc/resolv.conf create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-3/etc/ssh/sshd_config create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-3/home/ipng/.ssh/authorized_keys create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-3/root/.ssh/authorized_keys create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-3/root/lab-build/perms create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-3/root/lab-build/sshd create mode 100644 build/freebsd/hvn2.lab.ipng.ch/vpp2-3/root/libvirt.xml create mode 100644 overlays/freebsd/common/etc/rc.conf.j2 create mode 100755 overlays/freebsd/common/etc/rc.local create mode 100644 overlays/freebsd/common/etc/resolv.conf.j2 create mode 100644 overlays/freebsd/common/etc/ssh/sshd_config create mode 100644 overlays/freebsd/common/home/ipng/.ssh/authorized_keys create mode 120000 overlays/freebsd/common/root/.ssh/authorized_keys create mode 100644 overlays/freebsd/common/root/lab-build/perms create mode 120000 overlays/freebsd/common/root/libvirt.xml.j2 diff --git a/build/freebsd/hvn2.lab.ipng.ch/host2-0/etc/rc.conf b/build/freebsd/hvn2.lab.ipng.ch/host2-0/etc/rc.conf new file mode 100644 index 0000000..67859c7 --- /dev/null +++ b/build/freebsd/hvn2.lab.ipng.ch/host2-0/etc/rc.conf @@ -0,0 +1,7 @@ +hostname="host2-0" +ifconfig_vtnet0="inet 198.19.5.34/24" +defaultrouter="198.19.5.1" +ifconfig_vtnet0_ipv6="inet6 2001:678:d78:50b::22/64" +ipv6_defaultrouter="2001:678:d78:50b::1" + +sshd_enable="YES" diff --git a/build/freebsd/hvn2.lab.ipng.ch/host2-0/etc/rc.local b/build/freebsd/hvn2.lab.ipng.ch/host2-0/etc/rc.local new file mode 100644 index 0000000..0ca0d53 --- /dev/null +++ b/build/freebsd/hvn2.lab.ipng.ch/host2-0/etc/rc.local @@ -0,0 +1,7 @@ +#!/bin/sh + +for s in /root/lab-build/* +do + echo "** Executing $s" + /bin/sh $s +done diff --git a/build/freebsd/hvn2.lab.ipng.ch/host2-0/etc/resolv.conf b/build/freebsd/hvn2.lab.ipng.ch/host2-0/etc/resolv.conf new file mode 100644 index 0000000..6d35b25 --- /dev/null +++ b/build/freebsd/hvn2.lab.ipng.ch/host2-0/etc/resolv.conf @@ -0,0 +1,4 @@ +domain lab.ipng.ch +search lab.ipng.ch net.ipng.ch ipng.ch +nameserver 194.1.163.3 +nameserver 194.1.163.4 diff --git a/build/freebsd/hvn2.lab.ipng.ch/host2-0/etc/ssh/sshd_config b/build/freebsd/hvn2.lab.ipng.ch/host2-0/etc/ssh/sshd_config new file mode 100644 index 0000000..084b383 --- /dev/null +++ b/build/freebsd/hvn2.lab.ipng.ch/host2-0/etc/ssh/sshd_config @@ -0,0 +1,121 @@ +# $OpenBSD: sshd_config,v 1.104 2021/07/02 05:11:21 dtucker Exp $ + +# This is the sshd server system-wide configuration file. See +# sshd_config(5) for more information. + +# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin + +# The strategy used for options in the default sshd_config shipped with +# OpenSSH is to specify options with their default value where +# possible, but leave them commented. Uncommented options override the +# default value. + +# Note that some of FreeBSD's defaults differ from OpenBSD's, and +# FreeBSD has a few additional options. + +#Port 22 +#AddressFamily any +#ListenAddress 0.0.0.0 +#ListenAddress :: + +#HostKey /etc/ssh/ssh_host_rsa_key +#HostKey /etc/ssh/ssh_host_ecdsa_key +#HostKey /etc/ssh/ssh_host_ed25519_key + +# Ciphers and keying +#RekeyLimit default none + +# Logging +#SyslogFacility AUTH +#LogLevel INFO + +# Authentication: + +#LoginGraceTime 2m +PermitRootLogin yes +#StrictModes yes +#MaxAuthTries 6 +#MaxSessions 10 + +#PubkeyAuthentication yes + +# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2 +# but this is overridden so installations will only check .ssh/authorized_keys +AuthorizedKeysFile .ssh/authorized_keys + +#AuthorizedPrincipalsFile none + +#AuthorizedKeysCommand none +#AuthorizedKeysCommandUser nobody + +# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts +#HostbasedAuthentication no +# Change to yes if you don't trust ~/.ssh/known_hosts for +# HostbasedAuthentication +#IgnoreUserKnownHosts no +# Don't read the user's ~/.rhosts and ~/.shosts files +#IgnoreRhosts yes + +# Change to yes to enable built-in password authentication. +# Note that passwords may also be accepted via KbdInteractiveAuthentication. +#PasswordAuthentication no +#PermitEmptyPasswords no + +# Change to no to disable PAM authentication +#KbdInteractiveAuthentication yes + +# Kerberos options +#KerberosAuthentication no +#KerberosOrLocalPasswd yes +#KerberosTicketCleanup yes +#KerberosGetAFSToken no + +# GSSAPI options +#GSSAPIAuthentication no +#GSSAPICleanupCredentials yes + +# Set this to 'no' to disable PAM authentication, account processing, +# and session processing. If this is enabled, PAM authentication will +# be allowed through the KbdInteractiveAuthentication and +# PasswordAuthentication. Depending on your PAM configuration, +# PAM authentication via KbdInteractiveAuthentication may bypass +# the setting of "PermitRootLogin prohibit-password". +# If you just want the PAM account and session checks to run without +# PAM authentication, then enable this but set PasswordAuthentication +# and KbdInteractiveAuthentication to 'no'. +#UsePAM yes + +#AllowAgentForwarding yes +#AllowTcpForwarding yes +#GatewayPorts no +#X11Forwarding no +#X11DisplayOffset 10 +#X11UseLocalhost yes +#PermitTTY yes +#PrintMotd yes +#PrintLastLog yes +#TCPKeepAlive yes +#PermitUserEnvironment no +#Compression delayed +#ClientAliveInterval 0 +#ClientAliveCountMax 3 +#UseDNS yes +#PidFile /var/run/sshd.pid +#MaxStartups 10:30:100 +#PermitTunnel no +#ChrootDirectory none +#UseBlacklist no +#VersionAddendum FreeBSD-20231004 + +# no default banner path +#Banner none + +# override default of no subsystems +Subsystem sftp /usr/libexec/sftp-server + +# Example of overriding settings on a per-user basis +#Match User anoncvs +# X11Forwarding no +# AllowTcpForwarding no +# PermitTTY no +# ForceCommand cvs server \ No newline at end of file diff --git a/build/freebsd/hvn2.lab.ipng.ch/host2-0/home/ipng/.ssh/authorized_keys b/build/freebsd/hvn2.lab.ipng.ch/host2-0/home/ipng/.ssh/authorized_keys new file mode 100644 index 0000000..331e254 --- /dev/null +++ b/build/freebsd/hvn2.lab.ipng.ch/host2-0/home/ipng/.ssh/authorized_keys @@ -0,0 +1,6 @@ +# pim@ipng.nl - absynth, bfib, gripe, spongebob, homenet +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8X6oRdLn7PckWIRL+Fgp46qN+fglQLBJIvPHJ2P277v4tx/qlELaT8w45YyEPrUZ4XbbNIB4P59H63wPxIpk/d15k0C7Zx3kTESaEQuts3fne3ZFmrWm0dLD2yDTiB0zCraiQ5a0w++xuGEC3wdWPV+FHZh5Ea+WCd91g2xXPHJeosAQzBBBBaC9Shhx91h6lbCm4evvgqLnwt7JgnI2N4w2qr13lDDaRD4BXfyFrtLSTdhBgYEaFnUd6Afz5ilfDYXQW/yTSHZOIQ/vNVFpFxYrtmwHDdrSMiDpz0FE/4LLBG/rFl2VvRTmTEyjvwpGpEVaivMOLo/jRc3TA7jKB pim@ipng.nl + +# pim's M1 macbookpro SeKEY +ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k= + diff --git a/build/freebsd/hvn2.lab.ipng.ch/host2-0/root/.ssh/authorized_keys b/build/freebsd/hvn2.lab.ipng.ch/host2-0/root/.ssh/authorized_keys new file mode 100644 index 0000000..331e254 --- /dev/null +++ b/build/freebsd/hvn2.lab.ipng.ch/host2-0/root/.ssh/authorized_keys @@ -0,0 +1,6 @@ +# pim@ipng.nl - absynth, bfib, gripe, spongebob, homenet +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8X6oRdLn7PckWIRL+Fgp46qN+fglQLBJIvPHJ2P277v4tx/qlELaT8w45YyEPrUZ4XbbNIB4P59H63wPxIpk/d15k0C7Zx3kTESaEQuts3fne3ZFmrWm0dLD2yDTiB0zCraiQ5a0w++xuGEC3wdWPV+FHZh5Ea+WCd91g2xXPHJeosAQzBBBBaC9Shhx91h6lbCm4evvgqLnwt7JgnI2N4w2qr13lDDaRD4BXfyFrtLSTdhBgYEaFnUd6Afz5ilfDYXQW/yTSHZOIQ/vNVFpFxYrtmwHDdrSMiDpz0FE/4LLBG/rFl2VvRTmTEyjvwpGpEVaivMOLo/jRc3TA7jKB pim@ipng.nl + +# pim's M1 macbookpro SeKEY +ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k= + diff --git a/build/freebsd/hvn2.lab.ipng.ch/host2-0/root/lab-build/perms b/build/freebsd/hvn2.lab.ipng.ch/host2-0/root/lab-build/perms new file mode 100644 index 0000000..f0a7f0d --- /dev/null +++ b/build/freebsd/hvn2.lab.ipng.ch/host2-0/root/lab-build/perms @@ -0,0 +1,6 @@ +#!/bin/sh + +echo "Fixing permissions" +chown root:wheel / /etc +chown -R root:wheel /root +chown -R ipng:ipng /home/ipng/ diff --git a/build/freebsd/hvn2.lab.ipng.ch/host2-0/root/lab-build/sshd b/build/freebsd/hvn2.lab.ipng.ch/host2-0/root/lab-build/sshd new file mode 100644 index 0000000..52a4c83 --- /dev/null +++ b/build/freebsd/hvn2.lab.ipng.ch/host2-0/root/lab-build/sshd @@ -0,0 +1,9 @@ + +#!/bin/sh + +echo "Fixing SSH permissions" +chown -R root:wheel /etc/ssh +chmod 600 /etc/ssh/ssh_host*key + +echo "Restarting SSH" +/etc/rc.d/sshd restart diff --git a/build/freebsd/hvn2.lab.ipng.ch/host2-0/root/libvirt.xml b/build/freebsd/hvn2.lab.ipng.ch/host2-0/root/libvirt.xml new file mode 100644 index 0000000..e6d9f62 --- /dev/null +++ b/build/freebsd/hvn2.lab.ipng.ch/host2-0/root/libvirt.xml @@ -0,0 +1,254 @@ + + host2-0 + ea424fc6-763c-6113-39f1-4f1b97ba3de3 + + + + + + 8388608 + 8388608 + 2 + + /machine + + + hvm + + + + + + + + + SandyBridge-IBRS + Intel + + + + + + + + + + + + + + + + + + + + + + + + + + + destroy + restart + destroy + + + + + + /usr/bin/qemu-system-x86_64 + + + + + +
+ + +
+ + +
+ + + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + +
+ + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + + + +
+ + + +
+ + +
+ + + + + + + + +
+ +