@@ -125,12 +125,7 @@ The -device argument differs in detail for each type of drive:
125
125
126
126
* if=pflash, if=mtd, if=sd, if=xen are not yet available with -device
127
127
128
- For USB devices, the old way is actually different:
129
-
130
- -usbdevice disk:format=FMT:FILENAME
131
-
132
- Provides much less control than -drive's OPTS... The new way fixes
133
- that:
128
+ For USB storage devices, you can use something like:
134
129
135
130
-device usb-storage,drive=DRIVE-ID,removable=RMB
136
131
@@ -177,8 +172,6 @@ The appropriate DEVNAME depends on the machine type. For type "pc":
177
172
178
173
This lets you control I/O ports and IRQs.
179
174
180
- * -usbdevice serial::chardev becomes -device usb-serial,chardev=dev.
181
-
182
175
* -usbdevice braille doesn't support LEGACY-CHARDEV syntax. It always
183
176
uses "braille". With -device, this useful default is gone, so you
184
177
have to use something like
@@ -238,10 +231,6 @@ The old way to define the guest part looks like this:
238
231
239
232
-net nic,netdev=NET-ID,macaddr=MACADDR,model=MODEL,name=ID,addr=STR,vectors=V
240
233
241
- Except for USB it looks like this:
242
-
243
- -usbdevice net:netdev=NET-ID,macaddr=MACADDR,name=ID
244
-
245
234
The new way is -device:
246
235
247
236
-device DEVNAME,netdev=NET-ID,mac=MACADDR,DEV-OPTS...
@@ -336,12 +325,7 @@ The new way is -device DEVNAME,DEV-OPTS... Details depend on DRIVER:
336
325
* mouse -device usb-mouse
337
326
* tablet -device usb-tablet
338
327
* wacom-tablet -device usb-wacom-tablet
339
- * host:... See "Host Device Assignment"
340
- * disk:... See "Block Devices"
341
- * serial:... See "Character Devices"
342
328
* braille See "Character Devices"
343
- * net:... See "Network Devices"
344
- * bt:... not yet available with -device
345
329
346
330
=== Watchdog Devices ===
347
331
@@ -358,17 +342,11 @@ and host USB devices. PCI devices can only be assigned with -device:
358
342
359
343
-device vfio-pci,host=ADDR,id=ID
360
344
361
- The old way to assign a host USB device is
362
-
363
- -usbdevice host:auto:BUS.ADDR:VID:PRID
364
-
365
- where any of BUS, ADDR, VID, PRID can be the wildcard *.
366
-
367
- The new way is
345
+ To assign a host USB device use:
368
346
369
347
-device usb-host,hostbus=BUS,hostaddr=ADDR,vendorid=VID,productid=PRID
370
348
371
- Omitted options match anything, just like the old way's wildcard .
349
+ Omitted options match anything.
372
350
373
351
=== Default Devices ===
374
352
0 commit comments