qemuxml2argv-virtio-rng-random.args 461 字节
Newer Older
1 2 3 4 5 6
LC_ALL=C \
PATH=/bin \
HOME=/home/test \
USER=test \
LOGNAME=test \
QEMU_AUDIO_DRV=none \
7
/usr/bin/qemu \
8
-name QEMUGuest1 \
9 10 11 12 13 14 15 16 17 18
-S \
-M pc \
-m 214 \
-smp 1 \
-nographic \
-nodefaults \
-monitor unix:/tmp/test-monitor,server,nowait \
-no-acpi \
-boot c \
-usb \
19
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 \
20
-object rng-random,id=objrng0,filename=/dev/hwrng \
21 22
-device virtio-rng-pci,rng=objrng0,id=rng0,max-bytes=123,period=1234,bus=pci.0,\
addr=0x4