Lines Matching +full:event +full:- +full:tap
8 designed for short-lived guests. microvm also establishes a baseline
14 -----------------
18 - ISA bus
19 - i8259 PIC (optional)
20 - i8254 PIT (optional)
21 - MC146818 RTC (optional)
22 - One ISA serial port (optional)
23 - LAPIC
24 - IOAPIC (with kernel-irqchip=split by default)
25 - kvmclock (if using KVM)
26 - fw_cfg
27 - Up to eight virtio-mmio devices (configured by the user)
31 -----------
35 - PCI-only devices.
36 - Hotplug of any kind.
37 - Live migration across QEMU versions.
41 ------------------------------
43 Machine-specific options
46 It supports the following machine-specific options:
48 - microvm.x-option-roms=bool (Set off to disable loading option ROMs)
49 - microvm.pit=OnOffAuto (Enable i8254 PIT)
50 - microvm.isa-serial=bool (Set off to disable the instantiation an ISA serial port)
51 - microvm.pic=OnOffAuto (Enable i8259 PIC)
52 - microvm.rtc=OnOffAuto (Enable MC146818 RTC)
53 - microvm.auto-kernel-cmdline=bool (Set off to disable adding virtio-mmio devices to the kernel cmd…
63 ``virtio-mmio`` as its transport, a microvm-based VM needs to be run
64 using a host-side kernel and, optionally, an initrd image.
67 Running a microvm-based VM
71 legacy and non-legacy devices. In this example, a VM is created
72 without passing any additional machine-specific option, using the
75 $ qemu-system-x86_64 -M microvm \
76 -enable-kvm -cpu host -m 512m -smp 2 \
77 -kernel vmlinux -append "earlyprintk=ttyS0 console=ttyS0 root=/dev/vda" \
78 -nodefaults -no-user-config -nographic \
79 -serial stdio \
80 -drive id=test,file=test.img,format=raw,if=none \
81 -device virtio-blk-device,drive=test \
82 -netdev tap,id=tap0,script=no,downscript=no \
83 -device virtio-net-device,netdev=tap0
96 $ qemu-system-x86_64 \
97 -M microvm,x-option-roms=off,pit=off,pic=off,isa-serial=off,rtc=off \
98 -enable-kvm -cpu host -m 512m -smp 2 \
99 -kernel vmlinux -append "console=hvc0 root=/dev/vda" \
100 -nodefaults -no-user-config -nographic \
101 -chardev stdio,id=virtiocon0 \
102 -device virtio-serial-device \
103 -device virtconsole,chardev=virtiocon0 \
104 -drive id=test,file=test.img,format=raw,if=none \
105 -device virtio-blk-device,drive=test \
106 -netdev tap,id=tap0,script=no,downscript=no \
107 -device virtio-net-device,netdev=tap0
110 Triggering a guest-initiated shut down
118 The recommended way to trigger a guest-initiated shut down is by
119 generating a ``triple-fault``, which will cause the VM to initiate a
120 reboot. Additionally, if the ``-no-reboot`` argument is present in the
121 command line, QEMU will detect this event and terminate its own
127 to try the triple-fault mechanism first, by adding ``reboot=t`` to the