mirror of https://gitee.com/openkylin/qemu.git
hw/remote/proxy: Categorize Wireless devices as 'Network' ones
QEMU doesn't distinct network devices per link layer (Ethernet, Wi-Fi, CAN, ...). Categorize PCI Wireless cards as Network devices. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Jagannathan Raman <jag.raman@oracle.com> Message-Id: <20210926201926.1690896-1-f4bug@amsat.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
196fb7ac7c
commit
daf0db0630
|
@ -324,6 +324,7 @@ static void probe_pci_info(PCIDevice *dev, Error **errp)
|
|||
set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
|
||||
break;
|
||||
case PCI_BASE_CLASS_NETWORK:
|
||||
case PCI_BASE_CLASS_WIRELESS:
|
||||
set_bit(DEVICE_CATEGORY_NETWORK, dc->categories);
|
||||
break;
|
||||
case PCI_BASE_CLASS_INPUT:
|
||||
|
|
Loading…
Reference in New Issue