乐于分享
好东西不私藏

自己动手构建系统软件-运行Jailhouse(X86_64)虚拟机

自己动手构建系统软件-运行Jailhouse(X86_64)虚拟机

本章节我们在QemuX86_64虚拟机的CentOS中运行Jailhouse

  • 初始化运行环境:
Host $ modprobe -av 9pHost $ modprobe -av nbd max_part=8Host $ ssh -X root@`docker exec -it sysdev ip addr show eth0 | tr "/"" " |awk '$1=="inet" {print $2}'`Docker # . /opt/sysdev/sysdev_env.shDocker $ ${SYSDEV_TOOLS}/start-nat.shDocker $ ${SYSDEV_TOOLS}/test-nat.sh

构建Jailhouse镜像

CentOS虚拟机中构建Jailhouse镜像。

  • 升级Qemu客户机内核到4.X+版本,跟宿主机方法相同:
Guest $ rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.orgGuest $ rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpmGuest $ yum --disablerepo="*" --enablerepo="elrepo-kernel" list availableGuest $ yum --enablerepo=elrepo-kernel --skip-broken -y install kernel-ml kernel-ml-devel kernel-ml-doc kernel-ml-headers kernel-ml-tools kernel-ml-tools-libs kernel-ml-tools-libs-develGuest $ grep "menuentry " /boot/grub2/grub.cfg | awk -F"'"'{print $2}'CentOS Linux (5.3.7-1.el7.elrepo.x86_64) 7 (Core)CentOS Linux (3.10.0-957.27.2.el7.x86_64) 7 (Core)CentOS Linux (0-rescue-65113b1a0d2f6087d515e6a8cd0ee7ef) 7 (Core)Guest $ vi /etc/default/grubGRUB_DEFAULT="CentOS Linux (5.3.7-1.el7.elrepo.x86_64) 7 (Core)"Guest $ grub2-mkconfig -o /boot/grub2/grub.cfgGuest $ rebootGuest $ uname -aLinux jailhouse 5.3.7-1.el7.elrepo.x86_64 #1 SMP Thu Oct 17 18:17:07 EDT 2019 x86_64 x86_64 x86_64 GNU/Linux
  • 安装编译Jailhouse所依赖的软件包:
Guest $ yum install -y epel-release# 需要安装Python和mako库,否则可能会导致部分命令无法正常执行:Guest $ yum install -y pythonGuest $ easy_install pipGuest $ pip install makoGuest $ yum install -y tree wget git gcc kernel-headers kernel-devel
  • 编译和安装Jailhouse
Guest $ mkdir -pv /opt/ahv/jailhouse && cd /opt/ahv/jailhouseGuest $ git clone https://github.com/siemens/jailhouse.gitGuest $ cd jailhouseGuest $ make# 安装到指定目录,这里仅仅是为了方便查看和分析:Guest $ make install DESTDIR=/opt/ahv/jailhouse/target# 安装到系统目录:Guest $ make install
  • 加载Jailhouse内核模块,并进行硬件检查:
Guest $ modprobe jailhouseGuest $ jailhouse hardware checkFeature                         Availability------------------------------  ------------------Number of CPUs > 1              okLong mode                       okx2APIC                          okVT-x (VMX)                      ok  VMX outside SMX               ok  VMX inside SMX                missing (optional)  IA32_TRUE_*_CLTS              ok  NMI exiting                   ok  Preemption timer              ok  I/O bitmap                    ok  MSR bitmap                    ok  Secondary controls            ok  Optional CR3 interception     ok  Virtualize APIC access        ok  RDTSCP                        missing (optional)  Unrestricted guest            ok  EPT                           ok    4-level page walk           ok    EPTP write-back             ok    2M pages                    ok    1G pages                    ok    INVEPT                      ok      Single or all-context     ok  VM-exit save IA32_PAT         ok  VM-exit load IA32_PAT         ok  VM-exit save IA32_EFER        ok  VM-exit load IA32_EFER        ok  VM-entry load IA32_PAT        ok  VM-entry load IA32_EFER       ok  Activity state HLT            okVT-d (IOMMU #0)                 ok  39-bit AGAW                   ok  48-bit AGAW                   missing (optional)  2M pages                      ok  1G pages                      ok  Queued invalidation           ok  Interrupt remapping           ok  Extended interrupt mode       okCheck passed!
  • 去掉Qemu客户机Linux启动参数中的串口选项,并关闭虚拟机(否则可能会因为串口被占用而导致Jailhouse虚拟机无法启动):
Guest $ vi /etc/default/grub#GRUB_CMDLINE_LINUX="console=tty0 crashkernel=auto console=ttyS0,115200"GRUB_CMDLINE_LINUX="intel_iommu=off memmap=82M\\\$0x3a000000 console=tty0 crashkernel=auto"Guest $ grub2-mkconfig -o /boot/grub2/grub.cfgGuest $ poweroff
  • 再次启动虚拟机:
Host $ /usr/libexec/qemu-kvm -machine q35,kernel_irqchip=split -m 1G \-smp 2 -device intel-iommu,intremap=on,x-buggy-eim=on \-cpu kvm64,-kvm_pv_eoi,-kvm_steal_time,-kvm_asyncpf,-kvmclock,+vmx \-drive file=System-X86_64.qcow2,format=qcow2,id=disk,if=none \-device ide-hd,drive=disk -serial stdio -serial vc \-net nic,model=virtio,macaddr=fa:16:3e:4d:58:6f \-net tap,ifname=tap-jh,script=vm-ifup,downscript=vm-ifdown \-device intel-hda,addr=1b.0 -device hda-duplex -cdrom Init.iso
  • 自动生成JailhouseRootCell配置,并启动虚拟机:
# 由于Linux内核不再使用串口,所以使用SSH登录虚拟机:Host $ ssh root@192.168.2.139SSH $ cd /opt/ahv/jailhouse/jailhouseSSH $ jailhouse config create configs/x86/qemu-x86_64.cSSH $ makeSSH $ modprobe jailhouseSSH $ jailhouse enable configs/x86/qemu-x86_64.cell
  • Qemu虚拟机的串口控制台以和SSH控制台可以看到Jailhouse的输出,虚拟机启动成功:
# SerialInitializing Jailhouse hypervisor v0.11 (40-g90e8d6c-dirty) on CPU 1Code location: 0xfffffffff0000050Using x2APICPage pool usage after early setup: mem 35/974, remap 0/131072Initializing processors: CPU 1... (APIC ID 1) OK CPU 0... (APIC ID 0) OKInitializing unit: VT-dDMAR unit @0xfed90000/0x1000Reserving 24 interrupt(s) for device ff:00.0 at index 0Initializing unit: IOAPICInitializing unit: Cache Allocation TechnologyInitializing unit: PCIAdding PCI device 00:00.0 to cell "RootCell"Adding PCI device 00:01.0 to cell "RootCell"Adding PCI device 00:02.0 to cell "RootCell"Reserving 3 interrupt(s) for device 00:02.0 at index 24Adding PCI device 00:1b.0 to cell "RootCell"Reserving 1 interrupt(s) for device 00:1b.0 at index 27Adding PCI device 00:1f.0 to cell "RootCell"Adding PCI device 00:1f.2 to cell "RootCell"Reserving 1 interrupt(s) for device 00:1f.2 at index 28Adding PCI device 00:1f.3 to cell "RootCell"qemu-kvm: vtd_irte_get: detected non-present IRTE (index=0, high=0xff00, low=0x100)Page pool usage after late setup: mem 248/974, remap 65542/131072Activating hypervisorSSH $ jailhouse consoleInitializing Jailhouse hypervisor v0.11 (40-g90e8d6c-dirty) on CPU 1Code location: 0xfffffffff0000050Using x2APICPage pool usage after early setup: mem 35/974, remap 0/131072Initializing processors: CPU 1... (APIC ID 1) OK CPU 0... (APIC ID 0) OKInitializing unit: VT-dDMAR unit @0xfed90000/0x1000Reserving 24 interrupt(s) for device ff:00.0 at index 0Initializing unit: IOAPICInitializing unit: Cache Allocation TechnologyInitializing unit: PCIAdding PCI device 00:00.0 to cell "RootCell"Adding PCI device 00:01.0 to cell "RootCell"Adding PCI device 00:02.0 to cell "RootCell"Reserving 3 interrupt(s) for device 00:02.0 at index 24Adding PCI device 00:1b.0 to cell "RootCell"Reserving 1 interrupt(s) for device 00:1b.0 at index 27Adding PCI device 00:1f.0 to cell "RootCell"Adding PCI device 00:1f.2 to cell "RootCell"Reserving 1 interrupt(s) for device 00:1f.2 at index 28Adding PCI device 00:1f.3 to cell "RootCell"Page pool usage after late setup: mem 248/974, remap 65542/131072Activating hypervisor

配置系统环境

宿主机使用IntelCPUCentOS( 7.6.1908X86_64)发行版。

开启宿主机硬件虚拟化支持

  • BIOS中开启Intel VT-x/VT-d虚拟化支持,打开成功时可以看到CPUvmx特性支持:
$ cat /proc/cpuinfo | grep vmxflags  : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch ssbd ibrs ibpb stibp tpr_shadow vnmi ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec arat spec_ctrl intel_stibp flush_l1d arch_capabilitiesflags  : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch ssbd ibrs ibpb stibp tpr_shadow vnmi ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec arat spec_ctrl intel_stibp flush_l1d arch_capabilitiesflags  : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch ssbd ibrs ibpb stibp tpr_shadow vnmi ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec arat spec_ctrl intel_stibp flush_l1d arch_capabilitiesflags  : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch ssbd ibrs ibpb stibp tpr_shadow vnmi ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec arat spec_ctrl intel_stibp flush_l1d arch_capabilities

升级Linux内核到4.X+版本

  • 安装第三方编译好的内核:
$ rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org$ yum install -y https://www.elrepo.org/elrepo-release-7.0-4.el7.elrepo.noarch.rpm# yum --disablerepo="*" --enablerepo="elrepo-kernel" list available$ yum --enablerepo=elrepo-kernel --skip-broken -y install kernel-ml kernel-ml-devel kernel-ml-doc kernel-ml-headers kernel-ml-tools kernel-ml-tools-libs kernel-ml-tools-libs-devel
  • 修改默认启动内核版本:
$ grep "menuentry " /boot/grub2/grub.cfg | awk -F"'"'{print $2}'CentOS Linux (5.3.7-1.el7.elrepo.x86_64) 7 (Core)CentOS Linux (3.10.0-1062.1.2.el7.x86_64) 7 (Core)CentOS Linux (0-rescue-a922db9ab47c4a278e33b55f7b8d56b4) 7 (Core)$ vi /etc/default/grubGRUB_DEFAULT="CentOS Linux (5.3.7-1.el7.elrepo.x86_64) 7 (Core)"$ grub2-mkconfig -o /boot/grub2/grub.cfg
  • 重启并查看升级是否成功:
$ reboot$ uname -aLinux CentOS7-LR 5.3.7-1.el7.elrepo.x86_64 #1 SMP Thu Oct 17 18:17:07 EDT 2019 x86_64 x86_64 x86_64 GNU/Linux

开启内核硬件虚拟化支持

  • 修改启动参数,增加Intel硬件虚拟化支持:
$ vi /etc/default/grubGRUB_CMDLINE_LINUX="intel_iommu=on iommu=pt crashkernel=auto rhgb quiet net.ifnames=0 biosdevname=0"$ grub2-mkconfig -o /boot/grub2/grub.cfg
  • 重启并查看修改是否成功:
$ reboot$ cat /proc/cmdlineBOOT_IMAGE=/boot/vmlinuz-3.10.0-1062.1.2.el7.x86_64 root=UUID=5801d8e4-8cc9-4a57-920f-ef58fbd0de40 ro intel_iommu=on iommu=pt net.ifnames=0 biosdevname=0 crashkernel=auto spectre_v2=retpoline rhgb quiet LANG=zh_CN.UTF-8$ uname -aLinux MiBook-LR 5.3.7-1.el7.elrepo.x86_64 #1 SMP Thu Oct 17 18:17:07 EDT 2019 x86_64 x86_64 x86_64 GNU/Linux
  • 查看内核中的IOMMU是否正确初始化,如果成功则会有如下信息:
$ dmesg | grep -e DMAR -e IOMMU[    0.030112] ACPI: DMAR 0x000000008CFB0000 0000F0 (v01 XMCC   XMCC1701 00000001 ACPI 00040000)[    0.169366] DMAR: Host address width 39[    0.169367] DMAR: DRHD base: 0x000000fed90000 flags: 0x0[    0.169374] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 19e2ff0505e[    0.169375] DMAR: DRHD base: 0x000000fed91000 flags: 0x1[    0.169380] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da[    0.169381] DMAR: RMRR base: 0x0000008ae55000 end: 0x0000008ae74fff[    0.169382] DMAR: RMRR base: 0x0000008d800000 end: 0x0000008fffffff[    0.169383] DMAR: ANDD device: 1 name: \_SB.PCI0.I2C0[    0.169384] DMAR: ANDD device: 2 name: \_SB.PCI0.I2C1[    0.169386] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 1[    0.169387] DMAR-IR: HPET id 0 under DRHD base 0xfed91000[    0.169388] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.[    0.171026] DMAR-IR: Enabled IRQ remapping in x2apic mode[    1.401327] DMAR: ACPI device "device:70" under DMAR at fed91000 as 00:15.0[    1.401331] DMAR: ACPI device "device:71" under DMAR at fed91000 as 00:15.1[root@MiBook-LR jailhouse]# uname -aLinux MiBook-LR 5.3.7-1.el7.elrepo.x86_64 #1 SMP Thu Oct 17 18:17:07 EDT 2019 x86_64 x86_64 x86_64 GNU/Linux
  • 查看IOMMU分组是否正常,如果目录非空则表明分组成功(可选):
$ ls /sys/kernel/iommu_groups/0  1  2  3  4  5  6  7  8  9

开启KVM嵌套虚拟化支持

  • 通过修改kvm_intel模块参数为KVM增加嵌套虚拟化支持(部分可能不会生效):
$ cat /sys/module/kvm_intel/parameters/nestedN$ vi /usr/lib/modprobe.d/kvm_intel.confoptions kvm_intel nested=1options kvm_intel enable_shadow_vmcs=1options kvm_intel enable_apicv=1options kvm_intel ept=1$ modprobe -r kvm_intel && modprobe -a kvm_intel$ cat /sys/module/kvm_intel/parameters/nestedY

安装虚拟机相关软件包

  • 安装第额外的虚拟化软件包仓库源:
$ yum install -y epel-release$ yum install -y centos-release-qemu-ev
  • 安装并查看QemuKVM软件包:
$ yum install -y qemu-kvm-ev$ /usr/libexec/qemu-kvm --versionQEMU emulator version 2.12.0 (qemu-kvm-ev-2.12.0-33.1.el7)Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers$ /bin/qemu-img --versionqemu-img version 2.12.0 (qemu-kvm-ev-2.12.0-33.1.el7)Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers
  • 安装libvirt以一些工具包(可以方便的进行虚拟机管理和镜像制作):
$ yum install -y libvirt libguestfs-tools libguestfs-xfs genisoimage$ systemctl enable libvirtd && systemctl start libvirtd && systemctl status libvirtd

编译Jailhouse虚拟机

  • 升级Qemu客户机内核到4.X+版本,跟宿主机方法相同:
Guest $ rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.orgGuest $ rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpmGuest $ yum --disablerepo="*" --enablerepo="elrepo-kernel" list availableGuest $ yum --enablerepo=elrepo-kernel --skip-broken -y install kernel-ml kernel-ml-devel kernel-ml-doc kernel-ml-headers kernel-ml-tools kernel-ml-tools-libs kernel-ml-tools-libs-develGuest $ grep "menuentry " /boot/grub2/grub.cfg | awk -F"'"'{print $2}'CentOS Linux (5.3.7-1.el7.elrepo.x86_64) 7 (Core)CentOS Linux (3.10.0-957.27.2.el7.x86_64) 7 (Core)CentOS Linux (0-rescue-65113b1a0d2f6087d515e6a8cd0ee7ef) 7 (Core)Guest $ vi /etc/default/grubGRUB_DEFAULT="CentOS Linux (5.3.7-1.el7.elrepo.x86_64) 7 (Core)"Guest $ grub2-mkconfig -o /boot/grub2/grub.cfgGuest $ rebootGuest $ uname -aLinux jailhouse 5.3.7-1.el7.elrepo.x86_64 #1 SMP Thu Oct 17 18:17:07 EDT 2019 x86_64 x86_64 x86_64 GNU/Linux
  • 安装编译Jailhouse所依赖的软件包:
Guest $ yum install -y epel-release# 需要安装Python和mako库,否则可能会导致部分命令无法正常执行:Guest $ yum install -y pythonGuest $ easy_install pipGuest $ pip install makoGuest $ yum install -y tree wget git gcc kernel-headers kernel-devel
  • 编译和安装Jailhouse
Guest $ mkdir -pv /opt/ahv/jailhouse && cd /opt/ahv/jailhouseGuest $ git clone https://github.com/siemens/jailhouse.gitGuest $ cd jailhouseGuest $ make# 安装到指定目录,这里仅仅是为了方便查看和分析:Guest $ make install DESTDIR=/opt/ahv/jailhouse/target# 安装到系统目录:Guest $ make install
  • 查看Jailhouse生成的目标文件:
Guest $ tree /opt/ahv/jailhouse/target//opt/ahv/jailhouse/target/|-- lib|   |-- firmware|   |   |-- jailhouse-amd.bin|   |   `-- jailhouse-intel.bin|   `-- modules|       `-- 5.3.7-1.el7.elrepo.x86_64|           |-- extra|           |   `-- driver|           |       `-- jailhouse.ko|           |-- modules.alias|           |-- modules.alias.bin|           |-- modules.builtin.bin|           |-- modules.dep|           |-- modules.dep.bin|           |-- modules.devname|           |-- modules.softdep|           |-- modules.symbols|           `-- modules.symbols.bin`-- usr    |-- lib    |   `-- python2.7    |       `-- site-packages    |           |-- pyjailhouse    |           |   |-- cell.py    |           |   |-- cell.pyc    |           |   |-- extendedenum.py    |           |   |-- extendedenum.pyc    |           |   |-- __init__.py    |           |   |-- __init__.pyc    |           |   |-- pci_defs.py    |           |   |-- pci_defs.pyc    |           |   |-- sysfs_parser.py    |           |   `-- sysfs_parser.pyc    |           `-- pyjailhouse-0.11_-py2.7.egg-info    |               |-- dependency_links.txt    |               |-- installed-files.txt    |               |-- PKG-INFO    |               |-- SOURCES.txt    |               `-- top_level.txt    |-- local    |   |-- libexec    |   |   `-- jailhouse    |   |       |-- jailhouse-cell-linux    |   |       |-- jailhouse-cell-stats    |   |       |-- jailhouse-config-create    |   |       |-- jailhouse-hardware-check    |   |       `-- linux-loader.bin    |   |-- sbin    |   |   `-- jailhouse    |   `-- share    |       |-- jailhouse    |       |   |-- jailhouse-config-collect.tmpl    |       |   `-- root-cell-config.c.tmpl    |       `-- man    |           `-- man8    |               |-- jailhouse.8    |               |-- jailhouse-cell.8    |               `-- jailhouse-enable.8    `-- share        `-- bash-completion            `-- completions                `-- jailhouse23 directories, 39 files

运行Jailhouse虚拟机

  • 加载Jailhouse内核模块,并进行硬件检查:
Guest $ modprobe jailhouseGuest $ jailhouse hardware checkFeature                         Availability------------------------------  ------------------Number of CPUs > 1              okLong mode                       okx2APIC                          okVT-x (VMX)                      ok  VMX outside SMX               ok  VMX inside SMX                missing (optional)  IA32_TRUE_*_CLTS              ok  NMI exiting                   ok  Preemption timer              ok  I/O bitmap                    ok  MSR bitmap                    ok  Secondary controls            ok  Optional CR3 interception     ok  Virtualize APIC access        ok  RDTSCP                        missing (optional)  Unrestricted guest            ok  EPT                           ok    4-level page walk           ok    EPTP write-back             ok    2M pages                    ok    1G pages                    ok    INVEPT                      ok      Single or all-context     ok  VM-exit save IA32_PAT         ok  VM-exit load IA32_PAT         ok  VM-exit save IA32_EFER        ok  VM-exit load IA32_EFER        ok  VM-entry load IA32_PAT        ok  VM-entry load IA32_EFER       ok  Activity state HLT            okVT-d (IOMMU #0)                 ok  39-bit AGAW                   ok  48-bit AGAW                   missing (optional)  2M pages                      ok  1G pages                      ok  Queued invalidation           ok  Interrupt remapping           ok  Extended interrupt mode       okCheck passed!
  • 去掉Qemu客户机Linux启动参数中的串口选项,并关闭虚拟机(否则可能会因为串口被占用而导致Jailhouse虚拟机无法启动):
Guest $ vi /etc/default/grub#GRUB_CMDLINE_LINUX="console=tty0 crashkernel=auto console=ttyS0,115200"GRUB_CMDLINE_LINUX="intel_iommu=off memmap=82M\\\$0x3a000000 console=tty0 crashkernel=auto"Guest $ grub2-mkconfig -o /boot/grub2/grub.cfgGuest $ poweroff
  • 再次启动虚拟机:
Host $ /usr/libexec/qemu-kvm -machine q35,kernel_irqchip=split -m 1G \-smp 2 -device intel-iommu,intremap=on,x-buggy-eim=on \-cpu kvm64,-kvm_pv_eoi,-kvm_steal_time,-kvm_asyncpf,-kvmclock,+vmx \-drive file=System-X86_64.qcow2,format=qcow2,id=disk,if=none \-device ide-hd,drive=disk -serial stdio -serial vc \-net nic,model=virtio,macaddr=fa:16:3e:4d:58:6f \-net tap,ifname=tap-jh,script=vm-ifup,downscript=vm-ifdown \-device intel-hda,addr=1b.0 -device hda-duplex -cdrom Init.iso
  • 自动生成JailhouseRootCell配置,并启动虚拟机:
# 由于Linux内核不再使用串口,所以使用SSH登录虚拟机:Host $ ssh root@192.168.2.139SSH $ cd /opt/ahv/jailhouse/jailhouseSSH $ jailhouse config create configs/x86/qemu-x86_64.cSSH $ makeSSH $ modprobe jailhouseSSH $ jailhouse enable configs/x86/qemu-x86_64.cell
  • Qemu虚拟机的串口控制台以和SSH控制台可以看到Jailhouse的输出,虚拟机启动成功:
# SerialInitializing Jailhouse hypervisor v0.11 (40-g90e8d6c-dirty) on CPU 1Code location: 0xfffffffff0000050Using x2APICPage pool usage after early setup: mem 35/974, remap 0/131072Initializing processors: CPU 1... (APIC ID 1) OK CPU 0... (APIC ID 0) OKInitializing unit: VT-dDMAR unit @0xfed90000/0x1000Reserving 24 interrupt(s) for device ff:00.0 at index 0Initializing unit: IOAPICInitializing unit: Cache Allocation TechnologyInitializing unit: PCIAdding PCI device 00:00.0 to cell "RootCell"Adding PCI device 00:01.0 to cell "RootCell"Adding PCI device 00:02.0 to cell "RootCell"Reserving 3 interrupt(s) for device 00:02.0 at index 24Adding PCI device 00:1b.0 to cell "RootCell"Reserving 1 interrupt(s) for device 00:1b.0 at index 27Adding PCI device 00:1f.0 to cell "RootCell"Adding PCI device 00:1f.2 to cell "RootCell"Reserving 1 interrupt(s) for device 00:1f.2 at index 28Adding PCI device 00:1f.3 to cell "RootCell"qemu-kvm: vtd_irte_get: detected non-present IRTE (index=0, high=0xff00, low=0x100)Page pool usage after late setup: mem 248/974, remap 65542/131072Activating hypervisorSSH $ jailhouse consoleInitializing Jailhouse hypervisor v0.11 (40-g90e8d6c-dirty) on CPU 1Code location: 0xfffffffff0000050Using x2APICPage pool usage after early setup: mem 35/974, remap 0/131072Initializing processors: CPU 1... (APIC ID 1) OK CPU 0... (APIC ID 0) OKInitializing unit: VT-dDMAR unit @0xfed90000/0x1000Reserving 24 interrupt(s) for device ff:00.0 at index 0Initializing unit: IOAPICInitializing unit: Cache Allocation TechnologyInitializing unit: PCIAdding PCI device 00:00.0 to cell "RootCell"Adding PCI device 00:01.0 to cell "RootCell"Adding PCI device 00:02.0 to cell "RootCell"Reserving 3 interrupt(s) for device 00:02.0 at index 24Adding PCI device 00:1b.0 to cell "RootCell"Reserving 1 interrupt(s) for device 00:1b.0 at index 27Adding PCI device 00:1f.0 to cell "RootCell"Adding PCI device 00:1f.2 to cell "RootCell"Reserving 1 interrupt(s) for device 00:1f.2 at index 28Adding PCI device 00:1f.3 to cell "RootCell"Page pool usage after late setup: mem 248/974, remap 65542/131072Activating hypervisor

如果喜欢,请麻烦点个关注,会更快的更新!

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-04-19 18:26:20 HTTP/1.1 GET : https://www.yeyulingfeng.com/a/537828.html
  2. 运行时间 : 0.103599s [ 吞吐率:9.65req/s ] 内存消耗:4,893.95kb 文件加载:145
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=75c9e6cf39a04203ff1de0e8dba6fd8a
  1. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/public/index.php ( 0.79 KB )
  2. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/autoload.php ( 0.17 KB )
  3. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/composer/platform_check.php ( 0.90 KB )
  5. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/composer/autoload_static.php ( 6.05 KB )
  7. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/ralouphie/getallheaders/src/getallheaders.php ( 1.60 KB )
  10. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  11. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  12. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  13. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  14. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  15. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  16. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  17. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  18. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  19. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  20. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/guzzlehttp/guzzle/src/functions_include.php ( 0.16 KB )
  21. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/guzzlehttp/guzzle/src/functions.php ( 5.54 KB )
  22. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  23. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  24. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  25. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/provider.php ( 0.19 KB )
  26. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  27. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  28. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  29. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/common.php ( 0.03 KB )
  30. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  31. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  32. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/alipay.php ( 3.59 KB )
  33. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  34. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/app.php ( 0.95 KB )
  35. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/cache.php ( 0.78 KB )
  36. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/console.php ( 0.23 KB )
  37. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/cookie.php ( 0.56 KB )
  38. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/database.php ( 2.48 KB )
  39. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/filesystem.php ( 0.61 KB )
  40. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/lang.php ( 0.91 KB )
  41. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/log.php ( 1.35 KB )
  42. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/middleware.php ( 0.19 KB )
  43. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/route.php ( 1.89 KB )
  44. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/session.php ( 0.57 KB )
  45. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/trace.php ( 0.34 KB )
  46. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/view.php ( 0.82 KB )
  47. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/event.php ( 0.25 KB )
  48. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  49. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/service.php ( 0.13 KB )
  50. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/AppService.php ( 0.26 KB )
  51. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  52. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  53. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  54. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  55. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  56. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/services.php ( 0.14 KB )
  57. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  58. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  59. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  60. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  61. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  62. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  63. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  64. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  65. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  66. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  67. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  68. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  69. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  70. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  71. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  72. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  73. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  74. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  75. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  76. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  77. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  78. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  79. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  80. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  81. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  82. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  83. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  84. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  85. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  86. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  87. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/Request.php ( 0.09 KB )
  88. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  89. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/middleware.php ( 0.25 KB )
  90. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  91. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  92. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  93. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  94. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  95. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  96. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  97. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  98. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  99. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  100. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  101. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  102. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  103. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/route/app.php ( 3.94 KB )
  104. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  105. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  106. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  107. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/controller/Index.php ( 9.87 KB )
  108. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/BaseController.php ( 2.05 KB )
  109. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  110. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  111. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  112. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  113. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  114. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  115. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  116. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  117. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  118. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  119. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  120. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  121. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  122. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  123. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  124. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  125. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  126. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  127. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  128. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  129. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  130. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  131. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  132. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  133. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  134. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  135. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/controller/Es.php ( 3.30 KB )
  136. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  137. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  138. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  139. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  140. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  141. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  142. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  143. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  144. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/runtime/temp/c935550e3e8a3a4c27dd94e439343fdf.php ( 31.80 KB )
  145. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000850s ] mysql:host=127.0.0.1;port=3306;dbname=wenku;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.001230s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000632s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000501s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.001069s ]
  6. SELECT * FROM `set` [ RunTime:0.000507s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.001230s ]
  8. SELECT * FROM `article` WHERE `id` = 537828 LIMIT 1 [ RunTime:0.002198s ]
  9. UPDATE `article` SET `lasttime` = 1776594380 WHERE `id` = 537828 [ RunTime:0.002923s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 64 LIMIT 1 [ RunTime:0.000548s ]
  11. SELECT * FROM `article` WHERE `id` < 537828 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001802s ]
  12. SELECT * FROM `article` WHERE `id` > 537828 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.001509s ]
  13. SELECT * FROM `article` WHERE `id` < 537828 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.001496s ]
  14. SELECT * FROM `article` WHERE `id` < 537828 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.001579s ]
  15. SELECT * FROM `article` WHERE `id` < 537828 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.002625s ]
0.105224s