其他分享
首页 > 其他分享> > qemu-kvm 测试不同的网络设备(virtio-net-pci/e1000/e1000e/rtl8139)

qemu-kvm 测试不同的网络设备(virtio-net-pci/e1000/e1000e/rtl8139)

作者:互联网

基于avocado/avocado-vt 测试工具。

测试所用的qcow2文件——jeos-27-x86_64.qcow2,就是avocado的qcow2

 

[root@localhost ~]# cat /etc/qemu-ifup
#!/bin/bash
switch=virbr0
ifconfig $1 up
brctl addif $switch $1
[root@localhost ~]#
[root@localhost ~]# ifconfig virbr0
virbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 2a:b1:8c:22:5c:d1  txqueuelen 1000  (Ethernet)
        RX packets 1334676  bytes 9542298905 (8.8 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1380810  bytes 15960526372 (14.8 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@localhost ~]# brctl show
bridge name	bridge id		STP enabled	interfaces
virbr0		8000.2ab18c225cd1	yes		virbr0-nic
							
							
[root@localhost ~]# 
[root@localhost ~]# service libvirtd status
Redirecting to /bin/systemctl status libvirtd.service
● libvirtd.service - Virtualization daemon
   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
   Active: active (running) since 五 2020-11-06 04:16:26 EST; 2 months 1 days ago
     Docs: man:libvirtd(8)
           https://libvirt.org
 Main PID: 1014 (libvirtd)
    Tasks: 19 (limit: 32768)
   CGroup: /system.slice/libvirtd.service
           ├─1014 /usr/sbin/libvirtd
           ├─1351 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
           └─1352 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper

1月 07 07:38:30 localhost.localdomain dnsmasq-dhcp[1351]: DHCPREQUEST(virbr0) 192.168.122.6 9a:17:77:e4:90:03
1月 07 07:38:30 localhost.localdomain dnsmasq-dhcp[1351]: DHCPNAK(virbr0) 192.168.122.6 9a:17:77:e4:90:03 address in use
1月 07 07:38:33 localhost.localdomain dnsmasq-dhcp[1351]: DHCPDISCOVER(virbr0) 9a:17:77:e4:90:03
1月 07 07:38:33 localhost.localdomain dnsmasq-dhcp[1351]: DHCPOFFER(virbr0) 192.168.122.7 9a:17:77:e4:90:03
1月 07 07:38:33 localhost.localdomain dnsmasq-dhcp[1351]: DHCPREQUEST(virbr0) 192.168.122.7 9a:17:77:e4:90:03
1月 07 07:38:33 localhost.localdomain dnsmasq-dhcp[1351]: DHCPACK(virbr0) 192.168.122.7 9a:17:77:e4:90:03 atest-guest
[root@localhost ~]# 

 

virtio-net-pci

/usr/libexec/qemu-kvm \
    -name 'avocado-vt-vm1' \
    -machine pc  \
    -nodefaults \
    -device VGA,bus=pci.0,addr=0x2 \
    -m 1024  \
    -smp 2,maxcpus=2,cores=1,threads=1,sockets=2  \
    -cpu 'Skylake-Server' \
    -device pvpanic,ioport=0x505,id=idYFvNIW \
    -device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pci.0,addr=0x3 \
    -blockdev node-name=file_image1,driver=file,filename=/var/lib/avocado/data/avocado-vt/images/jeos-27-x86_64.qcow2 \
    -blockdev node-name=drive_image1,driver=qcow2,file=file_image1 \
    -device scsi-hd,id=image1,drive=drive_image1 \
    -device virtio-net-pci,mac=9a:17:77:e4:90:03,id=idDRONps,netdev=id1N5jLZ,bus=pci.0,addr=0x4  \
    -netdev tap,id=id1N5jLZ,script=/etc/qemu-ifup  \
    -vnc :0  \
    -rtc base=utc,clock=host  \
    -boot menu=off,strict=off,order=cdn,once=c \
    -enable-kvm \
    -d int -serial stdio

[    0.000000] random: get_random_bytes called from start_kernel+0x42/0x4e6 with crng_init=0
[    0.000000] Linux version 4.13.9-300.fc27.x86_64 (mockbuild@bkernel01.phx2.fedoraproject.org) (gcc version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC)) #1 SMP Mon Oct 23 13:41:58 UTC 2017
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.13.9-300.fc27.x86_64 root=UUID=ba419b80-2653-4f9b-af33-4966d1045fe6 ro console=tty0 console=ttyS0,115200 console=ttyS0
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x020: 'AVX-512 opmask'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x040: 'AVX-512 Hi256'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x080: 'AVX-512 ZMM_Hi256'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: xstate_offset[3]:  960, xstate_sizes[3]:   64
[    0.000000] x86/fpu: xstate_offset[4]: 1024, xstate_sizes[4]:   64
[    0.000000] x86/fpu: xstate_offset[5]: 1088, xstate_sizes[5]:   64
[    0.000000] x86/fpu: xstate_offset[6]: 1152, xstate_sizes[6]:  512
[    0.000000] x86/fpu: xstate_offset[7]: 1664, xstate_sizes[7]: 1024
[    0.000000] x86/fpu: Enabled xstate features 0xff, context size is 2688 bytes, using 'standard' format.
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ffddfff] usable
[    0.000000] BIOS-e820: [mem 0x000000003ffde000-0x000000003fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] random: fast init done
[    0.000000] SMBIOS 2.8 present.
[    0.000000] DMI: Red Hat KVM, BIOS 1.11.0-2.el7 04/01/2014
[    0.000000] Hypervisor detected: KVM
[    0.000000] tsc: Fast TSC calibration failed
[    0.000000] tsc: Unable to calibrate against PIT
[    0.000000] tsc: No reference (HPET/PMTIMER) available
[    0.000000] e820: last_pfn = 0x3ffde max_arch_pfn = 0x400000000
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WC  UC- WT  
[    0.000000] found SMP MP-table at [mem 0x000f63a0-0x000f63af] mapped at [ffff8b0c000f63a0]
[    0.000000] Using GB pages for direct mapping
[    0.000000] RAMDISK: [mem 0x36749000-0x3739cfff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F6130 000014 (v00 BOCHS )
[    0.000000] ACPI: RSDT 0x000000003FFE15C8 00002C (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACP 0x000000003FFE14D4 000074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 0x000000003FFE0040 001494 (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACS 0x000000003FFE0000 000040
[    0.000000] ACPI: APIC 0x000000003FFE1548 000080 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000003ffddfff]
[    0.000000] NODE_DATA(0) allocated [mem 0x3ffb3000-0x3ffddfff]
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: cpu 0, msr 0:3ff33001, primary cpu clock
[    0.000000] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x000000003ffddfff]
[    0.000000]   Normal   empty
[    0.000000]   Device   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x000000003ffddfff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ffddfff]
[    0.000000] ACPI: PM-Timer IO Port: 0x608
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.000000] e820: [mem 0x40000000-0xfeffbfff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on KVM
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:2 nr_cpu_ids:2 nr_node_ids:1
[    0.000000] percpu: Embedded 37 pages/cpu @ffff8b0c3fc00000 s112600 r8192 d30760 u1048576
[    0.000000] KVM setup async PF for cpu 0
[    0.000000] kvm-stealtime: cpu 0, msr 3fc0d940
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 257895
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.13.9-300.fc27.x86_64 root=UUID=ba419b80-2653-4f9b-af33-4966d1045fe6 ro console=tty0 console=ttyS0,115200 console=ttyS0
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Memory: 996792K/1048048K available (8836K kernel code, 2404K rwdata, 3760K rodata, 2224K init, 1976K bss, 51256K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] ftrace: allocating 34945 entries in 137 pages
[    0.001000] Hierarchical RCU implementation.
[    0.001000] 	RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=2.
[    0.001000] 	Tasks RCU enabled.
[    0.001000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.001000] NR_IRQS: 524544, nr_irqs: 440, preallocated irqs: 16
[    0.001000] 	Offload RCU callbacks from CPUs: .
[    0.001000] Console: colour VGA+ 80x25
[    0.001000] console [tty0] enabled
[    0.001000] console [ttyS0] enabled
[    0.001181] tsc: Detected 2194.846 MHz processor
[    0.003033] Calibrating delay loop (skipped) preset value.. 4389.69 BogoMIPS (lpj=2194846)
[    0.005040] pid_max: default: 32768 minimum: 301
[    0.008057] ACPI: Core revision 20170531
[    0.011618] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.014085] Security Framework initialized
[    0.016034] Yama: becoming mindful.
[    0.018041] SELinux:  Initializing.
[    0.024072] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.027137] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.030082] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.032060] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.036309] CPU: Physical Processor ID: 0
[    0.038448] mce: CPU supports 10 MCE banks
[    0.041810] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.043034] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.046169] Freeing SMP alternatives memory: 32K
[    0.051244] smpboot: Max logical packages: 2
[    0.057838] x2apic enabled
[    0.058035] Switched APIC routing to physical x2apic.
[    0.076000] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.076000] smpboot: CPU0: Intel Xeon Processor (Skylake) (family: 0x6, model: 0x55, stepping: 0x4)
[    0.076194] Performance Events: unsupported p6 CPU model 85 no PMU driver, software events only.
[    0.077628] Hierarchical SRCU implementation.
[    0.079190] smp: Bringing up secondary CPUs ...
[    0.080576] x86: Booting SMP configuration:
[    0.081038] .... node  #0, CPUs:      #1
[    0.001000] kvm-clock: cpu 1, msr 0:3ff33041, secondary cpu clock
[    0.102117] KVM setup async PF for cpu 1
[    0.103000] kvm-stealtime: cpu 1, msr 3fd0d940
[    0.134045] smp: Brought up 1 node, 2 CPUs
[    0.135044] smpboot: Total of 2 processors activated (8779.38 BogoMIPS)
[    0.142046] devtmpfs: initialized
[    0.143107] x86/mm: Memory block size: 128MB
[    0.144360] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.145054] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.146209] pinctrl core: initialized pinctrl subsystem
[    0.148036] RTC time: 12:38:14, date: 01/07/21
[    0.149384] NET: Registered protocol family 16
[    0.150351] cpuidle: using governor menu
[    0.151040] PCCT header not found.
[    0.152911] ACPI: bus type PCI registered
[    0.153046] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.155157] PCI: Using configuration type 1 for base access
[    0.157549] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.181059] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.200168] ACPI: Added _OSI(Module Device)
[    0.217039] ACPI: Added _OSI(Processor Device)
[    0.232039] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.247039] ACPI: Added _OSI(Processor Aggregator Device)
[    0.269393] ACPI: Interpreter enabled
[    0.285054] ACPI: (supports S0 S5)
[    0.301040] ACPI: Using IOAPIC for interrupt routing
[    0.318067] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.357547] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.378051] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
[    0.400052] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.419065] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[    0.458822] acpiphp: Slot [3] registered
[    0.475243] acpiphp: Slot [4] registered
[    0.496236] acpiphp: Slot [5] registered
[    0.516257] acpiphp: Slot [6] registered
[    0.533201] acpiphp: Slot [7] registered
[    0.552243] acpiphp: Slot [8] registered
[    0.570198] acpiphp: Slot [9] registered
[    0.586203] acpiphp: Slot [10] registered
[    0.602187] acpiphp: Slot [11] registered
[    0.620226] acpiphp: Slot [12] registered
[    0.637221] acpiphp: Slot [13] registered
[    0.656178] acpiphp: Slot [14] registered
[    0.669191] acpiphp: Slot [15] registered
[    0.686186] acpiphp: Slot [16] registered
[    0.701194] acpiphp: Slot [17] registered
[    0.718198] acpiphp: Slot [18] registered
[    0.731198] acpiphp: Slot [19] registered
[    0.748196] acpiphp: Slot [20] registered
[    0.763229] acpiphp: Slot [21] registered
[    0.780187] acpiphp: Slot [22] registered
[    0.798217] acpiphp: Slot [23] registered
[    0.812213] acpiphp: Slot [24] registered
[    1.007213] acpiphp: Slot [25] registered
[    1.024194] acpiphp: Slot [26] registered
[    1.040247] acpiphp: Slot [27] registered
[    1.057252] acpiphp: Slot [28] registered
[    1.074191] acpiphp: Slot [29] registered
[    1.085214] acpiphp: Slot [30] registered
[    1.102185] acpiphp: Slot [31] registered
[    1.118204] PCI host bridge to bus 0000:00
[    1.135053] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    1.157045] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    1.178039] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    1.206066] pci_bus 0000:00: root bus resource [mem 0x40000000-0xfebfffff window]
[    1.236042] pci_bus 0000:00: root bus resource [mem 0x100000000-0x17fffffff window]
[    1.267050] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.311422] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    1.333037] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    1.352036] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    1.371036] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    1.402035] pci 0000:00:01.3: quirk: [io  0x0600-0x063f] claimed by PIIX4 ACPI
[    1.430173] pci 0000:00:01.3: quirk: [io  0x0700-0x070f] claimed by PIIX4 SMB
[    1.526057] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    1.545673] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    1.566651] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    1.586634] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    1.606397] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[    1.626000] ACPI: Enabled 2 GPEs in block 00 to 0F
[    1.647037] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    1.647037] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    1.700057] pci 0000:00:02.0: vgaarb: bridge control possible
[    1.719039] vgaarb: loaded
[    1.735952] SCSI subsystem initialized
[    1.753372] ACPI: bus type USB registered
[    1.770239] usbcore: registered new interface driver usbfs
[    1.789190] usbcore: registered new interface driver hub
[    1.804097] usbcore: registered new device driver usb
[    1.824282] EDAC MC: Ver: 3.0.0
[    1.827313] PCI: Using ACPI for IRQ routing
[    1.832041] NetLabel: Initializing
[    1.833036] NetLabel:  domain hash size = 128
[    1.834035] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.835190] NetLabel:  unlabeled traffic allowed by default
[    1.837051] clocksource: Switched to clocksource kvm-clock
[    1.884377] VFS: Disk quotas dquot_6.6.0
[    1.901646] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.926893] pnp: PnP ACPI init
[    1.944988] pnp: PnP ACPI: found 5 devices
[    1.970248] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    2.005198] NET: Registered protocol family 2
[    2.024924] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    2.048248] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    2.070341] TCP: Hash tables configured (established 8192 bind 8192)
[    2.092706] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    2.114005] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    2.136144] NET: Registered protocol family 1
[    2.154138] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    2.175005] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    2.195599] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    2.217546] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    2.251490] Unpacking initramfs...
[    2.559678] Freeing initrd memory: 12624K
[    2.581895] audit: initializing netlink subsys (disabled)
[    2.603321] Initialise system trusted keyrings
[    2.605927] audit: type=2000 audit(1610023094.554:1): state=initialized audit_enabled=0 res=1
[    2.657210] Key type blacklist registered
[    2.674862] workingset: timestamp_bits=36 max_order=18 bucket_order=0
[    2.698577] zbud: loaded
[    2.898481] NET: Registered protocol family 38
[    2.917624] Key type asymmetric registered
[    2.935832] Asymmetric key parser 'x509' registered
[    2.955545] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    2.989426] io scheduler noop registered
[    3.007449] io scheduler deadline registered
[    3.026386] io scheduler cfq registered (default)
[    3.045845] io scheduler mq-deadline registered
[    3.065082] atomic64_test: passed for x86-64 platform with CX8 and with SSE
[    3.098419] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    3.130298] ACPI: Power Button [PWRF]
[    3.148217] GHES: HEST is not enabled!
[    3.166391] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    3.232686] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    3.266564] Non-volatile memory driver v1.3
[    3.283687] Linux agpgart interface v0.103
[    3.307500] scsi host0: ata_piix
[    3.324556] scsi host1: ata_piix
[    3.340369] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc060 irq 14
[    3.363057] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc068 irq 15
[    3.386411] libphy: Fixed MDIO Bus: probed
[    3.405997] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.427762] ehci-pci: EHCI PCI platform driver
[    3.445803] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.467427] ohci-pci: OHCI PCI platform driver
[    3.485607] uhci_hcd: USB Universal Host Controller Interface driver
[    3.507458] usbcore: registered new interface driver usbserial
[    3.528567] usbcore: registered new interface driver usbserial_generic
[    3.552596] usbserial: USB Serial support registered for generic
[    3.573854] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    3.615893] serio: i8042 KBD port at 0x60,0x64 irq 1
[    3.635449] serio: i8042 AUX port at 0x60,0x64 irq 12
[    3.654895] mousedev: PS/2 mouse device common for all mice
[    3.676140] rtc_cmos 00:00: RTC can wake from S4
[    3.699671] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
[    3.722548] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[    3.756154] rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram
[    3.778916] device-mapper: uevent: version 1.0.3
[    3.797576] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[    3.831968] hidraw: raw HID events driver (C) Jiri Kosina
[    3.853326] usbcore: registered new interface driver usbhid
[    3.874594] usbhid: USB HID core driver
[    3.892394] drop_monitor: Initializing network drop monitor service
[    3.915751] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.916976] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input4
[    3.971242] Initializing XFRM netlink socket
[    3.989723] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input3
[    3.990138] NET: Registered protocol family 10
[    3.997231] Segment Routing with IPv6
[    3.997273] mip6: Mobile IPv6
[    3.997275] NET: Registered protocol family 17
[    4.095558] RAS: Correctable Errors collector initialized.
[    4.116581] AVX2 version of gcm_enc/dec engaged.
[    4.135562] AES CTR mode by8 optimization enabled
[    4.174453] registered taskstats version 1
[    4.192524] Loading compiled-in X.509 certificates
[    4.253420] Loaded X.509 cert 'Fedora kernel signing key: 7bf71b7aa6845adff2b1cf1f1968839d5134fb7e'
[    4.290170] zswap: loaded using pool lzo/zbud
[    4.315968] Key type big_key registered
[    4.337100] Key type encrypted registered
[    4.358899]   Magic number: 5:347:632
[    4.377000] rtc_cmos 00:00: setting system clock to 2021-01-07 12:38:19 UTC (1610023099)
[    4.446402] Freeing unused kernel memory: 2224K
[    4.464518] Write protecting the kernel read-only data: 14336k
[    4.514971] Freeing unused kernel memory: 1392K
[    4.533683] Freeing unused kernel memory: 336K
[    4.553326] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    4.575645] rodata_test: all tests were successful
[    4.641578] systemd[1]: systemd 234 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN default-hierarchy=hybrid)
[    4.705407] systemd[1]: Detected virtualization kvm.
[    4.724696] systemd[1]: Detected architecture x86-64.
[    4.743881] systemd[1]: Running in initial RAM disk.

Welcome to Fedora 27 (Twenty Seven) dracut-046-5.fc27 (Initramfs)!

[    4.770195] systemd[1]: Set hostname to <atest-guest>.
[    4.873156] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    4.899606] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    4.927426] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    4.968901] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[    4.993718] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Journal Socket.
         Starting Create list of required st…ce nodes for the current kernel...
         Starting Journal Service...
[  OK  ] Reached target Paths.
[  OK  ] Reached target Swap.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Reached target Slices.
         Starting Apply Kernel Variables...
[  OK  ] Reached target Timers.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started Journal Service.
[    5.139147] audit: type=1130 audit(1610023100.261:2): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
[    5.219379] audit: type=1130 audit(1610023100.342:3): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=kmod-static-nodes comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Started Create Volatile Files and Directories.
[    5.296168] audit: type=1130 audit(1610023100.419:4): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Started Apply Kernel Variables.
[    5.371848] audit: type=1130 audit(1610023100.494:5): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-sysctl comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Create Static Device Nodes in /dev.
[    5.455878] audit: type=1130 audit(1610023100.578:6): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-tmpfiles-setup-dev comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
[    5.734730] audit: type=1130 audit(1610023100.857:7): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-udevd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
         Starting udev Coldplug all Devices...
         Mounting Kernel Configuration File System...
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started udev Coldplug all Devices.
[    5.878760] audit: type=1130 audit(1610023101.001:8): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-udev-trigger comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
[  OK  ] Reached target System Initialization.
[    5.977974] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
[  OK  ] Reached target Basic System.
[    6.033903] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
[    6.150758] scsi host2: Virtio SCSI HBA
[    6.152950] scsi 2:0:0:0: Direct-Access     QEMU     QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
[    6.518649] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    6.520524] sd 2:0:0:0: [sda] 20971520 512-byte logical blocks: (10.7 GB/10.0 GiB)
[    6.520821] sd 2:0:0:0: [sda] Write Protect is off
[    6.521221] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    6.525505]  sda: sda1
[    6.526743] sd 2:0:0:0: [sda] Attached SCSI disk
[  OK  ] Found device QEMU_HARDDISK 1.
[  OK  ] Reached target Initrd Root Device.
         Starting File System Check on /dev/…b80-2653-4f9b-af33-4966d1045fe6...
[  OK  ] Started File System Check on /dev/d…19b80-2653-4f9b-af33-4966d1045fe6.
[    7.214583] audit: type=1130 audit(1610023102.337:9): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-fsck-root comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
         Mounting /sysroot...
[    7.293843] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[    7.293843] EXT4-fs (sda1): write access will be enabled during recovery
[    7.328147] EXT4-fs (sda1): orphan cleanup on readonly fs
[    7.329576] EXT4-fs (sda1): 4 orphan inodes deleted
[    7.329577] EXT4-fs (sda1): recovery complete
[    7.334264] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[  OK  ] Mounted /sysroot.
[  OK  ] Reached target Initrd Root File System.
         Starting Reload Configuration from the Real Root...
[  OK  ] Started Reload Configuration from the Real Root.
[    8.692957] audit: type=1130 audit(1610023103.815:10): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=initrd-parse-etc comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    8.757197] audit: type=1131 audit(1610023103.816:11): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=initrd-parse-etc comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Reached target Initrd File Systems.
[  OK  ] Reached target Initrd Default Target.
         Starting Cleaning Up and Shutting Down Daemons...
[  OK  ] Stopped target Remote File Systems.
[  OK  ] Stopped target Remote File Systems (Pre).
[  OK  ] Stopped target Timers.
[  OK  ] Stopped target Initrd Default Target.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Sockets.
[  OK  ] Stopped target System Initialization.
[  OK  ] Stopped target Swap.
[  OK  ] Stopped Apply Kernel Variables.
[    8.892540] audit: type=1130 audit(1610023104.015:12): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-sysctl comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    8.954711] audit: type=1131 audit(1610023104.019:13): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-sysctl comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Stopped udev Coldplug all Devices.
[    9.020962] audit: type=1130 audit(1610023104.121:14): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-udev-trigger comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Stopped Create Volatile Files and Directories.
[    9.085886] audit: type=1131 audit(1610023104.121:15): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-udev-trigger comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    9.085889] audit: type=1130 audit(1610023104.187:16): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    9.085891] audit: type=1131 audit(1610023104.187:17): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Stopped target Local File Systems.
         Stopping udev Kernel Device Manager...
[  OK  ] Stopped target Paths.
[  OK  ] Stopped Dispatch Password Requests to Console Directory Watch.
[  OK  ] Stopped target Slices.
[  OK  ] Stopped target Initrd Root Device.
[  OK  ] Stopped udev Kernel Device Manager.
[    9.359901] audit: type=1130 audit(1610023104.482:18): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-udevd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    9.422741] audit: type=1131 audit(1610023104.482:19): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-udevd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Started Cleaning Up and Shutting Down Daemons.
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Stopped Create list of required sta…vice nodes for the current kernel.
[  OK  ] Closed udev Control Socket.
[  OK  ] Closed udev Kernel Socket.
         Starting Cleanup udevd DB...
[  OK  ] Started Cleanup udevd DB.
[  OK  ] Reached target Switch Root.
         Starting Switch Root...
[    9.568522] systemd-journald[180]: Received SIGTERM from PID 1 (systemd).
[    9.609623] systemd: 13 output lines suppressed due to ratelimiting

Welcome to Fedora 27 (Twenty Seven)!

[  OK  ] Stopped Switch Root.
[  OK  ] Stopped Journal Service.
         Starting Journal Service...
         Mounting Huge Pages File System...
[  OK  ] Created slice User and Session Slice.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
         Starting Apply Kernel Variables...
         Starting Create list of required st…ce nodes for the current kernel...
[  OK  ] Listening on Process Core Dump Socket.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    9.967833] random: crng init done
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Stopped target Switch Root.
[  OK  ] Stopped target Initrd File Systems.
[  OK  ] Stopped File System Check on Root Device.
[  OK  ] Created slice system-sshd\x2dkeygen.slice.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Reached target Slices.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
         Mounting POSIX Message Queue File System...
[  OK  ] Reached target Swap.
[  OK  ] Set up automount Arbitrary Executab…rmats File System Automount Point.
[  OK  ] Listening on udev Control Socket.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Stopped target Initrd Root File System.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Local Encrypted Volumes.
         Mounting Kernel Debug File System...
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Huge Pages File System.
[   10.111592] EXT4-fs (sda1): re-mounted. Opts: (null)
[  OK  ] Started Journal Service.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Configure read-only root support...
         Starting udev Coldplug all Devices...
         Starting Create Static Device Nodes in /dev...
         Starting Flush Journal to Persistent Storage...
[   10.264401] systemd-journald[270]: Received request to flush runtime journal from PID 1
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Configure read-only root support.
         Starting Load/Save Random Seed...
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
[   10.349212] systemd-journald[270]: File /var/log/journal/e3f07d0fa43d462e9c9d162e6b1fda1a/system.journal corrupted or uncleanly shut down, renaming and replacing.
         Starting Restore /run/initramfs on shutdown...
         Starting udev Kernel Device Manager...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Restore /run/initramfs on shutdown.
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on SSSD Secrets Service responder socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on SSSD Kerberos Cache Manager responder socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started dnf makecache timer.
[  OK  ] Reached target Basic System.
         Starting System Security Services Daemon...
         Starting NTP client/server...
[  OK  ] Started D-Bus System Message Bus.
         Starting firewalld - dynamic firewall daemon...
[  OK  ] Reached target Timers.
[  OK  ] Reached target sshd-keygen.target.
[  OK  [   10.863741] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0x700, revision 0
] Found device /dev/ttyS0.
[  OK  ] Started NTP client/server.
[   11.084122] ppdev: user-space parallel port driver
[   11.188634] virtio_net virtio1 ens4: renamed from eth0
[   11.259005] [drm] Found bochs VGA, ID 0xb0c0.
[   11.286207] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000.
[   11.310884] [TTM] Zone  kernel: Available graphics memory: 506700 kiB
[   11.333971] [TTM] Initializing pool allocator
[   11.352299] [TTM] Initializing DMA pool allocator
[   12.559100] fbcon: bochsdrmfb (fb0) is primary device
[   12.794669] Console: switching to colour frame buffer device 128x48
[  OK  ] [   12.817394] bochs-drm 0000:00:02.0: fb0: bochsdrmfb frame buffer device
Started System Security Services Daemon.
[   12.862868] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0
[  OK  ] Reached target User and Group Name Lookups.
         Starting Login Service...
[  OK  ] Started firewalld - dynamic firewall daemon.
[  OK  ] Reached target Network (Pre).
         Starting Network Manager...
[  OK  ] Started Login Service.
[   13.133423] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   13.246812] Ebtables v2.0 registered
[  OK  ] Started Network Manager.
[  OK  ] Reached target Network.
         Starting OpenSSH server daemon...
         Starting Permit User Sessions...
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Network Manager Script Dispatcher Service.
[   13.452716] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[  OK  ] Started OpenSSH server daemon.
         Starting Hostname Service...
[  OK  ] Reached target Multi-User System.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.
[  OK  ] Started Hostname Service.
[   13.588322] IPv6: ADDRCONF(NETDEV_UP): ens4: link is not ready
[   13.708151] kauditd_printk_skb: 67 callbacks suppressed
[   13.708152] audit: type=1325 audit(1610023108.825:73): table=mangle family=10 entries=0
[   13.737313] audit: type=1300 audit(1610023108.825:73): arch=c000003e syscall=175 success=yes exit=0 a0=558ed9033730 a1=1c1b a2=558ed7f0f85c a3=558ed902f010 items=0 ppid=55 pid=407 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="modprobe" exe="/usr/bin/kmod" subj=kernel key=(null)
[   13.789509] audit: type=1327 audit(1610023108.825:73): proctitle=2F7362696E2F6D6F6470726F6265002D71002D2D006970367461626C655F6D616E676C65
[   13.827413] audit: type=1325 audit(1610023108.946:74): table=nat family=10 entries=0
[   13.842333] audit: type=1300 audit(1610023108.946:74): arch=c000003e syscall=175 success=yes exit=0 a0=55f1d48b7310 a1=1d5b a2=55f1d2b6785c a3=55f1d48b1010 items=0 ppid=55 pid=419 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="modprobe" exe="/usr/bin/kmod" subj=kernel key=(null)
[   13.891508] audit: type=1327 audit(1610023108.946:74): proctitle=2F7362696E2F6D6F6470726F6265002D71002D2D006970367461626C655F6E6174
[   13.949285] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[   14.003682] audit: type=1130 audit(1610023109.126:75): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=polkit comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   14.076432] Netfilter messages via NETLINK v0.30.
[   14.090341] ip_set: protocol 6
[   14.338288] audit: type=1325 audit(1610023109.460:76): table=nat family=2 entries=5
[   14.351106] audit: type=1300 audit(1610023109.460:76): arch=c000003e syscall=54 success=yes exit=0 a0=3 a1=0 a2=40 a3=564f41b79ce0 items=0 ppid=312 pid=479 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables-restor" exe="/usr/sbin/xtables-multi" subj=kernel key=(null)
[   14.397127] audit: type=1327 audit(1610023109.460:76): proctitle=2F7573722F7362696E2F69707461626C65732D726573746F7265002D2D776169743D32002D6E

Fedora 27 (Twenty Seven)
Kernel 4.13.9-300.fc27.x86_64 on an x86_64 (ttyS0)

Fedora 27 (Twenty Seven)
Kernel 4.13.9-300.fc27.x86_64 on an x86_64 (ttyS0)

atest-guest login: root
Password: 
[root@atest-guest ~]# 
[root@atest-guest ~]# 
[root@atest-guest ~]# 
[root@atest-guest ~]# ifconfig -a
ens4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.122.7  netmask 255.255.255.0  broadcast 192.168.122.255
        inet6 fe80::9817:77ff:fee4:9003  prefixlen 64  scopeid 0x20<link>
        ether 9a:17:77:e4:90:03  txqueuelen 1000  (Ethernet)
        RX packets 93  bytes 18126 (17.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 115  bytes 10518 (10.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@atest-guest ~]# 
[root@atest-guest ~]# 

 

e1000

/usr/libexec/qemu-kvm \
    -name 'avocado-vt-vm1' \
    -machine pc  \
    -nodefaults \
    -device VGA,bus=pci.0,addr=0x2 \
    -m 1024  \
    -smp 2,maxcpus=2,cores=1,threads=1,sockets=2  \
    -cpu 'Skylake-Server' \
    -device pvpanic,ioport=0x505,id=idYFvNIW \
    -device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pci.0,addr=0x3 \
    -blockdev node-name=file_image1,driver=file,filename=/var/lib/avocado/data/avocado-vt/images/jeos-27-x86_64.qcow2 \
    -blockdev node-name=drive_image1,driver=qcow2,file=file_image1 \
    -device scsi-hd,id=image1,drive=drive_image1 \
    -device e1000,mac=9a:17:77:e4:90:00,id=idDRONps,netdev=id1N5jLZ,bus=pci.0,addr=0x4  \
    -netdev tap,id=id1N5jLZ,script=/etc/qemu-ifup  \
    -vnc :0  \
    -rtc base=utc,clock=host  \
    -boot menu=off,strict=off,order=cdn,once=c \
    -enable-kvm \
    -d int -serial stdio


e1000e

/usr/libexec/qemu-kvm \
    -name 'avocado-vt-vm1' \
    -machine pc  \
    -nodefaults \
    -device VGA,bus=pci.0,addr=0x2 \
    -m 1024  \
    -smp 2,maxcpus=2,cores=1,threads=1,sockets=2  \
    -cpu 'Skylake-Server' \
    -device pvpanic,ioport=0x505,id=idYFvNIW \
    -device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pci.0,addr=0x3 \
    -blockdev node-name=file_image1,driver=file,filename=/var/lib/avocado/data/avocado-vt/images/jeos-27-x86_64.qcow2 \
    -blockdev node-name=drive_image1,driver=qcow2,file=file_image1 \
    -device scsi-hd,id=image1,drive=drive_image1 \
    -device e1000e,mac=9a:17:77:e4:90:01,id=idDRONps,netdev=id1N5jLZ,bus=pci.0,addr=0x4  \
    -netdev tap,id=id1N5jLZ,script=/etc/qemu-ifup  \
    -vnc :0  \
    -rtc base=utc,clock=host  \
    -boot menu=off,strict=off,order=cdn,once=c \
    -enable-kvm \
    -d int -serial stdio


 

rtl8139

/usr/libexec/qemu-kvm \
    -name 'avocado-vt-vm1' \
    -machine pc  \
    -nodefaults \
    -device VGA,bus=pci.0,addr=0x2 \
    -m 1024  \
    -smp 2,maxcpus=2,cores=1,threads=1,sockets=2  \
    -cpu 'Skylake-Server' \
    -device pvpanic,ioport=0x505,id=idYFvNIW \
    -device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pci.0,addr=0x3 \
    -blockdev node-name=file_image1,driver=file,filename=/var/lib/avocado/data/avocado-vt/images/jeos-27-x86_64.qcow2 \
    -blockdev node-name=drive_image1,driver=qcow2,file=file_image1 \
    -device scsi-hd,id=image1,drive=drive_image1 \
    -device rtl8139,mac=9a:17:77:e4:90:02,id=idDRONps,netdev=id1N5jLZ,bus=pci.0,addr=0x4  \
    -netdev tap,id=id1N5jLZ,script=/etc/qemu-ifup  \
    -vnc :0  \
    -rtc base=utc,clock=host  \
    -boot menu=off,strict=off,order=cdn,once=c \
    -enable-kvm \
    -d int -serial stdio

 

 

 

标签:audit,systemd,virtio,OK,target,0.000000,registered,kvm,e1000e
来源: https://blog.csdn.net/wozaiyizhideng/article/details/112336223