usb-hub: make number of ports runtime-configurable
commit9d84bb001c2c99aa1df3f32a529c1fa3e3afb39d
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 24 May 2019 07:03:07 +0000 (24 09:03 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 29 May 2019 05:04:05 +0000 (29 07:04 +0200)
tree7dfa594a0be3c5d0edfa845ae4ee939190d4183f
parentbdb88a8e120e6b5eca5d3a19f5f8f1b76fa64453
usb-hub: make number of ports runtime-configurable

Add num_ports property which allows configure the number of downstream
ports.  Valid range is 1-8, default is 8.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20190524070310.4952-3-kraxel@redhat.com
hw/usb/dev-hub.c