Ce contenu n'est pas disponible dans la langue sélectionnée.
19.6. Device Options
This section provides information about device options.
General Device
-device <driver>[,<prop>[=<value>][,...]]
All drivers support following properties
- id
- bus
Following drivers are supported (with available properties):
- pci-assign
- host
- bootindex
- configfd
- addr
- rombar
- romfile
- multifunction
If the device has multiple functions, all of them need to be assigned to the same guest. - rtl8139
- mac
- netdev
- bootindex
- addr
- e1000
- mac
- netdev
- bootindex
- addr
- virtio-net-pci
- ioeventfd
- vectors
- indirect
- event_idx
- csum
- guest_csum
- gso
- guest_tso4
- guest_tso6
- guest_ecn
- guest_ufo
- host_tso4
- host_tso6
- host_ecn
- host_ufo
- mrg_rxbuf
- status
- ctrl_vq
- ctrl_rx
- ctrl_vlan
- ctrl_rx_extra
- mac
- netdev
- bootindex
- x-txtimer
- x-txburst
- tx
- addr
- qxl
- ram_size
- vram_size
- revision
- cmdlog
- addr
- ide-drive
- unit
- drive
- physical_block_size
- bootindex
- ver
- wwn
- virtio-blk-pci
- class
- drive
- logical_block_size
- physical_block_size
- min_io_size
- opt_io_size
- bootindex
- ioeventfd
- vectors
- indirect_desc
- event_idx
- scsi
- addr
- virtio-scsi-pci - Technology Preview in 6.3, supported since 6.4.For Windows guests, Windows Server 2003, which was Technology Preview, is no longer supported since 6.5. However, Windows Server 2008 and 2012, and Windows desktop 7 and 8 are fully supported since 6.5.
- vectors
- indirect_desc
- event_idx
- num_queues
- addr
- isa-debugcon
- isa-serial
- index
- iobase
- irq
- chardev
- virtserialport
- nr
- chardev
- name
- virtconsole
- nr
- chardev
- name
- virtio-serial-pci
- vectors
- class
- indirect_desc
- event_idx
- max_ports
- flow_control
- addr
- ES1370
- addr
- AC97
- addr
- intel-hda
- addr
- hda-duplex
- cad
- hda-micro
- cad
- hda-output
- cad
- i6300esb
- addr
- ib700 - no properties
- sga - no properties
- virtio-balloon-pci
- indirect_desc
- event_idx
- addr
- usb-tablet
- migrate
- port
- usb-kbd
- migrate
- port
- usb-mouse
- migrate
- port
- usb-ccid - supported since 6.2
- port
- slot
- usb-host - Technology Preview since 6.2
- hostbus
- hostaddr
- hostport
- vendorid
- productid
- isobufs
- port
- usb-hub - supported since 6.2
- port
- usb-ehci - Technology Preview since 6.2
- freq
- maxframes
- port
- usb-storage - Technology Preview since 6.2
- drive
- bootindex
- serial
- removable
- port
- usb-redir - Technology Preview for 6.3, supported since 6.4
- chardev
- filter
- scsi-cd - Technology Preview for 6.3, supported since 6.4
- drive
- logical_block_size
- physical_block_size
- min_io_size
- opt_io_size
- bootindex
- ver
- serial
- scsi-id
- lun
- channel-scsi
- wwn
- scsi-hd -Technology Preview for 6.3, supported since 6.4
- drive
- logical_block_size
- physical_block_size
- min_io_size
- opt_io_size
- bootindex
- ver
- serial
- scsi-id
- lun
- channel-scsi
- wwn
- scsi-block -Technology Preview for 6.3, supported since 6.4
- drive
- bootindex
- scsi-disk -Technology Preview for 6.3
- drive=drive
- logical_block_size
- physical_block_size
- min_io_size
- opt_io_size
- bootindex
- ver
- serial
- scsi-id
- lun
- channel-scsi
- wwn
- piix3-usb-uhci
- piix4-usb-uhci
- ccid-card-passthru
Global Device Setting
-global <device>.<property>=<value>
Supported devices and properties as in "General device" section with these additional devices:
- isa-fdc
- driveA
- driveB
- bootindexA
- bootindexB
- qxl-vga
- ram_size
- vram_size
- revision
- cmdlog
- addr
Character Device
-chardev back end,id=<id>[,<options>]
Supported back ends are:
- null,id=<id> - null device
- socket,id=<id>,port=<port>[,host=<host>][,to=<to>][,ipv4][,ipv6][,nodelay][,server][,nowait][,telnet] - tcp socket
- socket,id=<id>,path=<path>[,server][,nowait][,telnet] - unix socket
- file,id=<id>,path=<path> - trafit to file.
- stdio,id=<id> - standard i/o
- spicevmc,id=<id>,name=<name> - spice channel
Enable USB
-usb