mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 16:15:23 +00:00
bf182078d9
Automatically assign addresses to USB devices. Just like reserving, this is only done for newly defined domains. https://bugzilla.redhat.com/show_bug.cgi?id=1215968
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/home/test \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
QEMU_AUDIO_DRV=spice \
|
|
/usr/bin/qemu-kvm \
|
|
-name f14 \
|
|
-S \
|
|
-M pc \
|
|
-cpu core2duo,+ds,+acpi,+ss,+ht,+tm,+pbe,+ds_cpl,+vmx,+est,+tm2,+cx16,+xtpr,\
|
|
+lahf_lm \
|
|
-m 1024 \
|
|
-smp 2,sockets=1,cores=2,threads=1 \
|
|
-uuid 553effab-b5e1-2d80-dfe3-da4344826c43 \
|
|
-nodefaults \
|
|
-monitor unix:/tmp/lib/domain--1-f14/monitor.sock,server,nowait \
|
|
-boot dc \
|
|
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 \
|
|
-usb \
|
|
-drive file=/var/lib/libvirt/images/f14.img,format=qcow2,if=none,\
|
|
id=drive-virtio-disk0 \
|
|
-device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\
|
|
id=virtio-disk0 \
|
|
-drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,format=raw,if=none,\
|
|
media=cdrom,id=drive-ide0-1-0,readonly=on \
|
|
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
|
|
-device rtl8139,vlan=0,id=net0,mac=52:54:00:71:70:89,bus=pci.0,addr=0x7 \
|
|
-net tap,fd=3,vlan=0,name=hostnet0 \
|
|
-serial pty \
|
|
-device usb-tablet,id=input0,bus=usb.0,port=1 \
|
|
-spice port=5900,addr=127.0.0.1 \
|
|
-vga std \
|
|
-device AC97,id=sound0,bus=pci.0,addr=0x3 \
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
|