summaryrefslogtreecommitdiffstats
path: root/hw/remote
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-09-26 22:19:26 +0200
committerLaurent Vivier2021-10-04 09:47:26 +0200
commitdaf0db06308b55c518312abc39a4bf74413ac007 (patch)
tree98dfb985ce78eeac1ad34d7fc580c1539ac7ea9c /hw/remote
parenttarget/sh4: Use lookup_symbol in sh4_tr_disas_log (diff)
downloadqemu-daf0db06308b55c518312abc39a4bf74413ac007.tar.gz
qemu-daf0db06308b55c518312abc39a4bf74413ac007.tar.xz
qemu-daf0db06308b55c518312abc39a4bf74413ac007.zip
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>
Diffstat (limited to 'hw/remote')
-rw-r--r--hw/remote/proxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/remote/proxy.c b/hw/remote/proxy.c
index 499f540c94..bad164299d 100644
--- a/hw/remote/proxy.c
+++ b/hw/remote/proxy.c
@@ -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: