qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need help understanding the devices concepts


From: X Tec
Subject: Need help understanding the devices concepts
Date: Thu, 1 Sep 2022 12:08:57 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

Hello.

I have lines such as these ones:
-drive file=path/win10.qcow2,index=0,media=disk,format=qcow2,id=disk1,if=none 
-device virtio-blk-pci,drive=disk1,bootindex=1 \
-device qemu-xhci,id=xhci2 -device 
usb-host,bus=xhci2.0,vendorid=0xAAAA,productid=0xBBBB,bootindex=2 \
-audiodev spice,id=audio1 -device ich9-intel-hda -device 
hda-output,audiodev=audio1 \
-netdev tap,id=n1,br=br0,helper=/usr/lib/qemu-bridge-helper -device 
virtio-net-pci,netdev=n1,mac=52:54:00:xx:yy:zz \
-device qemu-xhci,id=xhci1 -chardev spicevmc,name=usbredir,id=usbredirchardev1 
-device usb-redir,chardev=usbredirchardev1,id=usbredirdev1 \
[...]

Not sure if I'm able to explain myself, but I'd like to understand the overall 
logic behind what I'm trying to do here. I already read the manual and docs, 
but still struggling...

I mean, when I use -audiodev, -netdev, or any other -*dev, how is this called? 
Adding/defining a "device", "driver", "interface", "port", "whatever"? And the 
exact same question when I follow the -*dev with the corresponding -device or 
-chardev options where the -*dev is plugged/connected to.

Also, if things such as -netdev, -device, -drive are called "options", then 
would things such as id=,if=,index= be called "parameters"?

Thanks beforehand for your attention.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]